BeagleBone Black
In the next two sections, we go through the steps for baking and booting an image for the BeagleBone Black board.
Baking for BeagleBone Black
To use this board, we can rely on the meta-yocto-bsp
layer, which is included by default in Poky. The meta layer can be accessed at https://git.yoctoproject.org/meta-yocto/tree/meta-yocto-bsp?h=kirkstone.
To create the source structure, please download Poky using the following command line:
git clone git://git.yoctoproject.org/poky -b kirkstone
After completing this, we must create the build directory we use for our builds. We can do this using the following command line:
source oe-init-build-env build
After we have the build
directory and the BSP layers properly set up, we can start the build. Inside the build
directory, we must call the following command:
MACHINE=beaglebone-yocto bitbake core-image-full-cmdline
The MACHINE
variable can be changed depending on the board we want to use or set in build...