[android-porting] Re: MIPS toolchain for droid

2009-03-30 Thread Peter McDermott
David, Do you expect the Dalvik VM would need modifications for MIPS? If so, would it be similar to the changes necessary for bionic (replace some ARM assembler functions/macros with MIPS assembler functions/macros) or would it be more involved? Thanks, Peter On Mar 28, 2009, at 1:19

[android-porting] Socket Binding Error-98

2009-03-30 Thread Anil
Hi, I have defiend a dameon which I have invoked from init.rc. This daemon wait on socket. -init.rc code service myserviced system/bin/myserviced user root oneshot - Every time I flash the image, the first time I am able to bind to the socket. But on restart,

[android-porting] Camera HAL Crashes in android running on beagle

2009-03-30 Thread Harishkumar V
Hi, I have android running on beagle. I added camera hal in framework/base/camera/libcameraservice to use it instead of fake camera. The camera is getting detected and cameraservice is opening it. I am using Camera.apk default comes with the android build, when building the source. when i

[android-porting] Re: MIPS toolchain for droid

2009-03-30 Thread David Turner
The Dalvik VM has a portable interpreter written in C that should work on MIPS (it also includes assembly versions of the interpreter for ARM and x86 for better performance but these are optional). There may be a need to add a small MIPS-specific assembly fragment to support VM - native calls. I

[android-porting] WiFi Support on G1 device

2009-03-30 Thread Yogi
Hi All, I am using the open source android released version 1.0. I want to access WiFi on my G1 device, but when i flashed the system image and tried to access the WiFi, it is not working. Is G1 device with android 1.0 system image supports WiFi? If yes, Do i need to set something to support

[android-porting] Source Contibutions - was Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-03-30 Thread Iuri Fiedoruk
Hello, I have a question, that maybe is dumb, and sorry it this is a little off-topic I know a lot of people are working to port android to various devices, enabling more drivers, options and tools like alsa. The thing that bothers me is: are those modifications making into the android source tree

[android-porting] how to make multiple .so files from one Android.mk

2009-03-30 Thread jerryfan2000
Hi, Can I build more than one module from single Android.mk? e.g writing more than one local_module in Android.mk ? Thanks --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: how to make multiple .so files from one Android.mk

2009-03-30 Thread David Turner
Yes, you can, you the following: - define LOCAL_PATH *once* at the start of the Android.mk, e.g.: LOCAL_PATH := $(call my-dir) - to start a module, use CLEAR_VARS to clear all global variables related to module-specific definitions include $(CLEAR_VARS) - define your module's variable (e.g.

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-03-30 Thread Brian
I made a bit more progress. In system/core/mountd/Android.mk, #disabled - we are using vold now instead #include $(BUILD_EXECUTABLE) So, mountd is not compiled and is not included, but init.rc still uses mountd instead of vold. The code base's changing. I compiled mountd and added it to

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-03-30 Thread Jerry Fan
Hi Brian, How did you compile your i915? Did you just copy i915.ko from somewhere else, becasue I see some version problem. In addition, I didn't see any CONFIG_i915 stuff in your .config. So, if you copied i915 from somewhere else, u need to make sure module magic number matches the magic number

[android-porting] Re: Tearing issue with OpenGL

2009-03-30 Thread arden....@gmail.com
Hi, I am assuming you are working on ARM, and the vsync is edge triggered. Looks like your vsync is trigged at a constant rate. In kernel, it will re-trigger the interrupt in resend.c right after enable_irq. So, you may encounter tearing because of this. (At this case, it is not real hardware

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-03-30 Thread Jerry Fan
Hi Brian, just type modinfo /path/to/anymodule.ko compare modinfo output on any kernel ko files in your Android kernel against i915 from eeepc. In modinfo output, u will read vermagic at last line. You need to make sure every protperty in i915 vermagic matches vermagic in your android kernel. Any

[android-porting] Re: cupcake error on start Phone application

2009-03-30 Thread Jean-Baptiste Queru
Do you have an actual crash? A number of errors are logged because some Google-specific components are missing, which should be made a lot less verbose and a lot less severe, and that might be what you're seeing. JBQ On Mon, Mar 30, 2009 at 5:18 AM, Michael Trimarchi trimar...@gandalf.sssup.it

[android-porting] Re: Dalvik VM init failed (check log file)

2009-03-30 Thread fadden
On Mar 30, 8:57 am, Anand Android android.an...@gmail.com wrote: I am able to proceed swapMap() function by fixing an endian issue in that function. Fix: pMap-size has to be converted to big-endian before assigning it to count variable. Aha, something like: 365c365 u4 count =

[android-porting] Re: Outstanding cupcake - master merge

2009-03-30 Thread Brian
Hi JBQ, Have you also tested the compilation of cupcake x86 eee pc? The repository I downloaded about a week ago compiles, but the latest ones (I downloaded a few days ago and today) do not compile. I'm getting the following error. What can be a quick fix? Thanks, Brian Copy:

[android-porting] Re: Outstanding cupcake - master merge

2009-03-30 Thread Brian
Thanks, JBQ. For now, I'd like to get some old android repository. For example, I want to get the March-23-2009 snapshot of the git repository. How can I do it with repo/git? Thanks, Brian On Mar 30, 6:01 pm, Jean-Baptiste Queru j...@android.com wrote: I most definitely haven't tested it.

[android-porting] Re: Outstanding cupcake - master merge

2009-03-30 Thread Jean-Baptiste Queru
You need to find someone who has a source tree in that state, have them execute repo manifest -r - and send you the output. JBQ On Mon, Mar 30, 2009 at 6:06 PM, Brian bgc...@gmail.com wrote: Thanks, JBQ. For now, I'd like to get some old android repository. For example, I want to get the

[android-porting] Re: Error in Android Build external/opencore/android/playerdriver.cpp:1167: error: 'mMemBase' was not declared in this scope

2009-03-30 Thread AKIRA
Hi I have same error, too. 1. external/opencore/Android.mk PV_CFLAGS := -Wno-non-virtual-dtor -DENABLE_MEMORY_PLAYBACK - D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 - DUSE_CML2_CONFIG --- delete DENABLE_MEMORY_PLAYBACK 2.

[android-porting] how to test bluetooth handset/handsfree without phone module

2009-03-30 Thread katherine
Hi, I'm going to test the bluetooth handset/handsfree on my platform, but I don't have the phone module. Any one did such kind of test? Thanks a lot in advance! --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website:

[android-porting] porting android to omap3 evm

2009-03-30 Thread jennifer
I run the kernel with the follow information in the terminal: OMAP3EVM # bootm ## Booting image at 8000 ... Image Name: Linux-2.6.27-omap1-05240-g88b76d Image Type: ARM Linux Kernel Image (uncompressed) Data Size:1752600 Bytes = 1.7 MB Load Address: 80008000 Entry

[android-porting] Re: compilation rules for ARMv6

2009-03-30 Thread Manish Sharma
Hi Fadden, No! it is working fine with the current rules. Still I would like to use armv6 compilation rules. Regards, MS On Tue, Mar 31, 2009 at 1:14 AM, fadden fad...@android.com wrote: On Mar 27, 11:30 pm, Manish Sharma manishsharm...@gmail.com wrote: I have got information from this