[U-Boot-Users] u-boot 1.1.1 & Intel LXT972A

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.

Hello <???>,
[a realname would definitely be fine.]
In message 20040720183933.63696.qmail@web50502.mail.yahoo.com 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

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
--- Wolfgang Denk wd@denx.de wrote:
Hello <???>,
[a realname would definitely be fine.]
In message 20040720183933.63696.qmail@web50502.mail.yahoo.com 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
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email:
wd@denx.de
In C we had to code our own bugs, in C++ we can inherit them.
participants (2)
-
Knowledge Seeker
-
Wolfgang Denk