AnsweredAssumed Answered

eth0 interface not working on imx6ul Phytec platform

Question asked by Mihaita Ivascu on May 23, 2018
Latest reply on May 24, 2018 by Mihaita Ivascu

Hello,

 

   I am not able to enable network access for imx6ul platform from Phytec:

 

 dmesg log: 


[ 17.898441] Micrel KSZ8081 or KSZ8091 2188000.ethernet:01: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=2188000.ethernet:01, irq=165)
[ 17.912754] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 155.126634] random: crng init done
[ 2797.536423] Micrel KSZ8081 or KSZ8091 2188000.ethernet:01: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=2188000.ethernet:01, irq=165)
[ 2797.562526] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
root@phyboard-segin-imx6ul-1 ~ # dmesg | grep eth0
[ 2.426184] fec 2188000.ethernet eth0: registered PHC device 1
[ 17.912754] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 2797.562526] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
root@phyboard-segin-imx6ul-1 ~ # dmesg | grep eth1
[ 2.364082] fec 20b4000.ethernet eth1: registered PHC device 0
root@phyboard-segin-imx6ul-1 ~ #

 

    The eth0 interface is UP but not RUNNING so I cannot send packets on it although has an  IP assigned. 

eth1 interface is not listed. I have aonly eth0 and loopback

 

I have attached the relevant dts(i) files. As it can be seen fec1 and fec2 configuration is inconsistent as in one part fec1 is enabled and in the other fec2 is enabled. Also fec2 should be connected to mdio, not fec1.

 

Could somebody give me some ideas on how to modify the device tree in order to have ethernet working?

Also in barebox I also cannot enable networking . The network is always down if configured DHCP although I can access MII registers with miitool.

 

Thanks,

        Mihaita

Outcomes