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 http://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 v2017.02.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 the...