All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Timeout in tftp.c
@ 2009-05-12 12:22 Achim Ehrlich
  2009-05-12 18:40 ` Jean-Christophe PLAGNIOL-VILLARD
  2009-05-12 18:48 ` Wolfgang Denk
  0 siblings, 2 replies; 9+ messages in thread
From: Achim Ehrlich @ 2009-05-12 12:22 UTC (permalink / raw)
  To: u-boot

Hello,

The timeout for lost packages in tftp.c is defined to 5000 msecs. But 
when setting the timeout get_timer(0) is called in NetSetTimeout in net.c.
But on AT91 the timer code returns usecs and not msecs resulting in a 
timeout of 5 ms instead of 5 secs, which is kind of short. I looked in 
the timer code of other ARM-based platforms and they seem to use 
usec-based timers as well.
Of course I can change the defined timeout in tftp.c to one second or 
so, but that doesn't seem to be the right way to solve this issue.

Any suggestions or ideas or do I miss something here?

Kind regards

Achim

-- 
product manager

email:aehrlich at taskit.de
Tel.: ++49 30 611295-25
Fax: ++49 30 611295-11

--
taskit GmbH
Seelenbinderstr. 33 | D-12555 Berlin
web:http://www.taskit.de
Amtsgericht Charlottenburg: 93HRB39014
Managing director: Thorsten Raulfs
--

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-05-18  9:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-12 12:22 [U-Boot] Timeout in tftp.c Achim Ehrlich
2009-05-12 18:40 ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-12 18:48 ` Wolfgang Denk
2009-05-13  4:59   ` Jens Gehrlein
2009-05-13 11:37     ` Achim Ehrlich
2009-05-13 11:39       ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-14 15:17         ` Achim Ehrlich
2009-05-14 15:48           ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-18  9:46             ` Achim Ehrlich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.