Support Orange Pi CM5

This commit is contained in:
orangepi-xunlong
2023-09-25 09:48:20 +08:00
parent de53cf7b70
commit 2dbd451489
4 changed files with 22 additions and 1 deletions

View File

@@ -63,6 +63,8 @@ elif [[ $BOARDFAMILY == "rockchip-rk3588" ]]; then
BOOT_SCENARIO="${BOOT_SCENARIO:=spl-blobs}"
DDR_BLOB="${DDR_BLOB:=rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.08.bin}"
BL31_BLOB='rk35/rk3588_bl31_v1.28.elf'
#DDR_BLOB="${DDR_BLOB:=rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.12.bin}"
#BL31_BLOB='rk35/rk3588_bl31_v1.40.elf'
elif [[ $BOARD =~ orangepicm4|orangepi3b ]]; then

View File

@@ -102,6 +102,11 @@ family_tweaks_s() {
cp $EXTER/cache/sources/linuxpg "${SDCARD}"/opt/ -rfa
fi
if [[ ${BOARD} =~ orangepicm5 ]]; then
cp $EXTER/cache/sources/linuxpg "${SDCARD}"/opt/ -rfa
fi
[[ ${RELEASE} == jammy ]] && rm ${SDCARD}/etc/profile.d/orangepi-ssh-title.sh # for adbd
if [[ -f "${SDCARD}"/etc/profile.d/im-config_wayland.sh && ${DESKTOP_ENVIRONMENT} =~ xfce|kde-plasma ]]; then