Skip to contentSkip to conversation

u-boot 1.1.1 & Intel LXT972A

U-Boot-Users Knowledge Seeker 2 participants 3 messages Jul 20, 2004

lore
Share & tools
lore
#0 lore raw

I have LXT972A on 852T. From u-boot, I have set mac, ip and netmask. When I try to ping a ip address on LAN. I get "TX timeout"

I have traced this. During u-boot init, fec_initialize is called, which does not do much to comfiugre the hardware. When I ping fec_init is called in cpu/mpc8xx/fec.c and then it eventually times out in fec_send function.

I have ether real running on another computer, which can see arp packet coming out of fec.

So at this point what should I look next.

Help. Completely lost.

#1 lore raw

Hello <???>,

[a realname would definitely be fine.]

Quoted 2 lines · In message <[email protected]> you wrote:

I have LXT972A on 852T. From u-boot, I have set mac, ip and netmask. When I try to ping a ip address on LAN. I get "TX timeout"

In nearly all cases of "TX timeout" I've seen so far the problem was cased by bad clocks; I recommend to check your clocks (both in software and in hardware).

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
In C we had to code our own bugs, in C++ we can inherit them.
#2 lore raw

Wolfgang writes "I recommend to check your clocks (both in software and in hardware)"

I am a newbie, so please help me out

- For hardware clock, need to check MDIO clock signal and it should be at 2.5 MHz ? (is this what I ask my hardware guy)

- For software clock, I am looking at cpu/mpc8xx/fec.c file (around line # 385), line is

fecp->fec_mii_speed = ((bd->bi_intfreq + 4999999) / 5000000) << 1;

which evaluates to 2, is this suppose to evaluate 2.5 MHz ?

Please explain, so that I can clear my concept and solve my problem.

Abu Sana

Quoted 7 lines · --- Wolfgang Denk

Hello <???>,

[a realname would definitely be fine.]

In message <[email protected]> you

Quoted 1 line · wrote:

I have LXT972A on 852T. From u-boot, I have set mac, ip and

netmask.

Quoted 13 lines
Quoted 1 line

When I try to ping a ip address on LAN. I get "TX timeout"

In nearly all cases of "TX timeout" I've seen so far the problem was cased by bad clocks; I recommend to check your clocks (both in software and in hardware).

Best regards,

Wolfgang Denk

Signature · 2 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email:

wd at denx.de

Quoted 1 line

In C we had to code our own bugs, in C++ we can inherit them.