Hi,
I tried to mount root fs using NFS but I get a kernel panic.
I am using Rowboat sources for Android 2.1.
The last traces I have are:
VFS: Mounted root (nfs filesystem) on device 0:12
Freeing init memory: 172k Warning: unable to open an initial
console
Kernel panic - not syncing : No init found. try passing init=
option to kernel
The kernel i loaded from mmc. When I use the same root fs and kernel
on SD card all is working.
To mount root fs using NFS I have processed as following
1) boot with uImage and rootfs on SD card (Android sources get
from Rowboat project)
2) When boot complete create /dev/nfs directory
3) Start eth0 interface (ethernet over USB adapter) and ping NFS
server IP.
Beagleboard# netcfg eth0 up
Beagleboard# netcfg eth0 dchp
Beagleboard# netcfg
Beagleboard# ping NFS_SERVER_IP
4) Reset board and stop boot to update environement variable using
commands:
Beagleboard# setenv bootargs 'console=ttyS2,115200n8 noinitrd
rw ip=dhcp root=/dev/nfs nfsroot=NFS_SERVER_IP:/
ROOT_FS_PATH,nolock,rsize=1024,wsize=1024,rootdelay=2'
Beagleboard# setenv bootcm 'mmc init; faltload mmc 0 84000000
uImage; bootm 84000000'
Beagleboard# boot
I also tried:
Beagleboard# setenv bootargs 'console=ttyS2,115200n8 noinitrd rw
ip=dhcp root=/dev/nfs nfsroot=NFS_SERVER_IP:/
ROOT_FS_PATH,nolock,rsize=1024,wsize=1024,rootdelay=2 init=/init' with
no success.
I there something to change between root fs on SD card and on NFS
server to make init work?
As I am new on Beagleboard, Is it possible for somebody to give a full
step by step explanation (or link to explanation) on how to mount root
fs from NFS server on Beagleboard C3 using ethernet over USB dongle?
Thanks for your help,
Michel