大家好,想请教一个问题,我们做了一个板子带有两个网口,一个是RGMII,一个是RMII,由于开始用的内核和文件系统是从BBB上移植过来的,所以只能支持一个网口(RGMII已经调通正常工作),现在需要配置成双网口,但是按照TI给的那个AM335x CPSW (Ethernet) Driver's Guide却找不到 [*] TI CPSW Switch as Dual EMAC这个选项,我看SDK 6,7,8,都没有这个选项,后来看网上说的用设备树的方法配置,也没有成功,请大牛们给与一点指示,非常感谢!
[ 0.112010] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.113290] cpsw.0: No hwaddr in dt. Using 1c:ba:8c:90:7f:cb from efuse
[ 0.113312] cpsw.1: No hwaddr in dt. Using 1c:ba:8c:90:7f:cd from efuse
[ 0.497908] mmcblk0: p1 p2
[ 0.499707] mmcblk0boot1: unknown partition table
[ 0.500935] mmcblk0boot0: unknown partition table
[ 0.506848] libphy: 4a101000.mdio: probed
[ 0.506877] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown
[ 0.506891] davinci_mdio 4a101000.mdio: phy[19]: device 4a101000.mdio:13, driver unknown
[ 0.506903] davinci_mdio 4a101000.mdio: phy[31]: device 4a101000.mdio:1f, driver unknown
[ 0.507090] Detected MACID = 1c:ba:8c:90:7f:cb
[ 0.507200] cpsw 4a100000.ethernet: NAPI disabled
[ 0.508521] omap_rtc 44e3e000.rtc: setting system clock to 2014-05-16 02:10:50 UTC (1400206250)
[ 10.552607] gadget: high-speed config #1: Multifunction with RNDIS
[ 20.161820] net eth0: initializing cpsw version 1.12 (0)
[ 20.166070] net eth0: phy found : id is : 0x4dd074
[ 20.167492] net eth0: phy found : id is : 0x2000a211
[ 20.177924] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 22.173018] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
[ 22.173066] libphy: 4a101000.mdio:1f - Link is Up - 0/Half
[ 22.173627] libphy: 4a101000.mdio:1f - Link is Down
[ 22.173700] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 22.858819] net eth0: initializing cpsw version 1.12 (0)
[ 22.861402] net eth0: phy found : id is : 0x4dd074
[ 22.861979] net eth0: phy found : id is : 0x2000a211
[ 22.866096] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 23.236890] net eth0: initializing cpsw version 1.12 (0)
[ 23.239440] net eth0: phy found : id is : 0x4dd074
[ 23.239624] net eth0: phy found : id is : 0x2000a211
[ 23.243917] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 25.247262] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
[ 25.247917] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root@U-NEST:~# ifconfig
