Hi3520DV300挂载根文件系统
来源:互联网 发布:淘宝脸部识别支付 编辑:程序博客网 时间:2024/06/17 13:32
make ARCH=arm CROSS_COMPILE=arm-hisiv400-linux- menuconfig
进入fs/nfs
vi Kconfig
搜索root
config ROOT_NFS
bool "Root file system on NFS"
depends on NFS_FS=y && IP_PNP
help
If you want your system to mount its root file system via NFS,
choose Y here. This is common practice for managing systems
without local permanent storage. For details, read
<file:Documentation/filesystems/nfs/nfsroot.txt>.
Most people say N here.
NFS_FS必然是已经打开了
IP_PNP是什么?
CONFIG_IP_PNP内核级IP自动配置,即启动时通过内核命令行参数配置,如ip=192.168.0.111...
CONFIG_IP_PNP_XXX即支持XXX协议来配置IP,如及CONFIG_IP_PNP_DHCP=y则支持启动时支持ip=dhcp来配置ip
CONFIG_IP_PNP_XXX即支持XXX协议来配置IP,如及CONFIG_IP_PNP_DHCP=y则支持启动时支持ip=dhcp来配置ip
在当前目录下
grep -Irn "IP_PNP" .
没有收获
在kernel下 net下
grep -Irn "IP_PNP" .
./ipv4/Makefile:36:obj-$(CONFIG_IP_PNP) += ipconfig.o
./ipv4/Kconfig:110:config IP_PNP
./ipv4/Kconfig:121:config IP_PNP_DHCP
./ipv4/Kconfig:123: depends on IP_PNP
./ipv4/Kconfig:138:config IP_PNP_BOOTP
./ipv4/Kconfig:140: depends on IP_PNP
./ipv4/Kconfig:153:config IP_PNP_RARP
./ipv4/Kconfig:155: depends on IP_PNP
./ipv4/ipconfig.c:77:#if defined(CONFIG_IP_PNP_DHCP)
./ipv4/ipconfig.c:80:#if defined(CONFIG_IP_PNP_BOOTP) || defined(CONFIG_IP_PNP_DHCP)
./ipv4/ipconfig.c:83:#if defined(CONFIG_IP_PNP_RARP)
./ipv4/ipconfig.c:125:#ifdef CONFIG_IP_PNP_DHCP
./ipv4/ipconfig.c:1558:#ifdef CONFIG_IP_PNP_DHCP
./ipv4/ipconfig.c:1564:#ifdef CONFIG_IP_PNP_BOOTP
./ipv4/ipconfig.c:1570:#ifdef CONFIG_IP_PNP_RARP
打开Kconfig
config IP_PNP
111 bool "IP: kernel level autoconfiguration"
112 help
113 This enables automatic configuration of IP addresses of devices and
114 of the routing table during kernel boot, based on either information
115 supplied on the kernel command line or by BOOTP or RARP protocols.
116 You need to say Y only for diskless machines requiring network
117 access to boot (in which case you want to say Y to "Root file system
118 on NFS" as well), because all other machines configure the network
119 in their startup scripts.
120
121 config IP_PNP_DHCP
122 bool "IP: DHCP support"
123 depends on IP_PNP
阅读全文
0 0
- Hi3520DV300挂载根文件系统
- 海思Hi3520dv300上ALC5616调试笔记
- 挂载根文件系统
- 挂载根文件系统
- [1]_在ubuntu16.04.3中安装海思SDK交叉工具链(Hi3520DV300)
- NFS挂载根文件系统
- nfs挂载根文件系统
- nfs挂载根文件系统
- NFS挂载根文件系统
- 内核挂载根文件系统异常
- nfs挂载根文件系统
- 通过NFS挂载根文件系统
- nfs挂载根文件系统
- Linux如何挂载根文件系统
- Linux如何挂载根文件系统
- mini2440 NFS挂载根文件系统
- initrd 挂载根文件系统
- nfs挂载根文件系统笔记
- Ubuntu如何查找某个*.so属于哪个包并安装
- 居民身份证号码校验
- kurento-media-server教程一:kurento-media-server安装
- redis集群原理
- 【OpenCV入门教程之十二】OpenCV边缘检测:Canny算子,Sobel算子,Laplace算子,Scharr滤波器合辑
- Hi3520DV300挂载根文件系统
- Oncreate里面获取控件宽高。
- 不能误人子弟啊
- Oracle中用户权限
- tp5下自定义类,not found
- 【易初电商】易初电商专业教育
- 几个常见stl容器的常用功能及使用方法
- Android基本控件
- grails 配置mysql