4c9bc44534
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> [yann.morin.1998@free.fr: drop "exit $?" in post-image.sh] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
55 lines
1.9 KiB
Plaintext
55 lines
1.9 KiB
Plaintext
# Architecture
|
|
BR2_aarch64=y
|
|
BR2_ARM_FPU_VFPV3=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
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13"
|
|
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_INSTALL_TARGET=y
|
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
|
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=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_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
|
|
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y
|
|
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/kontron/pitx-imx8m/boot.cmd"
|