RK3588 移植

android 12

Posted by LXG on April 15, 2023

框架图

rk3588_arch

选择合适的DTS驱动

PMIC判断

根据原理图可知使用的PMIC是rk806-1, 在驱动目录检索rk806, 选择rk3588-rk806-single.dtsi


kernel-5.10/arch/arm64/boot/dts/rockchip$ find . -name "*rk806*"
./rk3588-rk806-dual.dtsi
./rk3588-rk806-single.dtsi

检索包含rk3588-rk806-single.dtsi驱动的DTS


kernel-5.10/arch/arm64/boot/dts/rockchip$ grep -ri "rk3588-rk806-single" .

./rk3588-evb4-lp4.dtsi:#include "rk3588-rk806-single.dtsi"
./rk3588-evb7-lp4.dtsi:#include "rk3588-rk806-single.dtsi"

参考RK3588_Android12_SDK_Developer_Guide_CN.pdf

rk3588_dts

最终选定DTS rk3588-evb7-lp4-v10

device/rockchip/rk3588/rk3588_s/BoardConfig.mk


PRODUCT_KERNEL_DTS := rk3588-evb7-lp4-v10