20240606更新Toybrick的TB-RK3588开发板在Android12下的内核
2024/6/6 10:51
0、整体编译:
1、cat android12-rk-outside.tar.gz* | tar -xzv
2、cd android12
3、. build/envsetup.sh
4、lunch rk3588_s-userdebug
5、./build.sh -AUCKu -d rk3588-toybrick-x0-android
MD5:
d04ef6cbe0b41cb739f8ce7ceaa4acd1 android12-rk-outside.tar.gz00
7e5e8aa60e5f9ae4f4f75ec2aca65fe2 android12-rk-outside.tar.gz01
ac5aff55ab0f17df0b68191f2af1b753 android12-rk-outside.tar.gz02
20735f6bd34cc2d45978c1548ddb1e97 android12-rk-outside.tar.gz03
602a97d9b7e21c247c1f15770f4276da android12-rk-outside.tar.gz04
46b5ca8ffdb6055770846200e341fd45 android12-rk-outside.tar.gz05
6dd709b2a39a4a99d6b5e15ec115cd00 android12-rk-outside.tar.gz06
1e40214c924dcbda4e3d92769c8e6a83 android12-rk-outside.tar.gz07
1783bdbd5953f8a97c7545c385ea0832 android12-rk-outside.tar.gz08
808a9e39d120a396fd348f051aaca846 android12-rk-outside.tar.gz09
42d6fcdf443414d7c83cc6b867cff96e android12-rk-outside.tar.gz10
72205d3386297dc1ca59277245af0982 android12-rk-outside.tar.gz11
cb78fe01e5a0f129662b9c8ecebd6dc9 android12-rk-outside.tar.gz12
2ad3c0305c7a9f2cf2774c2cd618ba67 android12-rk-outside.tar.gz13
1c6d72677a302cf5edf4ad338e2413ce android12-rk-outside.tar.gz14
54ba43db84a6f534488bec0a72a600ec android12-rk-outside.tar.gz15
5ece393d493ab68f63ed5713f10ed3f4 android12-rk-outside.tar.gz16
66c550a6af9d46e3105a3a3b026d5f6f android12-rk-outside.tar.gz17
91186a9c4d02487368e9e01c9a865e11 android12-rk-outside.tar.gz18
dc58f94d2524699632776128ab3cff3d android12-rk-outside.tar.gz19
f0fcf384ca98d0008172972432f57404 android12-rk-outside.tar.gz20
d844f8590997865850ecb49a40abaa1c android12-rk-outside.tar.gz21
e48c227de880e06a76f85ba248442eba android12-rk-outside.tar.gz22
1、分步骤编译编译:
Y:\android12-rk-outside\RKDocs\android\《RK3588_Android12_SDK_Developer_Guide_CN.pdf》
原厂的开发板rk3588-evb1-lp4-v10单独编译内核的方式:
cd kernel-5.10
export PATH=../prebuilts/clang/host/linux-x86/clang-r416183b/bin:$PATH
alias msk='make CROSS_COMPILE=aarch64-linux-gnu- LLVM=1 LLVM_IAS=1'
msk ARCH=arm64 rockchip_defconfig android-11.config pcie_wifi.config
msk ARCH=arm64 BOOT_IMG=../rockdev/Image-rk3588_s/boot.img rk3588-evb1-lp4-v10.img -j16
cd kernel-5.10
export PATH=../prebuilts/clang/host/linux-x86/clang-r416183b/bin:$PATH
alias msk='make CROSS_COMPILE=aarch64-linux-gnu- LLVM=1 LLVM_IAS=1'
msk ARCH=arm64 rockchip_defconfig android-11.config pcie_wifi.config -j36
msk ARCH=arm64 BOOT_IMG=../rockdev/Image-rk3588_s/boot.img rk3588-toybrick-x0-android.img -j36
u-boot编译:
./make.sh rk3588
Android编译:
source build/envsetup.sh
lunch rk3588_s-userdebug
make -j36
rootroot@rootroot-desktop:~/android12-rk-outside$ ./mkimage.sh
rootroot@rootroot-desktop:~/android12-rk-outside$ ./build.sh -u
使用RKDevTool_v3.15_for_window即可刷机了!
参考资料:
TB-RK3588X Android12 SDK链接:
https://pan.baidu.com-s/114-3uHRyLKRUKw4PV1XWag?pwd=D4Q6