Now select Exit to end the Buildroot configuration, save the changes of course (These settings are stored in the .config file in the Buildroot directory). The first compilation will take some time, as software packages for the toolchain and other components are downloaded, extracted and compiled on your build machine!TIP : If you need to configure the linux kernel for your special needs (you’ll likely have to) : Important especially : remember to include support for the EXT2 filesystem in your kernel, if you want to be able to mount EXT2 formatted devices (usb flash drive for example) from your embedded system!
Major Linux distros like Debian/Slackware/Arch/etc need a bare minimum of 300-400 megs of disk space.——– etc/inittab ——— Final generation of our embedded Linux system : go back to the Buildroot directory, then TIP : If you delete the whole output subir, your changes in the output/target rootfs will be lost (obviously!) so it may be more convenient to make your changes in the fs/skeleton subdir, so that they will be used when generating the target subdir.I follow the Debian Twitter account and got the announcement there..Will try to relocate it and find its link So much continues to change with Debian...But your mileage may vary 🙂 Target Architecture : i386 Target Architecture Variant : i686 Toolchain — Now you need to set “Port to run a getty (login prompt) on” to tty1 instead of tty S0, in order to get a login prompt when booting your generated system!
Package Selection for the target We select here the software packages we want to be in our embedded system [X] Show packages that are also provided by busybox [X] Customize In this example I chose the following : – support for foreign keyboard layouts Hardware handling – [X] initramfs for initial ramdisk of linux kernel Uncheck the other options.
We’d like, amongst other things : – that our preferred keymap be automatically loaded, – the network to be automatically up and running, etc To do that, changes will be applied in the rootfs files contained in Buildroot’s output/target subdir.
For the keymap : ——————————- # Configure Loopback auto lo iface lo inet loopback # automatically start eth0, with dhcp auto eth0 iface eth0 inet dhcp ——————————- While we are at it, we can modify the etc/TZ file, in order to have the correct timezone in our embedded system.
The only minimal system I have been able to install so far on a 128Meg disk is Net BSD (
But there is a way to achieve such a thing : we will be using Buildroot in order to generate a very small (embedded) Linux system (targeted at a standard intel x86 computer) In this tutorial I have used a Ubuntu 10.04 system as my build machine.
Hare the TZ value below corresponds to Europe/Paris, see here for your preferred value : then paste the obtained string : $1$2Vn NG40d$3SSSNXs.