* [U-Boot] TFTP Timeout Interval problem
@ 2015-08-31 10:43 Gong Q.Y.
2015-08-31 12:16 ` Pavel Machek
2015-08-31 13:20 ` Bin Meng
0 siblings, 2 replies; 4+ messages in thread
From: Gong Q.Y. @ 2015-08-31 10:43 UTC (permalink / raw)
To: u-boot
Hi,
I got a problem with tftp and found this patch.
-------------
commit 620776d734e4b126c407f636bda825a594a17723
Author: Pavel Machek <pavel@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] TFTP Timeout Interval problem
2015-08-31 10:43 [U-Boot] TFTP Timeout Interval problem Gong Q.Y.
@ 2015-08-31 12:16 ` Pavel Machek
2015-09-01 2:49 ` Gong Q.Y.
2015-08-31 13:20 ` Bin Meng
1 sibling, 1 reply; 4+ messages in thread
From: Pavel Machek @ 2015-08-31 12:16 UTC (permalink / raw)
To: u-boot
Hi!
> I got a problem with tftp and found this patch.
Yes, sorry about that. Just revert it, or update to newer u-boot where
it should be reverted.
> -------------
> commit 620776d734e4b126c407f636bda825a594a17723
> Author: Pavel Machek <pavel@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
>
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] TFTP Timeout Interval problem
2015-08-31 10:43 [U-Boot] TFTP Timeout Interval problem Gong Q.Y.
2015-08-31 12:16 ` Pavel Machek
@ 2015-08-31 13:20 ` Bin Meng
1 sibling, 0 replies; 4+ messages in thread
From: Bin Meng @ 2015-08-31 13:20 UTC (permalink / raw)
To: u-boot
Hi Qianyu,
On Mon, Aug 31, 2015 at 6:43 PM, Gong Q.Y. <Qianyu.Gong@freescale.com> wrote:
> Hi,
>
> I got a problem with tftp and found this patch.
> -------------
> commit 620776d734e4b126c407f636bda825a594a17723
> Author: Pavel Machek <pavel@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.
Check this patch: http://patchwork.ozlabs.org/patch/511761/
I believe it should be applied soon.
>
> 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,
Bin
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] TFTP Timeout Interval problem
2015-08-31 12:16 ` Pavel Machek
@ 2015-09-01 2:49 ` Gong Q.Y.
0 siblings, 0 replies; 4+ messages in thread
From: Gong Q.Y. @ 2015-09-01 2:49 UTC (permalink / raw)
To: u-boot
Hi,
That's all right. Thanks a lot!
Regards,
Qianyu
-----Original Message-----
From: Pavel Machek [mailto:pavel at denx.de]
Sent: Monday, August 31, 2015 8:16 PM
To: Gong Qianyu-B52263
Cc: u-boot at lists.denx.de
Subject: Re: TFTP Timeout Interval problem
Hi!
> I got a problem with tftp and found this patch.
Yes, sorry about that. Just revert it, or update to newer u-boot where it should be reverted.
> -------------
> commit 620776d734e4b126c407f636bda825a594a17723
> Author: Pavel Machek <pavel@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
>
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-01 2:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-31 10:43 [U-Boot] TFTP Timeout Interval problem Gong Q.Y.
2015-08-31 12:16 ` Pavel Machek
2015-09-01 2:49 ` Gong Q.Y.
2015-08-31 13:20 ` Bin Meng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox