这是启动信息,能看出问题吗?
Welcome to Buildroot
buildroot login: dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
Starting network: [ 1.866953] Generic PHY stmmac-0:01: attachedPassword:
878] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[ 1.886644] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
OK
ifup eth0 up
ifconfig eth0 192.168.1.99
# ifconfig
eth0 Link encap:Ethernet HWaddr 02:02:2A:F8:2B:EC
inet addr:192.168.1.99 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:38
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:189 errors:0 dropped:0 overruns:0 frame:0
TX packets:189 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21168 (20.6 KiB) TX bytes:21168 (20.6 KiB)
#
但是网口灯是不亮的,ping不同内网IP。
离线
从上面驱动报出的信息来看, 软件应该是没问题的。
如果用荔枝派zero, 网卡灯是不亮的, LED引脚悬空了。
检查一下电脑,交换机, 网线, 网卡设置是不是有问题?
是自己做的板子,交换机 网线,没问题,排除了,难道网口电路出错了?
离线
buildroot login: [ 2.854166] g_cdc gadget: high-speed config #1: CDC Composite (ECM + ACM)
同样的软件,正常的会多上面一段
离线
94脚RTX需要加下拉电阻,加了就好了
离线