Cherry JAGUAR SBC-RK3588-AMR User Manual page 26

Single board computer for autonmous mobile robots featuring the rockchip rk3588 cutting-edge processor
Hide thumbs Also See for JAGUAR SBC-RK3588-AMR:
Table of Contents

Advertisement

depending on the tasks that are currently being executed. It is highly recommended to not send this signal
more than once, failing to do so may hinder next Bitbake commands.
The artifacts can be found after some time in build/tmp/deploy/images/jaguar/ directory. A flashable image
is one whose extension is .wic, e.g. theobroma-extended-image-jaguar-20221021134027.rootfs.wic.
Make the resulting image available for later steps:
export SDCARD_IMG=$PWD/build/tmp/deploy/images/jaguar/theobroma-extended-image-jaguar.wic
6.3.4 Building with kas
kas is a setup tool for Bitbake-based projects, such as the Yocto Project, which aims to replace the commands
listed above for a simpler, more automated, setup and creation of images.
Theobroma Systems provides a kas configuration file kas-theobroma.yml in the BSP meta layer for conve-
nience.
kas can be installed on the build machine with the following command:
sudo apt-get install -y --no-install-recommends kas
Note: It is also available as a Python package and installable with:
python3 -m venv venv
source
venv/bin/activate
python3 -m pip install kas==4.0
The Section 6.3.1 Initial setup and Section 6.3.2 Initializing build environment can then be replaced by the fol-
lowing two commands:
mkdir yocto
cd
yocto
git clone https://git.theobroma-systems.com/yocto-layers/meta-theobroma-systems-extended.git
kirkstone
kas checkout meta-theobroma-systems-extended/kas-theobroma.yml
The Section 6.3.3 Building an image can now be replaced with:
KAS_MACHINE="jaguar"
kas build meta-theobroma-systems-extended/kas-theobroma.yml
Note: kas is also available in an OCI container form on GitHub container registry.
It is still recommended to install kas through pip but then use its kas-container wrapper script to start the
container properly. E.g. to replace the last command to build an image with kas one can call this instead:
python3 -m venv venv
source
venv/bin/activate
python3 -m pip install kas==4.0
KAS_IMAGE_VERSION="4.0" KAS_MACHINE="jaguar"
theobroma.yml
JAGUAR SBC-RK3588-AMR User Manual
© Cherry Embedded Solutions GmbH
kas-container build meta-theobroma-systems-extended/kas-
-b␣
v1.0.1
Page 23

Advertisement

Table of Contents
loading

Table of Contents