This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Failed to execute /init. Attempting defaults... Cannot load init process on my DM8168 while loading rootfs through nfs mount.

I have done the following steps

1) rowboat-android (gingerbread) build with my respective ADI drivers

2) TFTP boot my uImage (Success)

3) nfs mounted my root file systems,  built from ./out/target/product/ti816xevm/rootfs.tar.bz2 (Please some one let me know the exact bootargs option through u-boot, will verify with my own args)

4) init process runs, and I have the following issue,

IP-Config: Got DHCP answer from 0.0.0.0, my address is 172.21.128.53

IP-Config: Complete:

     device=eth0, addr=172.21.128.53, mask=255.255.254.0, gw=172.21.128.1,

     host=172.21.128.53, domain=server2008.com, nis-domain=(none),

     bootserver=0.0.0.0, rootserver=172.21.128.70, rootpath=

devtmpfs: mounted

Freeing init memory: 180K

init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj inste.

init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'

# SysLink version : 02.00.00.67_alpha2

SysLink module created on Date:May 20 2011 Time:12:40:56

Entered KnlUtilsDrv_initializeModule

traceMask value: 0x0

Leaving KnlUtilsDrv_initializeModule 0x0

warning: `zygote' uses 32-bit capabilities (legacy support in use)

alarm_set_rtc: no RTC, time will be lost on reboot

 

# request_suspend_state: wakeup (3->0) at 19047768226 (1970-01-02 00:00:03.5442

 

5) Iam not able to run any shell commands. I softlinked /system/bin as /bin. But still I have an issue where many commands do not run, like my own binary, it does not run, if I give ./ option and try to run

# ls poke

poke

# ./poke

./poke: not found

#

 

Can someone help me what Iam missing here.

  • Hi Rajesh,

     

    Ref #3 Here are the NFS bootargs:

    setenv bootargs 'mem=166M@0x80000000 mem=768M@0x90000000 console=ttyS2,115200n8 androidboot.console=ttyS2 noinitrd ip=dhcp rw init=/init root=/dev/nfs nfsroot=172.24.133.8:/home/pankaj/workdir/gingerbread-android/out/target/product/am389xevm/android_rootfs rootwait'

    Ref #4:  This logs look fine for me.

    Ref #5:  Are standrard commands working fine (like ls, chmod, pwd, insmod, etc)? I think your poke birnary is not compiled properly with android filesystem. Please compile this binary statically with android file system and try again.

    Thanks and Regards,

    Pankaj Bharadiya.