public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: PF4Public <PF4Public@mail.ru>
To: u-boot@lists.denx.de
Subject: [U-Boot] Fwd: Re:  u-boot tftp problem
Date: Fri, 20 Feb 2015 17:43:11 +0300	[thread overview]
Message-ID: <54E747FF.3010106@mail.ru> (raw)
In-Reply-To: <54E4CE0E.5000308@mail.bg>

 >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

  parent reply	other threads:[~2015-02-20 14:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-14  2:05 [U-Boot] u-boot tftp problem PF4Public
2015-02-17 17:10 ` Joe Hershberger
2015-02-18 15:33   ` PF4Public
2015-02-18 17:31     ` Nikolay Dimitrov
     [not found]       ` <54E4CE0E.5000308@mail.bg>
2015-02-20 14:43         ` PF4Public [this message]
2015-02-20 15:50           ` Nikolay Dimitrov
2015-02-20 16:51             ` PF4Public
2015-02-23 23:02               ` Joe Hershberger
2015-02-25 22:01                 ` PF4Public
2015-03-02 22:22                 ` PF4Public

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54E747FF.3010106@mail.ru \
    --to=pf4public@mail.ru \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox