- 论坛徽章:
- 0
|
准备在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
我判断是内核没有启动网络设备,但网络设备是正常的,又怀疑是内核配置原因,但不知是什么地方,请各位大虾帮忙!
具体配置如下:
Linux内核:linux2.6.24
补丁:2.6.24-at91.patch.gz
2.6.24-at91-exp.patch.gz
补丁来自atmel官方网站:http://www.at91.com/linux4sam/bin/view/Linux4SAM/LinuxKernel
一、使用cramfs文件系统,系统正常启动,网络正常,可以ping通host
内核配置: make at91sam9260ek_defconfig
二、使用nfs文件系统,无法从nfs服务器启动,经网络抓包工具查探,开发板无任何数据从网络口发出
内核配置:在at91sam9260ek_defconfig的基础上再加上以下配置
1. 选中 Networking --->
Networking options ---> IP: kernel level autoconfiguration IP: DHCP support IP: BOOTP support IP: RARP support
2. Device Drivers --->
Block devices --->
<*> Network block device support
3. 选中 Device Drivers --->
Ethernet (10 or 100Mbit) --->
<*> Atmel MACB support
4. 选中 File systems --->
Network File Systems --->
<*> NFS file system support Provide NFSv3 client support Provide client support for the NFSv3 ACL protocol extension Provide NFSv4 client support (EXPERIMENTAL) Root file system on NFS |
|