首页 > 其他 > 详细

210支持nfs方式挂载文件系统的内核配置

时间:2017-02-17 15:37:27      阅读:164      评论:0      收藏:0      [点我收藏+]

1、配置网络部分,主要是使能CONFIG_IP_PNP以在2中能够看到Root file system on NFS选项

Networking support 

Networking options 

TCP/IP networking

IP: kernel level autoconfiguration

[*] IP: DHCP support

[*] IP: BOOTP support

2、配置开启nfs服务

File systems  --->

Network File Systems  --->

<*> NFS client support 

[*] NFS client support for NFS version 3                                  [*] NFS client support for the NFSv3 ACL protocol extension 

[*] NFS client support for NFS version 4 (EXPERIMENTAL) 

[*] NFS client support for NFSv4.1 (DEVELOPER ONLY) 

[*] Root file system on NFS  

3、在uboot中设置如下启动参数(IP根据实际使用更改)

setenv bootargs root=/dev/nfs nfsroot=192.168.1.141:/root/porting_x210/rootfs ip=192.168.1.10:192.168.1.141:192.168.1.1:255.255.255.0::eth0:off  init=/linuxrc console=ttySAC2,115200 










本文出自 “whylinux” 博客,请务必保留此出处http://whylinux.blog.51cto.com/10900429/1898775

210支持nfs方式挂载文件系统的内核配置

原文:http://whylinux.blog.51cto.com/10900429/1898775

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!