Hi Vinay sorry for late response. i compiled both kernel and file system with aem-eabi- toolchain only. But still problem is same. I believe building busybox open source with new Android.mk file under external directory is enough to get init ?
Regards Manjunatha Srinivasan N On Jul 3, 5:01 pm, Vinay Rao <[email protected]> wrote: > Hi, > > Even i had faced the same problem. > I did the following. > 1) Booted the Linux kernel using BUSYBOX init. > 2) Then tried executing ANDROID init manually. > My Init was giving SEGFAULT. > The problem was with my tool chain. I was supposed to use arm-eabi tool > chain which i wasn't using. > I compiled my android using arm-eabi tool chain and the problem got solved. > Even u try 1st booting your kernel with BUSYBOX init before trying ANDROID > init directly. First make sure your kernel is booting fine using BUSYBOX > init. > > Regards, > Vinay > > On Fri, Jul 3, 2009 at 4:33 PM, manjunatha > <[email protected]>wrote: > > > > > > > Till the problem is there. > > > On Jul 3, 4:00 pm, manjunatha <[email protected]> wrote: > > > Hi > > > > Thanks for immediate help. > > > > Here is the following boot args i used to give: > > > > setenv bootargs display=15 console=ttyS0,115200n8 noinitrd ip=<target > > > ip>:<server ip>:<gateway IP>:<net-mask>:omap:eth0:off root=/dev/nfs > > > nfsroot=<nfs server ip>:/fs,nolock rw devfs=mount > > > androidboot.console=ttyS0 rootdelay=3 init=/init > > > > My android resource for OMAP is from git:// > > git.omapzoom.org/repo/android/platform/omapmanifest.git > > > (master) using repo and repo sync. After doing make, took the root > > > filesystem from, > > > /mydroid/out/target/product/ldp1/root > > > /mydroid/out/target/product/ldp1/system > > > /mydroid/out/target/product/ldp1/data > > > > to /fs (target root fs). > > > > Please let me know if you have any idea. > > > > Thanks & Regards > > > Manjunatha Srinivasan N > > > > On Jul 2, 7:46 pm, Vinay Rao <[email protected]> wrote: > > > > > Hi, > > > > Your boot loader bootargs may be wrong check it once. > > > > > Regards, > > > > Vinay R Rao > > > > > On Thu, Jul 2, 2009 at 7:36 PM, manjunatha > > > > <[email protected]>wrote: > > > > > > Hi > > > > > > I am getting following error on mounting android filesystem through > > > > > NFS on OMAP board: > > > > > > Kernel panic - not syncing: Attempted to kill init! > > > > > > I populated the root filesystem (/root-for-nfs) as below: > > > > > > cp out/target/product/generic/root /* /root-for-nfs > > > > > cp out/target/product/generic/system /root-for-nfs > > > > > cp out/target/product/generic/data /root-for-nfs > > > > > > Is any changes required to run init at system/core/init or in OMAP > > > > > kernel for android. > > > > > > Android source tree version used is 1.1. > > > > > > Thanks in Advance. > > > > > > Regards > > > > > Manjunatha Srinivasan N > > > > > -- > > > > VINAY.R.RAO > > -- > VINAY.R.RAO --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
