From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Wed, 22 Apr 2009 11:05:27 -0700 Subject: [U-Boot] UBoot NFS timeout In-Reply-To: <23175474.post@talk.nabble.com> References: <23175474.post@talk.nabble.com> Message-ID: <49EF5C67.6010402@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Christopher, christopher.mcnamara wrote: > I'm having trouble booting my linux image over a nfs share. > The share is on an openSuse 11 server. I am able to mount the folder on a > centOS machine > and copy the file over the network so I believe it is setup properly. My > UBoot output is > > File transfer via NFS from server xxx.xxx.50.21; our IP address is > xxx.xxx.50.15 > 1 > Filename '/root/Desktop/susenfs/bootme4linux.bin'. > Load address: 0x80000000 > Loading: ################################################################# > #Timeout > > When I try a nfs share on the CentOS machine it times out immediately. > > Anyone ever seen this? > > UBoot 1.2.0, however the NFS code is the same. > > Is the the correct way to activate NFS in my uboot image? > > #define CONFIG_COMMANDS ( \ > CONFIG__CMD_DFL | \ > CFG_CMD_NET | \ > CFG_CMD_PING | \ > CFG_CMD_MII | \ > CFG_CMD_DHCP | \ > CFG_CMD_MEMORY | \ > CFG_CMD_NFS) > What processor and Ethernet controller are you using? NFS initially bursts a lot of full-size frames and if your MAC can't keep up you'll have trouble connecting. Try limiting the read block size on the client by specifying 'rsize=' parameter. regards, Ben