User manual
10 Buildroot
10. Buildroot
Buildroot
62
is a set of Makefiles and patches that allows you to easily generate a cross-compilation
toolchain, a root filesystem and a Linux kernel image for your target. Buildroot can be used for
one, two or all of these options, independently. The benefits are:
• you don’t have to supply the toolchain it will be built automatically
• you can choose between various file systems for your target image
• you can build a very small and quick booting system that suits your needs
• drivers compiled as modules will be automatically installed on your file system image
• many more
The distribution provided by VScom is configured to create a ready-to-run images for OnRISC and
OpenNetCom systems. You’ll get a minimal setup, that can run either form flash or mass storage
device. A big variety of software can be then automatically added to your system using Buildroot
repository.
10.1. Downloading
Subversion will be required to download and update the Buildroot distribution. Go to the de-
sired project directory and execute the following command to get the latest version of Buildroot
distribution:
svn co svn://svn.visionsystems.de/buildroot/trunk/buildroot-2010.08
10.2. Building the Image
After checking out the repository you can build the default image by issuing the following com-
mand:
make vscom_onrisc_defconfig && make
or
make vscom_opennetcom_defconfig && make
Buildrootwill start to automatically download needed packages and compile them. At the end of
this procedure you’ll find built images under:
output/images
The rootfs image can now be burned on to the target media.
62
http://buildroot.org/
May 2014 OnRISC User Manual 68