This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

开发板网络的问题

在用网线与开发版链接时打印信息

root@am57xx-evm:/home# dmesg |grep eth
[    1.778760] cpsw 48484000.ethernet: Detected MACID = a4:d5:78:d5:70:22       
[    1.786024] cpsw 48484000.ethernet: cpsw: Detected MACID = a4:d5:78:d5:70:23
[   12.684140] net eth1: initializing cpsw version 1.15 (0)                     
[   12.711840] net eth0: initialized cpsw ale version 1.4                       
[   12.720367] net eth0: ALE Table size 1024                                    
[   12.830724] net eth1: phy found : id is : 0x221622                           
[   12.906275] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready               
[   12.999715] net eth0: initializing cpsw version 1.15 (0)                     
[   13.122198] net eth0: phy found : id is : 0x221622                           
[   13.152455] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready               
[   18.137059] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow contr
ol rx/tx                                                                        
[   18.144979] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

但在与自己焊的板子上连网线是打印信息少了
   18.137059] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow contr
ol rx/tx                                                                        
[   18.144979] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

是因为硬件的问题还是驱动的问题

看原理图网卡芯片ENET0_INT与GPIO26连,ENET1_INT与GPIO27连,自己的板子ENET1_INT与GPIO26连 ENET0_INT与GPIO27连  和这个中断线有关吗?谢谢

  • 应该是烧录的内容不同吧。

    不过看打印多的内容,无非就是检测到网卡的物理地址信息,以及版本号,其他的是没有准备好……,你自己做的板子,直接就打印准备好了。

    因为网线有好几根,你所说的链接顺序确实是会影响这个消息的。