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 xvfj rk3576_linux6.1_sdk_*.tar.bz2
2cd rk3576_linux6.1_sdk
❷ Configuration
1./build.sh lunch
Serial terminal output and options
wuguankang@boardcon:~/opt/RK3576/em3576/rk3576_linux6.1_sdk_rkr7$ ./build.sh lunch
############### Rockchip Linux SDK ###############
Manifest: rk3576_linux6.1_release_v1.3.0_20251220.xml
GIT commit: "2b7da88 Release rk3576 - 2025-12-30"
Log colors: message notice warning error fatal
Log saved at /home/wuguankang/opt/RK3576/rk3576_linux6.1_sdk_rkr7/output/sessions/2026-07-21_10-50-41
Pick a defconfig:
1. rockchip_defconfig
2. boardcon_compact3576_v1_defconfig
3. boardcon_em3576_v2_defconfig
4. boardcon_idea3576_v2_defconfig
5. boardcon_sbc3576_v2_defconfig
6. rockchip_rk3576_dv_defconfig
7. rockchip_rk3576_evb1_v10_amp_defconfig
8. rockchip_rk3576_evb1_v10_defconfig
9. rockchip_rk3576_evb1_v10_mcu_defconfig
10. rockchip_rk3576_industry_evb_v10_defconfig
11. rockchip_rk3576_ipc_evb1_v10_defconfig
12. rockchip_rk3576_multi_cvr_evb1_v10_defconfig
13. rockchip_rk3576_multi_ipc_evb1_v10_defconfig
14. rockchip_rk3576s_evb1_v10_defconfig
Which would you like? [1]: 2
❸ 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
Images and update.img are generated in rockdev/ directory.