TI大神们,你们好:
我在调试一块双网卡的板子时遇到了些问题,如下:
设备树中以添加了双网卡信息,启动信息中也找到了两个phy:
[ 3.149838] libphy: 4a101000.mdio: probed
[ 3.154141] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
[ 3.164401] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver Micrel KSZ9031 Gigabit PHY
但为什么这里只添加了eth0
[ 5.948456] net eth0: initializing cpsw version 1.15 (0)
[ 6.000735] net eth0: phy found : id is : 0x221622
[ 6.005919] net eth0: phy found : id is : 0x221622
[ 6.134879] 8021q: adding VLAN 0 to HW filter on device eth0
我换网线插在两个网口,都会有提示link up/link down
[ 32.011349] libphy: 4a101000.mdio:03 – Link is Up – 100/Full
[ 38.011354] libphy: 4a101000.mdio:03 – Link is Down
[ 42.001392] libphy: 4a101000.mdio:01 – Link is Up – 100/Full
但都ping不通。请大神解惑,拜谢~~
Shine:
请试试直接用processor SDK里提供的am437x-sk-evm.dts,支持双网卡。