public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Matteo Guglielmi <Matteo.Guglielmi@dalco.ch>
To: Harm Berntsen <harm.berntsen@nedap.com>
Cc: "u-boot@lists.denx.de" <u-boot@lists.denx.de>
Subject: Re: tftp time outs
Date: Tue, 7 Sep 2021 12:51:37 +0000	[thread overview]
Message-ID: <4e3728c605044550be6c514b7959dbd4@dalco.ch> (raw)
In-Reply-To: <453cb861a8b80d52057bc8f5256d02abbb35f70f.camel@nedap.com>

Hi Harm,


thanks for the suggestion.


I have this set in my .config file

for the compilation of u-boot:


CONFIG_TFTP_BLOCKSIZE=1468

CONFIG_TFTP_WINDOWSIZE=1

I'm also using a custom boot.cmd
file... should I instead just put
your vars in it like this:

tftpblocksize=512
tftptimeout=10000

or like this:

setenv tftpblocksize 512
setenv tftptimeout 10000

?

I'm still new to u-boot even though
I could make it do exactly what I
needed... extremely useful to boot
my cluster of raspberry pis 4 b with
individual kernel options each.

PS:

Any good book around on u-boot?

Good doc seems so difficult to get.


Thank you!

________________________________
From: Harm Berntsen <harm.berntsen@nedap.com>
Sent: Tuesday, September 7, 2021 10:12:45 AM
To: Matteo Guglielmi
Cc: u-boot@lists.denx.de
Subject: Re: tftp time outs

Hi Matteo,

Which version of U-Boot are you using?

Try setting the following environment variables:

tftpblocksize=512
tftptimeout=10000

-- Harm

-----Original Message-----
From: Matteo Guglielmi <Matteo.Guglielmi@dalco.ch>
To: u-boot@lists.denx.de <u-boot@lists.denx.de>
Subject: tftp time outs
Date: Sun, 05 Sep 2021 13:49:46 +0000

Dear All,


I've noticed that when u-boot is downloading

files from a tftp server (e.g. vmlinuz, initrd

etc.) it starts to time out quite heavily

"##T #T #T..." if I simply ping the NIC of

the raspberry 4b on which it's running.


Thanks for any comment or suggestion on this

behavior.


  reply	other threads:[~2021-09-07 12:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-05 13:49 tftp time outs Matteo Guglielmi
2021-09-07  8:12 ` Harm Berntsen
2021-09-07 12:51   ` Matteo Guglielmi [this message]
2021-09-08  7:37     ` Harm Berntsen
2021-09-08  9:27       ` Matteo Guglielmi
2021-09-08 12:05         ` Harm Berntsen

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=4e3728c605044550be6c514b7959dbd4@dalco.ch \
    --to=matteo.guglielmi@dalco.ch \
    --cc=harm.berntsen@nedap.com \
    --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