TFTP block size is too high
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080424/a53244f4/attachment.htm
Quoted 4 lines · Jared Holzman
Does anyone else have problems with the new default tftp block size of 1468 (set in
tftp.c) being too large? I was getting corruption of the d/led images until I dropped it down to 1200. I'm afraid I don't have time to determine the real maximum size before corruption occurs. Does someone else want to look into this?
What exactly is your set-up i.e. what version of U-Boot, architecture, platform etc. are you running? I recall problems with MPC5121e that sound familiar, which were caused by a bug/misconfiguration in the FEC driver, but in this case we fixed the issue a couple of months ago. Maybe that's something
of that sort..
kind regards,
Rafal
Hi Jared,
Quoted 8 lines · Jared Holzman
Does anyone else have problems with the new default tftp block size of 1468
(set intftp.c) being too large? I was getting corruption of the d/led images until I dropped it down to 1200. I'm afraid I don't have time to determine the real maximum size before corruption occurs. Does someone else want to look into this?--
The block size of 1468 assumes that your network can handle an MTU size of 1500 bytes, which most can by default. Is there a chance that somebody's using PPPoE or VPN software or something like that that would require a reduction of MTU size?
If I were you, the next thing I'd do would be to sniff the transactions using Wireshark. It's a fantastic tool that will quickly help you decide where to focus your efforts.
regards,
Ben