]>
Commit | Line | Data |
---|---|---|
672807b8 KM |
1 | # architecture |
2 | BR2_arm=y | |
3 | BR2_cortex_a7=y | |
4 | ||
5 | # global patch directory | |
6 | BR2_GLOBAL_PATCH_DIR="board/octavo/osd32mp1-red/patches" | |
7 | ||
8f088e68 KM |
8 | # Linux headers same as kernel, a 5.10 series |
9 | BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y | |
672807b8 KM |
10 | |
11 | # rootfs overlay | |
12 | BR2_ROOTFS_OVERLAY="board/octavo/osd32mp1-red/overlay/" | |
13 | ||
14 | # image generation | |
15 | BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" | |
16 | BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/octavo/osd32mp1-red/genimage.cfg" | |
17 | ||
18 | # Kernel, use CUSTOM_DTS_PATH associated with INTREE_DTS_NAME to build the right | |
19 | # device-tree | |
20 | BR2_LINUX_KERNEL=y | |
21 | BR2_LINUX_KERNEL_CUSTOM_GIT=y | |
22 | BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/STMicroelectronics/linux.git" | |
8f088e68 | 23 | BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v5.10-stm32mp-r2.1" |
672807b8 KM |
24 | BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" |
25 | BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm/configs/fragment-01-multiv7_cleanup.config $(LINUX_DIR)/arch/arm/configs/fragment-02-multiv7_addons.config" | |
26 | BR2_LINUX_KERNEL_DTS_SUPPORT=y | |
8f088e68 | 27 | BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp157c-osd32mp1-red" |
672807b8 KM |
28 | BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/octavo/osd32mp1-red/linux-dts/*" |
29 | BR2_LINUX_KERNEL_INSTALL_TARGET=y | |
30 | BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y | |
31 | ||
32 | # Filesystem | |
33 | BR2_TARGET_ROOTFS_EXT2=y | |
34 | BR2_TARGET_ROOTFS_EXT2_4=y | |
35 | # BR2_TARGET_ROOTFS_TAR is not set | |
36 | ||
37 | # TF-A | |
38 | BR2_TARGET_ARM_TRUSTED_FIRMWARE=y | |
39 | BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y | |
40 | BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/STMicroelectronics/arm-trusted-firmware.git" | |
8f088e68 | 41 | BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.4-stm32mp-r1" |
672807b8 KM |
42 | BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1" |
43 | BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_DTS_PATH="board/octavo/osd32mp1-red/tfa-dts/*" | |
8f088e68 KM |
44 | BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y |
45 | BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y | |
46 | BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE="u-boot-nodtb.bin" | |
47 | BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157c-osd32mp1-red.dtb STM32MP_USB_PROGRAMMER=1 BL33_CFG=$(BINARIES_DIR)/u-boot.dtb" | |
48 | BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="*.stm32 fip.bin" | |
672807b8 KM |
49 | BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y |
50 | ||
51 | # U-Boot | |
52 | BR2_TARGET_UBOOT=y | |
53 | BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y | |
54 | BR2_TARGET_UBOOT_CUSTOM_GIT=y | |
55 | BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/STMicroelectronics/u-boot.git" | |
8f088e68 | 56 | BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="v2020.10-stm32mp-r2.1" |
672807b8 KM |
57 | BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted" |
58 | # BR2_TARGET_UBOOT_FORMAT_BIN is not set | |
8f088e68 KM |
59 | BR2_TARGET_UBOOT_FORMAT_CUSTOM=y |
60 | BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin u-boot.dtb" | |
61 | BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp157c-osd32mp1-red" | |
672807b8 KM |
62 | |
63 | # Package needed to generate the image | |
64 | BR2_PACKAGE_HOST_GENIMAGE=y |