配置busybox
来源:互联网 发布:淘宝账户换虾米音乐vip 编辑:程序博客网 时间:2024/06/05 16:00
linuxrc -> busybox,linuxrc就是busybox程序,也就是内核启动的第一个程序
编译busybox:
1.Makefile里加入交叉编译器前缀:CROSS_COMPILE ?= arm-linux-
2.(可以参考韦东山开发手册)
3.make
4. 创建根文件系统目录:mkdir -p /work/nfs_root/first_fs
5.将编译好的busybox安装到指定的目录/work/nfs_root/first_fs,make CONFIG_PREFIX=/work/nfs_root/first_fs install
第2步的操作(可以参考韦东山开发手册):
1.//添加busybox的自动补全功能:-> Busybox Settings | -> Busybox Library Tuning[*] Tab completion2.//连接/编译选项-> Busybox Settings | | -> Build Options [ ] Build BusyBox as a static binary (no shared libs) //这个选项表示是否编译成静态库,目前配置为不编译成静态库,原因不清楚3.//要使用可加载的模块,需要把下面的配置选上:-> Linux Module Utilities[*] insmod | | | |[*] Module version checking | | | |[*] Add module symbols to kernel symbol table | | | |[*] In kernel memory optimization (uClinux only) | | | |[*] Enable load map (-m) option | | | |[*] Symbols in load map | | | |[*] rmmod | | | |[*] lsmod | | | |[*] lsmod pretty output for 2.6.x Linux kernels | | | |[*] modprobe | | | |[*] Multiple options parsing | | | |[*] Fancy alias parsing | | | |--- Options common to multiple modutils | | | |[*] Support tainted module checking with new kernels | | | |[*] Support version 2.2.x to 2.4.x Linux kernels | | | |[*] Support version 2.6.x Linux kernels 4.//为了可以很方便的构造/dev/目录并且可以支持热插拔设备,需要支持mdev。另外,为了方便调试,要选中mount,umount命令,并让mount命令支持NFS(网络文件系统)-> Linux System Utilities [*] mdev | | | |[*] Support /etc/mdev.conf | | | |[*] Support command execution at device addition/removal [*] mount | | | |[*] Support mounting NFS file systems [*] umount | | | |[*] umount -a option 5.//除了其他默认配置外,增加ifconfig命令:-> Networking Utilities [*] ifconfig | | | |[*] Enable status reporting output (+7k) | | | |[*] Enable slip-specific options "keepalive" and "outfill" | | | |[*] Enable options "mem_start", "io_addr", and "irq" | | | |[*] Enable option "hw" (ether only) | | | |[*] Set the broadcast automatically
- 配置busybox
- BusyBox 的配置
- busybox初始化配置
- busybox 安装配置
- busybox网络配置
- android busybox 配置
- busybox网络配置
- busybox配置telnetd
- busybox配置rootfs
- busybox配置telnetd
- busybox的配置编译
- Android 配置busybox
- Busybox移植配置方法
- busybox配置telnetd
- busybox menuconfig配置
- busybox配置报错
- busybox配置telnetd
- busybox初始化配置
- 【黑马程序员】 基础回顾(一)第十四天
- I SQRT
- <%@include%>、<jsp:include>、<jsp:forward>、sendredirect
- 北邮赛2题D
- framework资源修改
- 配置busybox
- 内存分配
- google大牛Jeffrey Dean
- Linux代码风格
- Solution Testing
- Unity--关于中文显示的解决方法
- Unity3D+Kinect OpenNI开发获取身高
- 【程序4】年月日判断是年份的第几天
- 建立根文件系统