BURNET – _BU_ild_R_ootformm_NET_1002
If you work with embedded Linux you can choose to approaches to take:
- use some Linux distribution
- use Buildroot and build Your own system form scratch
I took second way. It has no limitation in my opinion but for example you must build almost all software packages not included in Buildroot package by yourself. Second way gives you also possibility to use of newest software packages and drivers than in any distribution.
Hardware I use is MMNet1002 board developed by Propox. You can get much details form Propox web page .
Besides of buildroot package file (version 2010.11) you should have following files in dl directory:
- autoconf-2.65.tar.bz2
- automake-1.11.1.tar.bz2
- binutils-2.20.1.tar.bz2
- busybox-1.17.4.tar.bz2
- dhcp-4.1.1-P1.tar.gz
- dropbear-0.52.tar.gz
- e2fsprogs-1.41.12.tar.gz
- ethtool-2.6.35.tar.gz
- fakeroot_1.9.5.tar.gz
- gcc-4.3.5.tar.bz2
- genext2fs-1.4.1.tar.gz
- gmp-4.2.4.tar.bz2
- gnuchess-5.07.tar.gz
- i2c-tools-3.0.2.tar.bz2
- ipkg-0.99.163.tar.gz
- jpegsrc.v8b.tar.gz
- libtool-2.2.10.tar.gz
- libusb-1.0.8.tar.bz2
- libusb-compat-0.1.3.tar.bz2
- lighttpd-1.4.28.tar.gz
- linux-2.6.36.1.tar.bz2
- lzma-4.32.7.tar.gz
- lzo-2.03.tar.gz
- m4-1.4.9.tar.bz2
- mii-diag_2.11-2.diff.gz
- mii-diag_2.11.orig.tar.gz
- module-init-tools-3.12.tar.bz2
- mpfr-2.4.1.patch
- mpfr-2.4.1.tar.bz2
- mtd-utils-1.4.1.tar.bz2
- mtd-utils-1.4.1.tar.gz
- ncurses-5.7.tar.gz
- nfs-utils-1.0.10.tar.gz
- php-5.2.14.tar.bz2
- pkg-config-0.23.tar.gz
- readline-6.1.tar.gz
- ruby-1.9.2-p0.tar.gz
- sqlite-amalgamation-3.7.3.tar.gz
- u-boot-2010.03.tar.bz2
- uClibc-0.9.31.tar.bz2
- udev-114.tar.bz2
- usb-modeswitch-1.1.2.tar.bz2
- usbutils-0.90.tar.gz
- zlib-1.2.5.tar.bz2
These files should be downloaded automatically, but if not, download them manually and put to BUILDROOT_DIR/dl directory
- Unpack Buildroot package to BUILDROOT_DIR
- Unpack Burnet package to BURNET_DIR
- Go to BURNET_DIR and use merge.sh script to merge both packages. (without parameters merge.sh script shows how to use it).
- Go to BUILDROOT_DIR
- Type make (to_build)
After build in BUILDROOT_DIR/output/images/ you have images to flash memory:
- uImage – kernel image
- rootfs.ext – rootfs image, you can mount it in local system to check that everything is inside.
- rootfs.ubifs – rootfs image to flash NAND.
If you want to change something in configuration, Buildroot package makes available some useful configuration commands:
- make menuconfig – configuration of Buildroot
- make busybox-menuconfig – configuration of Busybox
- make uclibc-menuconfig – configuration of uClibc
- make linux26-menuconfig – configuration of linux kernel
NOTE! After configuration, copy .config file to BURNET_DIR/Propox/MMNet1002/configs/ directory with proper name.
If above configuration doesn’t suit you, you can do some customization using BURNET_DIR/Propox/MMNet1002/prepare_custom_config.sh
- debug console on ttyS0 (DSUB)
- ethernet (RJ45)
- USB
- host (built-in)
- storage class (module)
- UVC – usb video class (module)
- I2C – (module)