diff --git a/config/sources/families/bcm2711.conf b/config/sources/families/bcm2711.conf index ee493dafd952..3ad4bead88d9 100644 --- a/config/sources/families/bcm2711.conf +++ b/config/sources/families/bcm2711.conf @@ -7,6 +7,7 @@ # https://github.com/armbian/build/ # declare -g LINUXFAMILY=bcm2711 +declare -g OVERLAY_DIR="/boot/dtb/broadcom/overlay" declare -g ARCH=arm64 declare -g UEFI_FS_LABEL="RPICFG" # Windows/Mac users will see this if they mount the SD card. Configurable, but should be uppercase always declare -g CPUMIN=500000 diff --git a/config/sources/families/include/imx8_common.inc b/config/sources/families/include/imx8_common.inc index e9fbbd5a70cc..4c4378db46a0 100644 --- a/config/sources/families/include/imx8_common.inc +++ b/config/sources/families/include/imx8_common.inc @@ -9,6 +9,7 @@ ARCH="arm64" KERNEL_IMAGE_TYPE="Image" +OVERLAY_DIR="/boot/dtb/freescale/overlay" SRC_EXTLINUX="yes" # use extlinux as default IMX_FIRMWARE="${IMX_FIRMWARE:-"firmware-imx-8.12"}" # ATF_PLAT musst set in board diff --git a/config/sources/families/include/meson64_common.inc b/config/sources/families/include/meson64_common.inc index f93058797861..b4048771e4be 100644 --- a/config/sources/families/include/meson64_common.inc +++ b/config/sources/families/include/meson64_common.inc @@ -16,6 +16,7 @@ SRC_LOADADDR='LOADADDR=0x1080000' BOOTBRANCH="${BOOTBRANCH_BOARD:-"tag:v2022.07"}" BOOTPATCHDIR="${BOOTPATCHDIR:-"v2022.07"}" OVERLAY_PREFIX='meson' +OVERLAYDIR="/boot/dtb/amlogic/overlay" # This is an extension method, put directly in meson64_common. A "built-in" extension if you will. # Bring in LibreELEC's amlogic-boot-fip repo, which is the authoritative source for FIP blobs. diff --git a/config/sources/families/include/rockchip64_common.inc b/config/sources/families/include/rockchip64_common.inc index da6fd8dd0f35..33e5d2851198 100644 --- a/config/sources/families/include/rockchip64_common.inc +++ b/config/sources/families/include/rockchip64_common.inc @@ -14,6 +14,7 @@ BOOTENV_FILE='rockchip64.txt' UBOOT_TARGET_MAP=";;idbloader.bin uboot.img trust.bin" BOOTDELAY=0 OVERLAY_PREFIX="${OVERLAY_PREFIX:-"rockchip"}" # default to 'rockchip' if not set by board +OVERLAY_DIR="/boot/dtb/rockchip/overlay" # SERIALCON is handled/defaulted in hook post_family_config__900_late_default_serial_console_by_branch at end of this file GOVERNOR="ondemand" ATFPATCHDIR='atf-rockchip64' diff --git a/config/sources/families/include/sunxi64_common.inc b/config/sources/families/include/sunxi64_common.inc index 90836ab4877e..003a811bd3ab 100644 --- a/config/sources/families/include/sunxi64_common.inc +++ b/config/sources/families/include/sunxi64_common.inc @@ -14,8 +14,9 @@ declare -g BOOTDELAY=1 declare -g BOOTPATCHDIR="${BOOTPATCHDIR:-"u-boot-sunxi"}" declare -g BOOTBRANCH="${BOOTBRANCH:-"tag:v2024.01"}" declare -g BOOTENV_FILE='sunxi.txt' -UBOOT_TARGET_MAP="${UBOOT_TARGET_MAP:-BINMAN_ALLOW_MISSING=1;;u-boot-sunxi-with-spl.bin}" +declare -g UBOOT_TARGET_MAP="${UBOOT_TARGET_MAP:-BINMAN_ALLOW_MISSING=1;;u-boot-sunxi-with-spl.bin}" declare -g BOOTSCRIPT='boot-sun50i-next.cmd:boot.cmd' +declare -g OVERLAYDIR="/boot/dtb/allwinner/overlay" declare -g LINUXFAMILY=sunxi64 # shellcheck source=config/sources/families/include/crust_firmware.inc diff --git a/config/sources/families/k3.conf b/config/sources/families/k3.conf index 3b707ae5cb47..c4576c9785fe 100644 --- a/config/sources/families/k3.conf +++ b/config/sources/families/k3.conf @@ -9,7 +9,7 @@ declare -g ARCH="arm64" declare -g LINUXFAMILY="k3" - +declare -g OVERLAY_DIR="/boot/dtb/ti/overlay" declare -g ATFBRANCH="tag:v2.10.0" declare -g BOOTBRANCH="tag:v2023.10-rc3" diff --git a/config/sources/families/mvebu64.conf b/config/sources/families/mvebu64.conf index 637629098ab8..90b0a97d45f2 100644 --- a/config/sources/families/mvebu64.conf +++ b/config/sources/families/mvebu64.conf @@ -25,6 +25,7 @@ BOOTBRANCH='tag:v2023.01' BOOTPATCHDIR='v2023.01' BOOTENV_FILE='mvebu64.txt' BOOTSCRIPT_OUTPUT='boot.scr' +OVERLAY_DIR="/boot/dtb/marvell/overlay" ATFSOURCE='https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git' ATFDIR='arm-trusted-firmware-espressobin' ATFBRANCH='tag:v2.8' diff --git a/config/sources/families/sm8250.conf b/config/sources/families/sm8250.conf index e02bb87177c8..5546514cdbd1 100644 --- a/config/sources/families/sm8250.conf +++ b/config/sources/families/sm8250.conf @@ -8,6 +8,7 @@ # declare -g LINUXFAMILY="sm8250" +declare -g OVERLAY_DIR="/boot/dtb/qcom/overlay" declare -g ARCH="arm64" declare -g BOOTENV_FILE="qcom-abl.txt" enable_extension "image-output-abl" diff --git a/lib/functions/bsp/armbian-bsp-cli-deb.sh b/lib/functions/bsp/armbian-bsp-cli-deb.sh index 20b5e5dac4cd..1b90051ee488 100644 --- a/lib/functions/bsp/armbian-bsp-cli-deb.sh +++ b/lib/functions/bsp/armbian-bsp-cli-deb.sh @@ -106,6 +106,7 @@ function compile_armbian-bsp-cli() { KERNEL_IMAGE_TYPE=$KERNEL_IMAGE_TYPE FORCE_BOOTSCRIPT_UPDATE=$FORCE_BOOTSCRIPT_UPDATE FORCE_UBOOT_UPDATE=$FORCE_UBOOT_UPDATE + OVERLAYDIR="$OVERLAYDIR" VENDOR="$VENDOR" VENDORDOCS="$VENDORDOCS" VENDORURL="$VENDORURL"