1. build.sh 一键编译
RK3588S
source build/envsetup.sh
lunch rk3588s_s-userdebug
./build.sh -AUCKu
RK3588
source build/envsetup.sh
lunch rk3588_s-userdebug
./build.sh -AUCKu
2. kernel 单独编译
由于android12.0 无法直接烧写kernel.img 和 resource.img, 只能烧写boot.img
所以kernel 单独编译,即boot.img 单独编译
export PATH=../prebuilts/clang/host/linux-x86/clang-r416183b/bin:$PATH
make CROSS_COMPILE=aarch64-linux-gnu- LLVM=1 LLVM_IAS=1 ARCH=arm64 rockchip_defconfig android-11.config pcie_wifi.config
make CROSS_COMPILE=aarch64-linux-gnu- LLVM=1 LLVM_IAS=1 ARCH=arm64 rk3588-evb1-lp4-v10.img -j32
3.uboot 编译
./make.sh rk3588