From: Wolfgang Denk Date: Wed, 15 Jan 2003 14:19:03 +0100 Subject: [U-Boot-Users] Re: cannot mount NFS root fs In-Reply-To: Your message of "Wed, 15 Jan 2003 20:53:58 +0800." <3E2559E6.3060602@sjtu.edu.cn> Message-ID: <20030115131908.2FA69C608E@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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