Radxa Zero, fix for overlay prefix name (#7826)

This commit is contained in:
Sergey Ko 2025-02-16 11:38:47 -06:00 committed by GitHub
parent 1f69720656
commit 62f72f4566
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -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"

View File

@ -14,6 +14,11 @@ CPUMIN=1000000
CPUMAX=1800000
GOVERNOR=ondemand
# @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
uboot_custom_postprocess() {
if [[ $BOARD == radxa-zero ]]; then
uboot_g12_postprocess "$SRC"/cache/sources/amlogic-boot-fip/radxa-zero g12a