3. Compile Source
❶ Unzip source.
tar xvf ida3588-android13-240726.tar.gz
cd android-13.0/
❷ Compile uboot.
cd u-boot
./make.sh rk3588
❸ Compile kernel.
cd kernel-5.10/
export PATH=../prebuilts/clang/host/linux-x86/clang-r450784d/bin:$PATH
alias msk='make CROSS_COMPILE=aarch64-linux-gnu- LLVM=1 LLVM_IAS=1'
msk ARCH=arm64 rockchip_defconfig android-13.config pcie_wifi.config
msk ARCH=arm64 rk3588-evb1-lp4-v10.img -j8
Except for first compilation, complie as follow if only update kernel. After compiling, user can directly flash boot.img
in the current directory.
cd kernel-5.10/
export PATH=../prebuilts/clang/host/linux-x86/clang-r450784d/bin:$PATH
alias msk='make CROSS_COMPILE=aarch64-linux-gnu- LLVM=1 LLVM_IAS=1'
msk ARCH=arm64 rockchip_defconfig android-13.config pcie_wifi.config //If the configuration file is not modified rockchip_defconfig, this directive is not compiled
msk ARCH=arm64 BOOT_IMG=../rockdev/Image-rk3588_t/boot.img rk3588-evb1-lp4-v10.img -j12
❹ Compile Android.
source build/envsetup.sh
lunch rk3588_t-userdebug
make -j12
❺ Generated image files.
./mkimage.sh
./build.sh -u //packaged into the update.img
Images
and update.img
are generated in current directory.