Porting the C library to a new CPU architecture requires at the very minimum the following:
- modify SYSCALLS.TXT to include the MIPS-specific Linux kernel syscalls - modify bionic/libc/tools/gensyscalls.py to add MIPS-specific assembly fragments for the syscall stub generator - probably modify bionic/libc/tools/checksyscalls.py to support MIPS as well - a set of Linux kernel that should be placed into bionic/libc/kernel/original. *Please* read the docs in bionic/libc/kernel/ to understand what this means - modify bionic/libc/kernel-tools/default.py to support MIPS as well - re-generate cleaned-up kernel headers through bionic/libc/kernel/tools/update-all.py - re-generate MIPS-specific syscall stubs through your updated gensyscalls.py script - provide MIPS-specific assembly sources for a few things, like the ones on bionic/libc/arch-arm/. Most of these can be taken from recent OpenBSD sources - testing, testing, testing... I advise you to send patches for review on Gerrit so we can see what you're trying to do and tell you if it's ok, etc.. 2009/4/17 manjunatha srinivasan <manjunatha.sriniva...@gmail.com> > > Hi David Turner > Thanks for reply . > > From link below i found the basic idea of porting C library for > MIPS. My doubt is any android specific change required in porting, or > is it a basic porting steps followed in every new processor > architecture. Please clarify. > > Regards > Manjunatha Srinivasan N > > > http://groups.google.com/group/android-porting/browse_thread/thread/6633bf1e3397efaf/a96c9a4bd570d097 > > On 4/14/09, hoegaarden1...@gmail.com <hoegaarden1...@gmail.com> wrote: > > > > See the following threads, > > > > > http://groups.google.com/group/android-porting/browse_thread/thread/6633bf1e3397efaf/a96c9a4bd570d097 > > > > On 4ζ13ζ₯, εεΎ10:57, manjunatha srinivasan > > > > <manjunatha.sriniva...@gmail.com> wrote: > > > Hi > > > What are major changes has to come in while porting android for MIPS > > > platform(sigma design board)? > > > > > > Regards > > > Manjuantha Srinivasan N > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---