Failed to open eth0
准备在AT91SAM9260EK搭建nfs文件系统,设置开发平台。 但在开发板内核启动中报错如下: RPC: Registered udp transport module. RPC: Registered tcp transport module. rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock IP-Config: Failed to open eth0 IP-Config: Device `eth0' not found. Looking up port of RPC 100003/2 on 192.168.0.211 rpcbind: server 192.168.0.211 not responding, timed out Root-NFS: Unable to get nfsd port number from server, using default Looking up port of RPC 100005/1 on 192.168.0.211 rpcbind: server 192.168.0.211 not responding, timed out Root-NFS: Unable to get mountd port number from server, using default mount: server 192.168.0.211 not responding, timed out
我判断是内核没有启动网络设备,但网络设备是正常的,又怀疑是内核配置原因,但不知是什么地方
eth0: Atmel MACB at 0xfffc4000 irq 21 (00:00:00:00:00:00)
mac地址全为0, 临时方案: 你可以先进u-boot命令行,ping一下,然后在不断电的情况下重启内核,试试 上策: 修改u-boot,通过mac的相关寄存器传递mac地址给内核
#define DM365_EVM_PHY_MASK (1 << 0x1F)//(0x2) //修改这个值试一下。
|