I think the init you find isn't the android init (the x86 init is in sbin directory in common). android had it's own init program (system/ core/init/init.c), find it in the system diretory or use 'find . -name init' in your android root directory , then check the result?
On May 23, 10:00 pm, Neil Nguyen <[email protected]> wrote: > Hi Wue, > > Thanks for your quick response. > I believe the same init executable would be generated by typing "make" on the > Linux-X86. I am not sure if this "init" is for ARM926 target or not. > I did run it on my hardware, and I got an "Illegal Instruction". Maybe, you > can clarify how I should start the build process first then going to the > detail of how to debug the Android bringup/init. > Neil > > --- On Thu, 5/21/09, wueyuan <[email protected]> wrote: > > > From: wueyuan <[email protected]> > > Subject: [android-porting] Re: How does Android init work? > > To: [email protected] > > Date: Thursday, May 21, 2009, 11:14 PM > > > Dear Neil, > > Maybe you can take a glance at > > "system/core/init/init.c", as you have > > the android source code. > > > eason > > On Thu, 2009-05-21 at 20:00 -0700, [email protected] > > wrote: > > > Dear all: > > > > Please bear with me, I am not an expert here. > > > First of all, I have linux 2.6.27 downloaded from > > cupcake branch, > > > running on my hardware platform. > > > I got my own root fs, with busybox tool set. > > Everything is running > > > very well so far. > > > > Now I would like to run Android cupcake, I believe > > there is some init > > > process involved. > > > Also, I have successfully built Android source > > tree. I was able to > > > run android qemu emulator on my linux > > > PC. I was able to extract the "/data" and > > "/system" directories via > > > the "adb" shell with the help of Benno's busybox. > > > > So again, the remaining work is to bring up real > > Android. Please > > > spare the time to help. > > > > Thank you, and your help is greatly appreciated. > > > Neil --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
