eth0 interface not working on imx6ul Phytec platform

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

eth0 interface not working on imx6ul Phytec platform

2,378件の閲覧回数
mihaitaivascu
Contributor III

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

0 件の賞賛
返信
2 返答(返信)

1,963件の閲覧回数
mihaitaivascu
Contributor III

Hi,

   Thanks for the links. I have checked those already. I am waiting here for an answer assuming somebody else has run into similar issues using the same board.

Thanks,

      Mihaita

0 件の賞賛
返信

1,963件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Ivascu

please check phytec software tutorial on

L-844e_0_phyBOARD-Segin_BSP_Manual | PHYTEC 

One can try demo images described on

phyBOARD-Segin (i.MX6UL) - Develop.phytec - PHYTEC Wiki 

use phytec support:

Technical Support Contacts - Develop.phytec - PHYTEC Wiki 


Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信