Buildroot Getting Started Guide

This post intends to gather all the information you need to start a project based on Buildroot. It relies on the 2015.11 release but applies to other versions. This post is largely inspired from Free Electrons Buildroot training, with a focus towards our platforms and Freescale-specific packages.


Introduction

When choosing a build system for an embedded Linux project, many options are available such as: Yocto/OpenEmbedded, PTXdist, Buildroot, LTIB, OpenBricks, OpenWRT, etc...

However nowadays the two most popular ones are:

  • Yocto/OpenEmbedded
    • Builds a complete Linux distribution with binary packages.
    • Most powerful option but also the most complex.
    • Officially supported by Freescale.
  • Buildroot
    • Builds a root filesystem image, no binary packages.
    • Much simpler to use, understand and modify.

Although Freescale is only supporting Yocto, Buildroot offers the same level of support in most instances in regards to the Freescale-specific packages. For instance, the Buildroot 2015.11 release is using the exact same Freescale packages as the Fido release of Yocto.

Here are the key features of Buildroot: