[U-Boot] TFTP retry count Infinite

Wolfgang Denk wd at denx.de
Fri Jun 22 18:23:34 CEST 2012


Dear Rick,

In message <016501cd5088$7e212c50$7a6384f0$@edu> you wrote:
> 
> My original thought was to write a script using environmental variables.
> The script would look for a mImage on a server and load it if it is there.
> If we don't want to load an experimental linux/rootfs mImage, we would
> simply do not have the file present on the server, and the script would
> proceed to the next command having not found the file on the server.
> However, when it gets to that point in the code, it continues to retry over
> and over, and never gets past the 'File not Found' error.  

It would help if you provide at least a tiny bit of information about
your system, like which architecture / SoC // board you are using, and
especially which exact version of U-Boot you are talking about.

The thing is, I cannot reproduce the behaviour you report.

Test on "canyonlands" (PPC):

	=> tftp 400000 foo/bar
	Waiting for PHY auto negotiation to complete... done
	ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0)
	Using ppc_4xx_eth0 device
	TFTP from server 192.168.1.1; our IP address is 192.168.100.6
	Filename 'foo/bar'.
	Load address: 0x400000
	Loading: T 
	TFTP error: 'File not found' (1)
	Not retrying...
	=> 

Test on "TQM5200" (PPC):

	=> tftp 400000 foo/bar
	Using FEC device
	TFTP from server 192.168.1.1; our IP address is 192.168.160.4
	Filename 'foo/bar'.
	Load address: 0x400000
	Loading: *
	TFTP error: 'File not found' (1)
	Not retrying...
	=>

Test on m28evk (ARM):

	=> tftp 42000000 foo/bar
	Using FEC0 device
	TFTP from server 192.168.1.1; our IP address is 192.168.20.33
	Filename 'foo/bar'.
	Load address: 0x42000000
	Loading: *
	TFTP error: 'File not found' (1)
	Not retrying...
	=>



Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The first rule of magic is simple. Don't waste your time waving your
hands and hoping when a rock or a club will do."
                                               - McCloctnik the Lucid


More information about the U-Boot mailing list