2. Compile Source
Note
The Debian and Buildroot system use the same SDK source package. The difference lies in the rootfs.img used, meaning the steps for building the filesystem are different, while the other steps are the same.
❶ Unzip source
1tar xvf compact3588s-linux6.1-rkr5-250522.tar.gz
2cd compact3588s-linux6.1-rkr5
❷ Configuration
1./build.sh lunch
Serial terminal output and options
wuguankang@boardcon:~/opt/CM3588S/compact3588s-linux6.1-rkr5$ ./build.sh lunch
Log colors: message notice warning error fatal
Log saved at /home/wuguankang/opt/CM3588S/compact3588s-linux6.1-rkr5/output/sessions/2025-05-22_10-45-43
Pick a defconfig:
1. rockchip_defconfig
2. boardcon_rk3588s_defconfig
3. rockchip_rk3588_evb1_lp4_v10_amp_defconfig
4. rockchip_rk3588_evb1_lp4_v10_defconfig
5. rockchip_rk3588_evb1_lp4_v10_mcu_defconfig
6. rockchip_rk3588_evb7_v11_defconfig
7. rockchip_rk3588_ipc_evb1_v10_defconfig
8. rockchip_rk3588_ipc_evb7_lp4_v11_defconfig
9. rockchip_rk3588_multi_ipc_evb1_v10_defconfig
10. rockchip_rk3588s_evb1_lp4x_v10_defconfig
11. rockchip_rk3588s_evb4_lp4x_v10_defconfig
Which would you like? [1]: 2
Switching to defconfig: /home/wuguankang/opt/CM3588S/compact3588s-linux6.1-rkr5/device/rockchip/.chip/boardcon_rk3588s_defconfig
#
# configuration written to /home/wuguankang/opt/CM3588S/compact3588s-linux6.1-rkr5/output/.config
#
Using last kernel version(6.1)
❸ Compile uboot
1./build.sh uboot
❹ Compile kernel
1./build.sh kernel
❺ Compile recovery
1./build.sh recovery
❻ Compile rootfs
Permission: root
Note
If it is the first time compiling Debian, please install the dependency packages first. Debian compilation requires a dependent environment.
1cd debian
2sudo apt-get install binfmt-support qemu-user-static live-build
3sudo dpkg -i ubuntu-build-service/packages/*
4sudo apt-get install -f
1sudo ./build.sh debian
After compilation, linaro-rootfs.img is generated in the debian directory.
1./build.sh buildroot
❼ Generate and Check Firmwares
1./build.sh firmware
2./build.sh updateimg