Initializing Build Environment; Building A Minimal Image - Cherry theobroma SYSTEMS PX30-mQ7 User Manual

System-on-module quad-core arm cortex-a35 featuring the rockchip px30 application processor
Hide thumbs Also See for theobroma SYSTEMS PX30-mQ7:
Table of Contents

Advertisement

Note: It is essential that the Yocto layers are checked out on the same branch otherwise there may be some unexpected issues.
With the aforementioned instructions, the layers have been checked out to a branch supporting the Yocto Project Kirkstone
(4.0) release.

6.4 Initializing build environment

Once the layers have been properly cloned in their appropriate branch, the build environment needs to be initialized. This can
be done by running the following command:
This will initialize the build environment, making
build tool available in the current shell, and also create a
directory where temporary and final build artefacts will be stored.
The following directory layout should be observed:
The first time the command is run, it'll create a new build directory called
and add the appropriate configuration files.
On the later runs, if the directory still exists, the command will only configure the terminal environment and not change
anything in the build directory. This makes it perfectly safe to run the command multiple times, from different terminals for
example.
Note: Once the current terminal is closed or a new one is opened, this command should be re-executed to be able to interact
again with the Yocto Project tools.
The Yocto Project then needs to be configured to include layers to find new recipes or configuration files, which is essential to
build new pieces of software or compile for a specific hardware target system.
This can be done with the
tool:

6.5 Building a minimal image

To build a bootable artefact, BitBake will be called with the specified machine and target image:
Note: Technically speaking, the
variable could be set in
file once and for all. If possible,
Theobroma Systems recommends passing the variable explicitly in the command directly as this makes it more visible to the
v1.0.1-8-g2dd91c8
Page 24

Advertisement

Table of Contents
loading

This manual is also suitable for:

Theobroma systems ringneck som-px30-mq7

Table of Contents