【环境】
1:Ubuntu 10.10
2:u-boot-2010.03
3:linux-2.6.35
4:busybox-1.17.3
5:优龙FS2410
6:交叉编译器:arm-none-linux-gnueabi-gcc version 4.3.2
1)解压缩busybox
tar xjvf busybox-1.17.3.tar.bz2
2)配置源码
tony@Ubuntu:~/win/busybox-1.17.3$make menuconfig
BusyboxSettings --->
BuildOptions --->
[*] BuildBusyBox as a static binary (no shared libs)
[ ] Force NOMMU build (NEW)
[ ] Build with Large File Support (foraccessing files > 2 GB)
(/home/tony/toolchain/bin/arm-none-linux-gnueabi-)Cross Compiler prefix
() Additional CFLAGS (NEW)
3)编译
tony@Ubuntu:~/win/busybox-1.17.3$make

本文详细介绍了如何在Ubuntu环境下,使用Busybox构建一个根文件系统的过程,包括解压配置Busybox源码、编译安装、添加目录、处理库文件、设置系统启动文件、创建fstab、挂载文件系统以及在NFS中测试等步骤。
最低0.47元/天 解锁文章
4490





