3. Compile Source

❶ Unzip source

tar xvf Idea3588_Linux6.1-20240620.tar.bz2
cd Idea3588_Linux6.1

❷ Configuration

./build.sh lunch
Pick a defconfig:

1. rockchip_defconfig
2. Boardcon-idea3588-linux-edp1_defconfig
3. rockchip_rk3588_evb1_lp4_v10_defconfig
4. rockchip_rk3588_evb7_v11_defconfig
5. rockchip_rk3588_ipc_evb1_v10_defconfig
6. rockchip_rk3588_multi_ipc_evb1_v10_defconfig
7. rockchip_rk3588s_evb1_lp4x_v10_defconfig

Which would you like? [1]: 2

Switching to defconfig:
/home/liuyuan/RK3588_LINUX/device/rockchip/.chip/Boardcon-idea3588-linux-edp1_defconfig

❸ Compile uboot

./build.sh uboot

❹ Compile kernel

./build.sh kernel

❺ Compile recovery

./build.sh recovery

❻ Compile debian.

Permission: root

cd debian
RELEASE=bookworm TARGET=desktop ARCH=arm64 ./mk-base-debian.sh
VERSION=debug ARCH=arm64 ./mk-rootfs-bookworm.sh
./mk-image.sh

After compilation, generate linaro-rootfs.img in the Debian directory.

Note

If it is the first time compiling Debian, you need to install the dependency packages. Permissions: root

Debian compilation requires a dependent environment:

cd debian
sudo apt-get install binfmt-support qemu-user-static live-build
sudo dpkg -i ubuntu-build-service/packages/*
sudo apt-get install -f

❼ Generate and check firmwares

export RK_ROOTFS_SYSTEM=debian
./build.sh firmware

Images and update.img are generated in rockdev/