[U-Boot-Users] MCF5282 Ethernet Trouble formally TFTP Trouble
Stuart Wood
swood at rochester.rr.com
Mon Mar 22 03:51:17 CET 2004
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
More information about the U-Boot
mailing list