AnsweredAssumed Answered

eth0 (eTSEC1) On A LS1021a-TWR Board

Question asked by Thomas Thorne on Sep 26, 2016
Latest reply on Nov 28, 2016 by Kees Trommel

Starting a new thread as requested by silvia wang when I posted on 

https://community.nxp.com/message/835277?commentID=835277&et=watches.email.thread#comment-835277 

 

My original message was:

I seem to have eth1 working happily under a recent build of the fsl community code.  When I try to use eth0 and eth2 they do not seem to send or receive any packets.  I must have a weird bit of config somewhere causing this.  

 

I can use ifconfig to assign IP addresses to any interface.  I can take eth1 and eth2 up and down and see messages such as (when a cable is connected): 

root@ls1021atwr:/# ifconfig eth2 up
root@ls1021atwr:/# libphy: mdio@2d24000:01 - Link is Up - 1000/Full

 

Remove cable from eth2 and plug it into eth1

libphy: mdio@2d24000:01 - Link is Down
libphy: mdio@2d24000:00 - Link is Up - 1000/Full

 

Remove cable from eth1 and plug into eth0

# libphy: mdio@2d24000:00 - Link is Down
libphy: mdio@2d24000:02 - Link is Up - 1000/Full

 

I have checked that SW3[5] is off.  

Silvia replied asking that I:

Please check whether eTSEC1, eTSEC2 and eTSEC3 can work under u-boot?

If no, please provide u-boot log including RCW.

If yes, please provide Linux Kernel git adress(commit ID), dts and Kernel configuration file.

Do you use LS1021 CPU 1.0 or 2.0?

Outcomes