From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Sun, 11 Mar 2007 13:37:30 +0100 Subject: [U-Boot-Users] Yucca ethernet timeout In-Reply-To: <45F2C4A4.3060006@alcatel-lucent.com> References: <8a24fb800703090601p5d4c1932h8d891dd8f0598917@mail.gmail.com> <200703092024.14459.sr@denx.de> <45F2C4A4.3060006@alcatel-lucent.com> Message-ID: <200703111337.30806.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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, Stefan ===================================================================== DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk Office: Kirchenstr. 5, D-82194 Groebenzell, Germany =====================================================================