$ wget http://buildroot.uclibc.org/downloads/buildroot-2011.05.tar.bz2 $ tar xvjf buildroot-2011.05.tar.bz2 $ cd buildrootOr you can use git:
$ git clone http://git.buildroot.net/git/buildroot.git $ cd buildroot $ git checkout 2011.05Then you have to apply the
2011.05-at91_5series_1.0.patch
patch file:
$ wget ftp://ftp.linux4sam.org/pub/buildroot/2011.05-at91_5series_1.0.patch $ patch -p1 < 2011.05-at91_5series_1.0.patch $ chmod +x board/atmel/at91sam9x5ek/post-build.sh $ chmod +x board/atmel/at91sam9x5ek/alsa/post-build_alsa.sh
$ make at91sam9x5ek_defconfigThen begin the building process with:
$ makeThe build process is quite long and sources will be downloaded from Internet. Once it is done, you will have the following files:
$ ls output/images/ rootfs.jffs2 rootfs.tar.bz2 rootfs.ubi rootfs.ubifs uImagerootfs.* files are the root filesystem images and uImage is the kernel image for u-boot. The toolchain is located into output/host/usr/bin/.
make menuconfigYou can add or remove packages into the Package Selection for the target section. You may want to customize the root filesystem by adding configuration file. You can do this by using a post build script called before creating filesystem images. It's what we do for alsa configuration file. You only have to fill the Custom script to run before creating filesystem images field into the System configuration section. Another way is to use a custom Root FS skeleton by selecting custom target skeleton in System Configuration -> Root FS skeleton. You can also customize ownership/permissions and device files by editing System Configuration -> Path to the device tables.
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Microchip and others, are registered trademarks or trademarks of Microchip Technology Inc. and its subsidiaries.
Arm® and others are registered trademarks or trademarks of Arm Limited (or its affiliates). Other terms and product names may be trademarks of others.
Ideas, requests, contributions ? Connect to LinksToCommunities page.