From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Scheutzow Date: Sat, 10 Mar 2007 09:45:56 -0500 Subject: [U-Boot-Users] Yucca ethernet timeout In-Reply-To: <200703092024.14459.sr@denx.de> References: <8a24fb800703090601p5d4c1932h8d891dd8f0598917@mail.gmail.com> <200703092024.14459.sr@denx.de> Message-ID: <45F2C4A4.3060006@alcatel-lucent.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Stefan Roese wrote: > On Friday 09 March 2007 15:01, Dale Dunlea wrote: >> Since the upgrade, I'm seeing timeouts during TFTP. > How often does it happen? Has your network lot's of broadcast messages? I see this timeout problem on my mpc8343 port, using 1.1.4 network code. 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. 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. -- Mike Scheutzow scheutzow at alcatel-lucent.com