2021-10-23 09:11:58 +02:00
|
|
|
# Architecture
|
2019-08-07 16:24:56 +02:00
|
|
|
BR2_arm=y
|
|
|
|
BR2_cortex_a7=y
|
2021-10-23 09:11:58 +02:00
|
|
|
|
|
|
|
# Linux headers same as kernel, a 5.13 series
|
2021-07-15 22:47:46 +02:00
|
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y
|
2021-10-23 09:11:58 +02:00
|
|
|
|
|
|
|
# System configuration
|
2019-10-27 13:53:39 +01:00
|
|
|
BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157c-dk2/overlay/"
|
2020-10-07 16:49:43 +02:00
|
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-image.sh"
|
2021-10-23 09:11:58 +02:00
|
|
|
|
|
|
|
# Kernel
|
2019-08-07 16:24:56 +02:00
|
|
|
BR2_LINUX_KERNEL=y
|
2019-10-24 19:29:42 +02:00
|
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
2021-07-15 22:47:46 +02:00
|
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13"
|
2019-08-07 16:24:56 +02:00
|
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
2019-10-27 13:53:39 +01:00
|
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157c-dk2/linux.config"
|
2019-08-07 16:24:56 +02:00
|
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp157c-dk2"
|
|
|
|
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
2021-10-23 09:11:58 +02:00
|
|
|
|
|
|
|
# Filesystem
|
2019-08-07 16:24:56 +02: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
|
2021-10-23 09:11:58 +02:00
|
|
|
|
|
|
|
# Bootloaders
|
2020-10-07 16:49:43 +02:00
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
|
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
|
2021-07-01 23:00:03 +02:00
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5"
|
2020-10-07 16:49:43 +02:00
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1"
|
2023-11-05 19:37:17 +01:00
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157c-dk2.dtb E=0"
|
2020-10-07 16:49:43 +02:00
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="*.stm32"
|
|
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y
|
2019-08-07 16:24:56 +02:00
|
|
|
BR2_TARGET_UBOOT=y
|
|
|
|
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
2019-10-24 19:29:43 +02:00
|
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
2023-07-03 18:01:49 +02:00
|
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04"
|
2020-10-07 16:49:43 +02:00
|
|
|
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted"
|
2019-08-07 16:24:56 +02:00
|
|
|
# BR2_TARGET_UBOOT_FORMAT_BIN is not set
|
2020-10-07 16:49:43 +02:00
|
|
|
BR2_TARGET_UBOOT_FORMAT_STM32=y
|
2023-07-03 18:01:49 +02:00
|
|
|
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
|
2021-11-06 11:02:44 +01:00
|
|
|
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
|
2019-08-07 16:24:56 +02:00
|
|
|
BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp157c-dk2"
|
2021-10-23 09:11:58 +02:00
|
|
|
|
|
|
|
# Additional tools
|
2019-08-07 16:24:56 +02:00
|
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|