From: Harm Berntsen <harm.berntsen@nedap.com>
To: "Matteo.Guglielmi@dalco.ch" <Matteo.Guglielmi@dalco.ch>
Cc: "u-boot@lists.denx.de" <u-boot@lists.denx.de>
Subject: Re: tftp time outs
Date: Wed, 8 Sep 2021 07:37:15 +0000 [thread overview]
Message-ID: <cafeb273d710d87a5dd05edeff694ada8520e203.camel@nedap.com> (raw)
In-Reply-To: <4e3728c605044550be6c514b7959dbd4@dalco.ch>
Great to hear U-Boot is helping you :). For documentation I go to the
documentation included in the source code (doc subfolder) and the
source code itself.
When CONFIG_NET_TFTP_VARS is enabled you can overwrite the compiled
settings with the environment variables (see net/tftp.c in the source
code).
I have no experience with boot.cmd files but it looks like you will
need the setenv variant :).
-----Original Message-----
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, 07 Sep 2021 12:51:37 +0000
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.
next prev parent reply other threads:[~2021-09-08 7:37 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
2021-09-08 7:37 ` Harm Berntsen [this message]
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=cafeb273d710d87a5dd05edeff694ada8520e203.camel@nedap.com \
--to=harm.berntsen@nedap.com \
--cc=Matteo.Guglielmi@dalco.ch \
--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