AnsweredAssumed Answered

iMX28 Ethernet controller issue

Question asked by Jrtiger Lee on Nov 15, 2013
Latest reply on Feb 26, 2014 by Yixing Kong

I enable my Ethernet eth0 and eth1 to communication ,

then plug in-out on eth0 will reset eth1 and vice versa,

that I found docs from to explain this issue.

So I masked this GPIO reset function in fec_restart() on fec.c ,

And then plug in-out eth0/eth1 cable test again.

I found another critical issue , in fec_restart() function ,

when I write MAC0 register FEC_ECNTRL(HW_ENET_MAC_ECR) reset bit ,

both eth0 and eth1 will also be reset and the communication will be interrupted.

And if i write MAC0 register FEC_R_CNTRL(HW_ENET_MAC_RCR) RMII_MODE bit to disable,

both eth0 and eth1 will also be reset again.

But when I write this two register from MAC1 , it will not affect eth0

Does anyone have the same issue ?