Project

General

Profile

Modifying BusyBox

BusyBox is a multi-call binary that contains many of the Linux utilities built into one executable. The default build of busybox on the Mity CPUs only includes some of the utilities. The following is the procedure to add additional components to BusyBox.

1. Download and extract Busybox source [1.19.2 at the time of writing]

2. Enable ALL components

make CROSS_COMPILE=arm-angstrom-linux-gnueabi- defconfig

3. Edit the config

make CROSS_COMPILE=arm-angstrom-linux-gnueabi- menuconfig

4. Build

make CROSS_COMPILE=arm-angstrom-linux-gnueabi-

5. Copy Busybox to target. You need to copy to an intermediate file (ie. busybox.new) since busybox will be in use.

6. Make soft links for each of the utilities you want to use, linking to busybox. For example, to use crond:

ln -s /bin/busybox.new /bin/crond

Go to top
Add picture from clipboard (Maximum size: 600 MB)