[U-Boot-Users] Yucca ethernet timeout

Stefan Roese sr at denx.de
Sun Mar 11 13:37:30 CET 2007

On Saturday 10 March 2007 15:45, Mike Scheutzow wrote:
> I see this timeout problem on my mpc8343 port, using 1.1.4 network code.

That's most likely a different problem. It's not a problem of the U-Boot 
common networking code, but the chip specific ethernet driver.

> Prior to my workaround, it happened on 99% of the tftp transfers. My
> u-boot test network is tiny (3 machines, 100 Mbps), and has almost no
> traffic on it.  The bug appears when code optimization (-Os) is on, but
> does not occur with no optimization.

Hmmm. When a problem disappears upon changing the optimization options, that's 
not a good sign.

> My workaround was to add a delay of 100 usec at the bottom of the
> receive polling loop (in net/net.c, I believe.)  A delay of 10 usec did
> not cure the symptom.

As you already mentioned, that's only a workaround. Did you try a recent 
version of U-Boot?

Best regards,

DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany

More information about the U-Boot mailing list