Building The Debos Image - Cherry JAGUAR SBC-RK3588-AMR User Manual

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

# Compile
make jaguar-rk3588_defconfig
make
-j$(nproc)
# Make the resulting files available to later steps
export
JAGUAR_LINUX_DIR=$PWD
cd
..
The time required for this step heavily depends on your internet connection and CPU power. On a quad-core
2.9GHz machine with an 1Gb/s internet connection, it takes about 20 minutes total.

5.5 Building the debos image

5.5.1 Prepare required components
Note: The variables JAGUAR_UBOOT_DIR and JAGUAR_LINUX_DIR must be already set as described in Section
5.3 Compile U-Boot and Section 5.4 Compile the Linux kernel, respectively.
Get the source code for the debos recipe and copy the necessary components that were built in the previous
steps:
# Download the source code
git clone https://git.embedded.cherry.de/debos-recipes.git
cd
debos-recipes
# Copy Linux & U-Boot binaries into the ``jaguar`` folder
cp "$JAGUAR_LINUX_DIR"/arch/arm64/boot/Image jaguar/overlay/boot/
cp "$JAGUAR_LINUX_DIR"/arch/arm64/boot/dts/rockchip/rk3588-jaguar* jaguar/overlay/boot/
cp "$JAGUAR_UBOOT_DIR"/idbloader.img jaguar/
cp "$JAGUAR_UBOOT_DIR"/u-boot.itb jaguar/
5.5.2 Build a complete image
Depending on your host PC and internet connection, this step should complete in about 5-10 minutes.
The resulting image is a file called sdcard-jaguar-debos-bookworm.XXX.YYY.img and, for convenience, the
symlink sdcard-jaguar-debos-bookworm.img that always points to the latest version.
Debian 12 Bookworm
# Build the image using debos
build_board=jaguar debos_variant=bookworm ./build.sh
# Or: Build the image using podman (for host PCs not using Debian)
# build_board=jaguar debos_variant=bookworm debos_host=podman ./build.sh
# Make the resulting image available to later steps
export
SDCARD_IMG=$PWD/sdcard-jaguar-debos-bookworm.img
JAGUAR SBC-RK3588-AMR User Manual
© Cherry Embedded Solutions GmbH
(continued from previous page)
v1.0.1
Page 17

Advertisement

Table of Contents
loading

Table of Contents