Building the U-Boot bootloader
In this recipe, we will go through the several development workflows described previously using the U-Boot bootloader as an example.
How to do it...
We will see how the following development workflows are applied to U-Boot:
- External development
- External source development
- Working directory development
How it works...
Let's explain the three workflows, previously mentioned, in detail.
External development
We will use a Yocto toolchain to build the U-Boot source externally from the Yocto build system.
- Download and install a Yocto project cross-compilation toolchain for your host by going to the following:
http://downloads.yoctoproject.org/releases/yocto/yocto-1.7.1/toolchain/
Tip
Choose either the 32- or 64-bit version and execute the installation script, accepting the default installation location. It is recommended not to change the default location to avoid relocation issues.
- Find the upstream Git repository:
$ bitbake -e u-boot-fslc | grep ^SRC_URI= SRC_URI="...