From mboxrd@z Thu Jan 1 00:00:00 1970 From: PF4Public Date: Fri, 20 Feb 2015 17:43:11 +0300 Subject: [U-Boot] Fwd: Re: u-boot tftp problem In-Reply-To: <54E4CE0E.5000308@mail.bg> References: <54E4CC57.8000405@mail.bg> <54E4CE0E.5000308@mail.bg> Message-ID: <54E747FF.3010106@mail.ru> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >When working with large TFTP packets (probably 4096 bytes, as set in your board config file), U-Boot TFTP code sends wrong acknowledges for the TFTP packets. But what is clear from traffic dumps is that a packet size never exceeds 516 when downloading from Linux machine's tftpd. Am I missing something here? >Reduce your TFTP blksize, by commenting CONFIG_TFTPBLOCKSIZE in your board config. The default value is 1468, which should work fine. I have tried reducing tftpblocksize with editenv command of U-Boot, that ensured reduced blocksizes, which was clearly visible in tcpdump, but sadly it didn't change a thing. Btw I cannot find CONFIG_TFTPBLOCKSIZE in the whole source tree of U-Boot: "grep -r CONFIG_TFTPBLOCKSIZE ." and "grep -r TFTPBLOCKSIZE ." gave no output. Best regards