From 0a5ef51039df56bbebb5241aa3fbb7a7aff2786f Mon Sep 17 00:00:00 2001 From: Sergey Ko Date: Wed, 12 Feb 2025 14:03:10 -0600 Subject: [PATCH] Radxa Zero, fix for overlay prefix name --- config/boards/radxa-zero.conf | 1 + config/sources/families/include/meson64_common.inc | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/config/boards/radxa-zero.conf b/config/boards/radxa-zero.conf index ab6248890c4e..c2a1e61ebcb1 100644 --- a/config/boards/radxa-zero.conf +++ b/config/boards/radxa-zero.conf @@ -13,6 +13,7 @@ FORCE_BOOTSCRIPT_UPDATE="yes" BOOT_LOGO="desktop" ASOUND_STATE="asound.state.radxa-zero" BOOT_FDT_FILE="amlogic/meson-g12a-radxa-zero.dtb" +OVERLAY_PREFIX="meson-g12a" # Newer u-boot for the Zero BOOTBRANCH_BOARD="tag:v2023.07.02" diff --git a/config/sources/families/include/meson64_common.inc b/config/sources/families/include/meson64_common.inc index 85be4f54e41a..4a15ba7c4951 100644 --- a/config/sources/families/include/meson64_common.inc +++ b/config/sources/families/include/meson64_common.inc @@ -32,6 +32,11 @@ if [[ $BOARD == lafrite ]]; then UBOOT_TARGET_MAP="u-boot-dtb.img;;u-boot.bin:u-boot.bin u-boot-dtb.img" fi +# @TODO: this is temporary measure before to figure out why it doesn't load from `config/boards/radxa-zero.conf` +if [[ $BOARD == radxa-zero ]]; then + OVERLAY_PREFIX="meson-g12a" +fi + # Set CPUMIN et al if not already set in the board config. CPUMIN=${CPUMIN:-500000} CPUMAX=${CPUMAX:-1536000}