From 558860987324775cf11704774fdad2426a5c9cfc Mon Sep 17 00:00:00 2001 From: brooksytech <1673861+brooksytech@users.noreply.github.com> Date: Wed, 10 Apr 2024 13:37:38 +0000 Subject: [PATCH] Add OrangePi 5 Plus DTB to build --- projects/Rockchip/bootloader/update.sh | 5 +++++ projects/Rockchip/devices/RK3588/options | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/projects/Rockchip/bootloader/update.sh b/projects/Rockchip/bootloader/update.sh index 0e5dd1320..c8e70abf5 100755 --- a/projects/Rockchip/bootloader/update.sh +++ b/projects/Rockchip/bootloader/update.sh @@ -41,6 +41,11 @@ if [ -f $BOOT_ROOT/extlinux/extlinux.conf ]; then echo "Setting boot FDT to GameForce Ace..." sed -i '/FDT/c\ FDT /rk3588s-gameforce-ace.dtb' $BOOT_ROOT/extlinux/extlinux.conf ;; + *orangepi-5-plus) + echo "Setting boot FDT to Orange Pi 5 Plus..." + sed -i '/FDT/c\ FDT /rk3588s-orangepi-5-plus.dtb' $BOOT_ROOT/extlinux/extlinux.conf + sed -i 's/ fbcon=rotate:1//' $BOOT_ROOT/extlinux/extlinux.conf + ;; *orangepi-5) echo "Setting boot FDT to Orange Pi 5..." sed -i '/FDT/c\ FDT /rk3588s-orangepi-5.dtb' $BOOT_ROOT/extlinux/extlinux.conf diff --git a/projects/Rockchip/devices/RK3588/options b/projects/Rockchip/devices/RK3588/options index db25a99b3..9f8477c9e 100755 --- a/projects/Rockchip/devices/RK3588/options +++ b/projects/Rockchip/devices/RK3588/options @@ -34,7 +34,7 @@ # Single dtb settings TRUST_LABEL="trust" - DEVICE_DTB=("rk3588s-gameforce-ace" "rk3588s-orangepi-5" "rk3588-rock-5b") + DEVICE_DTB=("rk3588s-gameforce-ace" "rk3588s-orangepi-5" "rk3588-rock-5b" "rk3588-orangepi-5-plus") UBOOT_DTB="${DEVICE_DTB[0]}" UBOOT_CONFIG="orangepi_5_defconfig"