b51ad28b62
Switch U-Boot from vendor downstream version to upstream. Since the upstream U-Boot uses binman to build the bootable binary (flash.bin) the need for the iMX specifc prepare script is no longer required. Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
59 lines
1.8 KiB
Plaintext
59 lines
1.8 KiB
Plaintext
# Architecture
|
|
BR2_aarch64=y
|
|
|
|
# System
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2"
|
|
BR2_ROOTFS_POST_BUILD_SCRIPT="board/kontron/pitx-imx8m/post-build.sh"
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg"
|
|
|
|
# Kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.17.7"
|
|
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mq-kontron-pitx-imx8m"
|
|
BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y
|
|
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
|
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_17=y
|
|
|
|
BR2_PACKAGE_FREESCALE_IMX=y
|
|
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y
|
|
BR2_PACKAGE_FIRMWARE_IMX=y
|
|
|
|
# Filesystem / image
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
|
|
|
|
# Bootloader
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5"
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mq"
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
|
|
BR2_TARGET_UBOOT=y
|
|
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04"
|
|
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="kontron_pitx_imx8m"
|
|
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
|
BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
|
|
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
|
|
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
|
|
BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y
|
|
BR2_TARGET_UBOOT_NEEDS_ATF_BL31_BIN=y
|
|
BR2_TARGET_UBOOT_NEEDS_IMX_FIRMWARE=y
|
|
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
|
|
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="flash.bin"
|
|
BR2_TARGET_UBOOT_SPL=y
|
|
|
|
# Required host tools to create the SD/eMMC image
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|
|
BR2_PACKAGE_HOST_IMX_MKIMAGE=y
|
|
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
|
BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y
|