Building The Debos Image - Cherry Theobroma PX30-mQ7 User Manual

System-on-module quad-core arm cortex-a35
Hide thumbs Also See for Theobroma PX30-mQ7:
Table of Contents

Advertisement

5.5 Building the debos image

5.5.1 Prepare required components
Note: The variables RINGNECK_UBOOT_DIR and RINGNECK_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 necessary components built in previous steps:
# Download the source code
git clone https://git.theobroma-systems.com/debos-recipes.git
cd
debos-recipes
# Copy Linux & U-Boot binaries into the ``ringneck`` folder
cp $RINGNECK_LINUX_DIR/arch/arm64/boot/Image ringneck/overlay/boot/
cp $RINGNECK_LINUX_DIR/arch/arm64/boot/dts/rockchip/px30-ringneck*.dtb ringneck/overlay/boot
cp $RINGNECK_UBOOT_DIR/u-boot-rockchip.bin ringneck
5.5.2 Build a complete image
Different variants of Debian images are available. You can build the one of your choice or all of them. Default variant is Debian
11 Bullseye. Other variants can be chosen by setting the debos_variant environment variable when running build.sh .
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-ringneck-debos-VARIANT.XXX.YYY.img and, for convenience, the symlink
sdcard-ringneck-debos-VARIANT.img that always points to the latest version.
Debian 11 Bullseye
# Build the image
build_board=ringneck ./build.sh
# Make the resulting image available to later steps
export
SDCARD_IMG=$PWD/sdcard-ringneck-debos-bullseye.img
Debian 12 Bookworm with Phosh graphical shell
This image variant is targeted for the Haikou-Video-Demo. Please see the AN60501 Haikou-Video-Demo for the Haikou baseboard
application note for more information about the Haikou-Video-Demo.
More details about the Phosh graphical shell can be found in the Phosh graphical shell section.
# Build the image
build_board=ringneck debos_variant=bookworm-phosh ./build.sh
# Make the resulting image available to later steps
export
SDCARD_IMG=$PWD/sdcard-ringneck-debos-bookworm-phosh.img
v1.2.0-1-g5ccabb6
Page 22

Advertisement

Table of Contents
loading

Table of Contents