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 rk3588-linux6.1-rkr7.tar.bz2
2cd rk3588-linux6.1-rkr7
❷ Configuration
1./build.sh lunch
After running ./build.sh lunch, the system will list available defconfig files. Select 2. boardcon_em3588_defconfig, this configuration ensures hardware compatibility with the EM3588 development board. Using other options may cause kernel mismatches and prevent proper booting.
xuejunchao@boardcon:~/3588/rk3588-linux6.1-rkr7$ ./build.sh lunch
Log colors: message notice warning error fatal
Log saved at /home/xuejunchao/3588/rk3588-linux6.1-rkr7/output/sessions/2026-06-04_18-04-14
Pick a defconfig:
1. rockchip_defconfig
2. boardcon_em3588_defconfig
3. boardcon_idea3588_defconfig
4. boardcon_sbc3588_defconfig
5. rockchip_rk3588_evb10_v10_defconfig
6. rockchip_rk3588_evb1_lp4_v10_amp_defconfig
7. rockchip_rk3588_evb1_lp4_v10_defconfig
8. rockchip_rk3588_evb1_lp4_v10_mcu_defconfig
9. rockchip_rk3588_evb7_v11_defconfig
10. rockchip_rk3588_ipc_evb1_v10_defconfig
11. rockchip_rk3588_ipc_evb7_lp4_v11_defconfig
12. rockchip_rk3588_multi_ipc_evb1_v10_defconfig
13. rockchip_rk3588s_evb1_lp4x_v10_defconfig
Which would you like? [1]: 2
Switching to defconfig: /home/xuejunchao/3588/rk3588-linux6.1-rkr7/device/rockchip/.chip/boardcon_em3588_defconfig
#
# configuration written to /home/xuejunchao/3588/rk3588-linux6.1-rkr7/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
After the command is completed, the image files and update.img are generated in directory rockdev/