2023-12-19 13:15:04 +01:00
|
|
|
# Architecture
|
2021-02-07 22:52:27 +01:00
|
|
|
BR2_arm=y
|
|
|
|
BR2_cortex_a7=y
|
2023-12-19 13:15:04 +01:00
|
|
|
|
|
|
|
# Linux headers same as kernel, a 5.8 series
|
2024-03-19 13:23:43 +01:00
|
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
|
2023-12-19 13:15:04 +01:00
|
|
|
|
|
|
|
# System configuration
|
2021-02-07 22:52:27 +01:00
|
|
|
BR2_ROOTFS_OVERLAY="board/arrow/avenger96/overlay/"
|
|
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-image.sh"
|
2023-12-19 13:15:04 +01:00
|
|
|
|
|
|
|
# Kernel
|
2021-02-07 22:52:27 +01:00
|
|
|
BR2_LINUX_KERNEL=y
|
|
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
2024-03-19 13:23:43 +01:00
|
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.22"
|
2021-02-07 22:52:27 +01:00
|
|
|
BR2_LINUX_KERNEL_DEFCONFIG="multi_v7"
|
|
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
2024-03-19 13:23:43 +01:00
|
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="st/stm32mp157a-dhcor-avenger96"
|
2021-02-07 22:52:27 +01:00
|
|
|
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
2021-02-11 14:23:11 +01:00
|
|
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
2023-12-19 13:15:04 +01:00
|
|
|
|
|
|
|
# Filesystem
|
2021-02-07 22:52:27 +01:00
|
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
|
|
BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
|
|
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
2023-12-19 13:15:04 +01:00
|
|
|
|
|
|
|
# Bootloaders
|
2021-02-07 22:52:27 +01:00
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
|
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
|
2024-03-19 13:23:44 +01:00
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="lts-v2.8.16"
|
2021-02-07 22:52:27 +01:00
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1"
|
2023-12-19 13:15:04 +01:00
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y
|
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
|
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y
|
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE="u-boot-nodtb.bin"
|
2024-03-19 13:23:44 +01:00
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157a-dhcor-avenger96.dtb BL33_CFG=$(BINARIES_DIR)/u-boot.dtb"
|
2023-12-19 13:15:04 +01:00
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="fip.bin *.stm32"
|
2021-02-07 22:52:27 +01:00
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y
|
|
|
|
BR2_TARGET_UBOOT=y
|
|
|
|
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
|
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
2024-03-19 13:23:42 +01:00
|
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01"
|
2021-02-07 22:52:27 +01:00
|
|
|
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted"
|
|
|
|
# BR2_TARGET_UBOOT_FORMAT_BIN is not set
|
2023-12-19 13:15:04 +01:00
|
|
|
BR2_TARGET_UBOOT_FORMAT_DTB=y
|
|
|
|
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
|
|
|
|
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin"
|
2021-02-07 22:52:27 +01:00
|
|
|
BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp15xx-dhcor-avenger96"
|
2023-12-19 13:15:04 +01:00
|
|
|
|
|
|
|
# Additional tools
|
2021-02-07 22:52:27 +01:00
|
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|