Category:Yocto

From DAVE Developer's Wiki
Jump to: navigation, search

Introduction[edit | edit source]

The Yocto Project is an open source collaboration project that provides templates, tools and methods to help creating custom Linux-based systems for embedded products.

It is derived from OpenEmbedded, but it provides a less steep learning curve, a graphical interface for Bitbake and very good documentation.

DAVE Embedded Systems provides the so-called recipes/meta-repositories required to build all the software components (bootloader, kernel and root file system) with the Yocto build system. For further details, please refer to its FAQ page.

This category collects all the pages related to Yocto for each of the supported DAVE Embedded Systems' SOCs.

Documentation[edit | edit source]

The starting point of Yocto Project documentation is here.

The most comprehensive source of documentation is Yocto Mega Manual: the latest (in-development) version if this document is here. Please note that there's a release of the manual for each official Yocto release, just substitute the latest word into its URL with the right version number (e.g. 2.1 for Krogoth)

The build process[edit | edit source]

The build process creates an entire Linux distribution from source. The build process can be summarized as follows:

  • Make sure that all the prerequisites are met
  • Initialize the build environment
  • Optionally ensure the conf/local.conf configuration file, which is found in the Build Directory, is set up how you want it. This file defines many aspects of the build environment including the target machine architecture through the MACHINE variable, the development machine's processor use through the BB_NUMBER_THREADS and PARALLEL_MAKE variables, and a centralized tarball download directory through the DL_DIR variable.

Build the image using the bitbake command. If you want information on BitBake, see the BitBake User Manual.