2021-06-29 12:06:31 +02:00
|
|
|
# Architecture
|
|
|
|
BR2_aarch64=y
|
|
|
|
|
|
|
|
# System
|
|
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2"
|
|
|
|
BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/kontron/pitx-imx8m/post-build.sh"
|
|
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/kontron/pitx-imx8m/post-image.sh"
|
|
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/pitx-imx8mq.dtb"
|
|
|
|
|
|
|
|
# Kernel
|
|
|
|
BR2_LINUX_KERNEL=y
|
|
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
2022-01-17 09:06:17 +01:00
|
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16.1"
|
2021-06-29 12:06:31 +02:00
|
|
|
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"
|
2022-01-17 09:06:16 +01:00
|
|
|
BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y
|
2021-06-29 12:06:31 +02:00
|
|
|
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
|
|
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
|
|
|
|
2022-01-17 09:06:17 +01:00
|
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y
|
2021-06-29 12:06:31 +02:00
|
|
|
|
|
|
|
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_TARBALL=y
|
|
|
|
BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://gitlab.kontron.com/imx/u-boot-imx/-/archive/PITX-IMX8M-R12/u-boot-imx-PITX-IMX8M-R12.tar.gz"
|
|
|
|
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pitx-imx8m"
|
|
|
|
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
|
|
|
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
|
|
|
|
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.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
|