[U-Boot-Users] Re: cannot mount NFS root fs

Wolfgang Denk wd at denx.de
Wed Jan 15 14:19:03 CET 2003


In message <3E2559E6.3060602 at sjtu.edu.cn> you wrote:
> 
> I used tftp to download kernel into SDRAM at 0x180000,
> and then went to boot the kernel. But error occurred
> when trying to mount root fs via NFS.
...
> =>printenv
> bootargs=root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off

This is wrong. As the variables are set, they should get  substituted
here. I guess you used an (bad) extra level of escaping the '$'s.

> Linux version 2.4.18 (root at hi-jack) (gcc version 2.95.3 20010315 (release)) #1 Wed Jan 15 17:35:12 CST 2003
> On node 0 totalpages: 8192
> zone(0): 8192 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> Kernel command line: root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off

The problem should be obvious: you boot arguments are bogus.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
If something is different, it's either better or worse,  and  usually
both.                                                    - Larry Wall




More information about the U-Boot mailing list