From: Stuart Wood Date: Sun, 21 Mar 2004 21:51:17 -0500 Subject: [U-Boot-Users] MCF5282 Ethernet Trouble formally TFTP Trouble In-Reply-To: <4059200D.7070805@tait.co.nz> References: <012e01c40c98$9e4c4f60$0100a8c0@c1533566b> <200403172233.20625.swood@rochester.rr.com> <4059200D.7070805@tait.co.nz> Message-ID: <200403212151.17556.swood@rochester.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 17 March 2004 11:05 pm, Robin Gilks wrote: > Check the clocks on the phy and the ethernet controller - sounds like it > never gets to transmit at all. > > Although there is no 'ping' receptor (server) in U-Boot, the ping > command (client end) can be configured in and can be used to ping an IP > address (note: no DNS!!). That should indicate if there is a fundamental > problem. Unfortunately I can't look at the signal since I'm doing this from home, but I can say that the ping gives the same "TX timeout" error on two different MCF5282 boards. I suspect that the ethernet controller is not being initialized properly. But I don't know were to look to verify this. What I've found is: the "TX timeout" is coming from "u-boot/cpu/mcf52x2/fec.c" specifically the eth_send function. This file also includes the eth_init function. With ET_DEBUG defined I get the following; Bosch-> setenv ethaddr 00:cf:52:82:eb:01 Bosch-> setenv ipaddr 192.168.1.60 Bosch-> ping 192.168.1.102 Eth Addrs: 00:cf:52:82:eb:01 sending ARP for c0a80166 ARP broadcast 1 TX timeout fec.c[124] eth_send: cycles: 100 status: 8c00 retry cnt: 0 ARP broadcast 2 TX timeout fec.c[124] eth_send: cycles: 100 status: ac00 retry cnt: 0 ping failed; host 192.168.1.102 is not alive Does any one have any ideas of what I should try next? Stuart