Please try similar to this working example; I use it successfully in my
case.
setenv bootargs root=/dev/nfs rw nfsroot=192.168.1.10:/opt/target
ip=192.168.1.11:192.168.1.5:192.168.1.10:255.255.255.0:::off
If booting from u-boot I use this following
root=/dev/nfs rw nfsroot=\\$(serverip):/opt/target
ip=\\$(ipaddr):\\$(serverip):\\$(gatewayip):\\$(netmask):\\$(hostname)::off
thanks
Ankur
Mohamed Bamakhrama wrote:
Hi Ralf,
I added the ":" at the end. It is still not working. I get the same error:
VFS: Cannot open root device "<NULL>" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Do I have to set any special config. info in the the kernel config
beside the NFS support?
On 8/8/07, Ralf Baechle <ralf@xxxxxxxxxxxxxx> wrote:
On Wed, Aug 08, 2007 at 12:18:51PM +0200, Mohamed Bamakhrama wrote:
Hi list,
I have a Malta board for which I was able to build the kernel, load it
and start it. The problem comes when it tries to boot through the NFS.
I start the kernel with the following command:
go . nfsroot=192.168.1.1/mnt/danube_rootfs ip=192.168.1.4:192.168.1.1:::
^^ there should be a `:' following the IP.
Ralf