[U-Boot] TFTP load for file over 50MB fails

Wolfgang Denk wd at denx.de
Thu Sep 2 10:20:45 CEST 2010


Dear "StephenPaulraj Chinnadurai-ERS,HCLTech",

In message <EC921D4B77C99B4EB3CEDAFFCF17D5F73DDED37343 at CHN-HCLT-EVS07.HCLT.CORP.HCL.IN> you wrote:
> 
> 1.  When the board is connected to network, through tftp the u-boot
> is downloading only 9 MB size file. When tried to download 10 MB size
> file, the u-boot is displaying "Retry count exceeded; starting again"
> message and the file download is not getting completed.

Sounds like a instability of your hardware and/or U-Boot support for
this board and/or platform.

> 2.  When the board is connected to Linux machine directly using
> cross cable, through tftp the u-boot is downloading 47 MB size file
> without any retry, but when tried to download 53 MB size file, the
> u-boot is displaying "Retry count exceeded; starting again" message
> and download is not getting completed.

Are you aware of the restrictions of the TFTP protocol? In standard
configuration, you can only load up to 32767 blocks of 512 bytes,
i. e. not quite 16 MiB of data.

Most curent implementations treat the block number as unsigned, which
shifts the limit to 32 MiB.

And if your TFTP server supports it you can also increase the block
size.

Which exact settings are you using?

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
Always leave room to add an explanation if it doesn't work out.


More information about the U-Boot mailing list