Skip to content

Commit 944589e

Browse files
committed
orangepi5-plus: u-boot: use mainline ATF; bump to v2026.01; drop funky CE config options
- also drop BOOT_SUPPORT_SPI & BOOT_SPI_RKSPI_LOADER as those are for vendor u-boot, not used here
1 parent 1606887 commit 944589e

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

config/boards/orangepi5-plus.conf

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ KERNEL_TEST_TARGET="vendor,current"
1010
FULL_DESKTOP="yes"
1111
BOOT_LOGO="desktop"
1212
BOOT_FDT_FILE="rockchip/rk3588-orangepi-5-plus.dtb"
13-
BOOT_SCENARIO="spl-blobs"
14-
BOOT_SUPPORT_SPI="yes"
15-
BOOT_SPI_RKSPI_LOADER="yes"
13+
BOOT_SCENARIO="tpl-blob-atf-mainline"
1614
IMAGE_PARTITION_TABLE="gpt"
1715
declare -g UEFI_EDK2_BOARD_ID="orangepi-5plus" # This _only_ used for uefi-edk2-rk3588 extension
1816

@@ -37,10 +35,10 @@ function post_family_config__orangepi5plus_use_mainline_uboot() {
3735
declare -g BOOTCONFIG="orangepi-5-plus-rk3588_defconfig"
3836
declare -g BOOTDELAY=1
3937
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git"
40-
declare -g BOOTBRANCH="tag:v2025.10"
41-
declare -g BOOTPATCHDIR="v2025.10"
38+
declare -g BOOTBRANCH="tag:v2026.01"
39+
declare -g BOOTPATCHDIR="v2026.01"
4240
declare -g BOOTDIR="u-boot-${BOARD}"
43-
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
41+
declare -g UBOOT_TARGET_MAP="BL31=bl31.elf ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
4442
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
4543

4644
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
@@ -52,13 +50,3 @@ function post_family_config__orangepi5plus_use_mainline_uboot() {
5250
flashcp -v -p "$1/u-boot-rockchip-spi.bin" /dev/mtd0
5351
}
5452
}
55-
56-
function post_config_uboot_target__extra_configs_for_rock5b_mainline_environment_in_spi() {
57-
[[ "${BRANCH}" == "vendor" ]] && return 0
58-
59-
display_alert "$BOARD" "u-boot configs for ${BOOTBRANCH} u-boot config BRANCH=${BRANCH}" "info"
60-
run_host_command_logged scripts/config --set-val CONFIG_BOARD_RNG_SEED "y"
61-
run_host_command_logged scripts/config --set-val ARMV8_CRYPTO "y"
62-
run_host_command_logged scripts/config --set-val ARMV8_CE_SHA1 "y"
63-
run_host_command_logged scripts/config --set-val ARMV8_CE_SHA256 "y"
64-
}

0 commit comments

Comments
 (0)