Skip to content

Commit

Permalink
Radxa Zero, fix for overlay prefix name
Browse files Browse the repository at this point in the history
  • Loading branch information
way5 committed Feb 12, 2025
1 parent 1f69720 commit 0a5ef51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/boards/radxa-zero.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 5 additions & 0 deletions config/sources/families/include/meson64_common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 0a5ef51

Please sign in to comment.