From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Wed, 07 Jan 2009 07:52:58 -0500 Subject: [U-Boot] Fw: TFTP fails when using network switch In-Reply-To: <20090106230032.1ADCB8387CDB@gemini.denx.de> References: <20090105170259.1a85f15a@uncle-pecos.Colorado.EDU> <3efb10970901052341i406ab4a2t6ae8ca9943d604f@mail.gmail.com> <1231282371.32308.276.camel@elrond.atmel.com> <20090106230032.1ADCB8387CDB@gemini.denx.de> Message-ID: <4964A5AA.4060107@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > Dear Ulf Samuelsson, > > In message <1231282371.32308.276.camel@elrond.atmel.com> you wrote: >> It was tracked down to the autoconfiguration of the >> Ethernet PHY, so one of the PHYs ended up in >> 100 Mbps Half Duplex (think that was the switch) >> while the other PHY ended up in 100 MBps Full Duplex. > > That would most probably be a bug in the U-Boot ethernet driver, then. > > Best regards, > > Wolfgang Denk If auto-negotiation fails, the default is half duplex (10 or 100 - the speed can be discovered independent of the autonegotiation by the encoding). Ulf's recollection that the switch was half duplex would indicate that the cheap switch did not autonegotiate properly, but u-boot did. This could be a u-boot bug (not setting up the negotiation properly), but more likely would be a switch problem (not handling the u-boot auto-neg options properly). gvb