1.工具 busybox,下载地方:http://www.busybox.net
如果要用skyeye调试自己制作的根文件系统还的有skyeye工具,最新版下载地址:http://www.skyeye.org
交叉 编译工具:arm-linux-gcc 这个google吧!
2.我们首先是安装busybox,我下载的版本是:BusyBox 1.13.3,交叉编译工具arm-linux-gcc 3.4.1
配置busybox的相关选项 其中两点很重要:arch?=arm CROSS?=/usr/local/arm/3.4.1/bin/arm-linux-
CROSS选项根据自己放置arm-linux-gcc工具链的路径配置
busybox只需一些简单的配置就好
Busybox Settings --->
Build Options --->
[*]Build BusyBox as a static binary (no shared libs)
[*]Do you want to build BusyBox with a Cross Compiler?
(arm-linux-) Cross Compiler prefix
Coreutils --->
[*]cat
[*]chmod
[*]chown
[*]chroot
[*]cmp
[* ]cp
[*]echo(basic Susv3 version taking no options)
[*]Enable echo options(-n and -e)(New)
[*]ln
[*]ls
[*]mkdir
[*]mv
Init Utilites --->
[*]init
[*]pwd
Linux System Utilities --->
[*]mount
[*]Support mount NFS file system
Shells --->
Choose your default shell (ash)
---ash
红体字标出非常重要
保存退出,这时最简单的配置,越简单越容易编译通过
make
make install
至此busybox的配置及编译的工作完成!接下来的工作是制作initrd格式的文件系统的步骤,改天在写!