From 2fcc395a34c6bb4ecae1e51b18ee2b729afb39c3 Mon Sep 17 00:00:00 2001 From: amazingfate Date: Tue, 30 May 2023 09:38:21 +0800 Subject: [PATCH] build uboot for rock5a with spi flash support --- config/sources/families/include/rockchip64_common.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/sources/families/include/rockchip64_common.inc b/config/sources/families/include/rockchip64_common.inc index f92133ab51..08f2b55cd3 100644 --- a/config/sources/families/include/rockchip64_common.inc +++ b/config/sources/families/include/rockchip64_common.inc @@ -197,6 +197,13 @@ prepare_boot_configuration() { fi fi + + if [[ "$BOARD" == "rock-5a" ]];then + UBOOT_TARGET_MAP=" + BL31=$RKBIN_DIR/$BL31_BLOB rock-5a-spi-rk3588s_defconfig spl/u-boot-spl.bin u-boot.itb;;rkspi_loader.img + BL31=$RKBIN_DIR/$BL31_BLOB rock-5a-rk3588s_defconfig spl/u-boot-spl.bin u-boot.itb;;idbloader.img u-boot.itb + " + fi } uboot_custom_postprocess() {