Busybox

From ArmadeusWiki
Jump to: navigation, search

BusyBox: The Swiss Army Knife of Embedded Linux. BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc.

Change default Armadeus configuration

$ make busybox-menuconfig
$ make busybox-clean
...
$ make busybox
...
$ make
  • To test it if you don't want to reflash whole rootfs:
$ make shell_env
$ source ./armadeus_env.sh
$ cp $ARMADEUS_ROOTFS_DIR/busybox /tftpboot/
BIOS> run nfsboot
....
# mount -t jffs2 /dev/mtdblock4 /mnt/flash/
# tftp -g -r busybox -l /mnt/flash/bin/busybox 192.168.0.2
# umount /mnt/flash
# reboot

Links