[U-Boot] TFTP Timeout Interval problem
Gong Q.Y.
Qianyu.Gong at freescale.com
Mon Aug 31 12:43:59 CEST 2015
Hi,
I got a problem with tftp and found this patch.
-------------
commit 620776d734e4b126c407f636bda825a594a17723
Author: Pavel Machek <pavel at denx.de>
Date: Tue Aug 18 14:34:26 2015 +0200
tftp: adjust settings to be suitable for 100Mbit ethernet
--------------
The default timeout is changed to 100 (ms) and this causes "TFTP error: 'Unsupported option(s) requested' (8)".
Because the option is equal to timeout/1000, now it's zero(100/1000 -> 0) which is not supported.
Actually I find in an original doc RFC-2349 which specifies this value should range between "1" and "255" seconds.
So I think there may be a conflict?
Look forward to your help.
This is my test log:
=> tftp a0000000 gqy/bootscript
Using FM1 at DTSEC3 device
TFTP from server 10.192.208.233; our IP address is 10.193.20.130
Filename 'gqy/bootscript'.
Load address: 0xa0000000
Loading: *
TFTP error: 'Unsupported option(s) requested' (8)
Starting again
=> setenv tftptimeout 1000
=> tftp a0000000 gqy/bootscript
Using FM1 at DTSEC3 device
TFTP from server 10.192.208.233; our IP address is 10.193.20.130
Filename 'gqy/bootscript'.
Load address: 0xa0000000
Loading: #
44.9 KiB/s
done
Bytes transferred = 92 (5c hex)
=>
Regards,
Qianyu
More information about the U-Boot
mailing list