
In message 3E2559E6.3060602@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@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