Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

uClinux + eth_ocm, late cable plugging.

Hi

I've got quite fresh uClinux (i think it's latest community revision, I downloaded it recently) and OpenCores MAC (version from February 20, 2008).

When I run linux with cable connected, everything is fine, but when I run linux first at then connect ethernet cable I must wait long period of time (even 15 seconds) before ethernet interface is fully operable, or even sometimes whole linux hangs.

Autonegotiation is performed correctly, because when I plug the cable mii-tool shows proper link status. I noticed that RX is fine, I receive correct packets just after cnnecting cable, but something is wrong with TX - ifconfig shows thata tx count on this interface is 0. Sometimes I can notice TX error from driver, but sometimes uClinux just freezes.

2 Replies