Barebox
I will complete this chapter with a look at another bootloader that has the same roots as U-Boot but takes a new approach to bootloaders. It is derived from U-Boot and was actually called U-Boot v2 in the early days. The Barebox developers aimed to combine the best parts of U-Boot and Linux, including a POSIX-like API and mountable filesystems.
The Barebox project website is www.barebox.org and the developer mailing list is <[email protected]>
.
Getting Barebox
To get Barebox, clone the git repository and check out the version you want to use:
$ git clone git://git.pengutronix.de/git/barebox.git $ cd barebox $ git checkout v2014.12.0
The layout of the code is similar to U-Boot:
arch
: Contains code specific to each supported architecture, which includes all the major embedded architectures. SoC support is inarch/[architecture]/mach-[SoC]
. Support for individual boards is inarch/[architecture]/boards
.common
: Contains core functions, including the shell.commands
: Contains...