Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

Documentation for SolidRun Yocto Releases has been moved to the SolidRun GitHub.

Yocto for i.MX6 (3.1 and earlier)

Note

The documentation below is covers unmaintained versions of Yocto, please upgrade to 4.0 or later under the link above.

Description

he Yocto Project is an open source collaboration project that provides templates, tools and methods to help you create custom Linux-based systems for embedded products regardless of the hardware architecture. It was founded in 2010 as a collaboration among many hardware manufacturers, open-source operating systems vendors, and electronics companies to bring some order to the chaos of embedded Linux development.

...

To use Yocto, the minimum set of layers and packages is:

  1. Poky Linux

  2. meta-fsl-arm

  3. meta-solidrun-arm-imx6

First setup steps

First, get Poky:

...

As mentioned before, image recipes – or just “images” – assemble a set of packages, and create a root filesystem out of them that can be used with the target machine. There are two ways to define what is contained in an image:

  1. Define a new image recipe. This is the “clean” solution, and the one that should be used for production. How to write an image recipe is described in the Yocto Project manual.

  2. Set the IMAGE_INSTALL_append variable in local.conf . This is more useful during development. It is a whitespace-separated list containing package names (not recipe names!)

For example, to make sure “strace” is added to generated images, it is possible to add this line to local.conf:

...

Installation is done on a computer, not on the CuBox-i. Make sure the SD card is mounted.

  1. Download the script from first post in the forum thread.

  2. Run the script with the SD card as an argument, e.g.

Code Block
./mk_xbmc_hb.sh /dev/mmcblk0

...