Building The Debos Image - Cherry RINGNECK SOM-PX30-uQ7 User Manual

Power efficient system-on-module with quad-core arm featuring the rockchip px30 application processor
Table of Contents

Advertisement

# Make the resulting files available to later steps
export
RINGNECK_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 RINGNECK_UBOOT_DIR and RINGNECK_LINUX_DIR must be already set as described in Sec-
tion 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.embedded.cherry.de/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
v1.3.1
Page 22
(continued from previous page)

Advertisement

Table of Contents
loading

Table of Contents