[android-porting] Re: MIPS toolchain for droid

2009-03-27 Thread David Turner
On Fri, Mar 27, 2009 at 9:04 AM, zhou wrote: > > Can anybody share some knowledges about the toolchain? > Looks like it is based on the gcc 4.2.1. > I have tried to diff it against the standard gcc-4.2.1 release, but > get an farely large patch > > What are the main changes and their purpose?

[android-porting] Re: MIPS toolchain for droid

2009-03-29 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 AM,

[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.

[android-porting] Re: MIPS toolchain for droid

2009-03-31 Thread zhou
Thanks a lot! Already started from bionic Looks like that many arch-dependent (but non-kernel) headers of bionic are extracted from the sys/arch/arm ... of Open BSD and Net BSD.. Trying to do the same job for mips. Sadly the source code fo mips32 Open BSD is no longer available on the offici

[android-porting] Re: MIPS toolchain for droid

2009-03-31 Thread adik liu
Dear all.. I have a similar question. After u build a MIPS kernel image, do u need a android rootfs for MIPS ? Because the system type of android rootfs is for ARM. 2009/3/31 zhou > > Thanks a lot! > > Already started from bionic > > Looks like that many arch-dependent (but non-kernel) hea