kumquat-buildroot/configs/am574x_idk_defconfig
Romain Naour 35eb74c634 configs/am574x_idk_defconfig: new defconfig
This patch adds a basic support for AM574x Industrial Development Kit
[1].

Use multi_v7_defconfig as kernel configuration file instead of
the deprecated omap2plus_defconfig [2].

The main differences between upstream kernels and the TI vendor tree
(5.10.x based) are:

  - pru based 100M ethernet ports will not work with upstream kernels
  since the prueth driver for AM57 is not upstream yet (as of 6.8-rc2)
  [3].

  - The ARM/DSP examples provided by TI [4] will not work either since
  they requires an experimental patch [5] adding "remote-processor
  messaging sockets".

  - There is no support for the POWERVR GPU SGX544 that requires
  additional userpace vendor (closed source) libraries.

[1] https://www.ti.com/tool/TMDSIDK574
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cca9f6838bac3441a42fa906314bf5e3bff50ac5
[3] https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?id=792b57aac224416f66175c15d60379a4cf581d0f
[4] https://git.ti.com/cgit/processor-sdk/big-data-ipc-examples
[5] https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?id=f4b978a978c38149f712ddd137f12ed5fb914161

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
2024-02-08 18:13:54 +01:00

46 lines
1.2 KiB
Plaintext

# Architecture
BR2_arm=y
BR2_cortex_a15=y
# System
BR2_SYSTEM_DHCP="eth0"
# Linux headers same as kernel, a 6.6 series
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.14"
BR2_LINUX_KERNEL_DEFCONFIG="multi_v7"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/omap/am574x-idk"
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
# Filesystem
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
# Image
BR2_ROOTFS_POST_BUILD_SCRIPT="board/ti/am574x-idk/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ti/am574x-idk/genimage.cfg"
# Bootloader
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am57xx_evm"
BR2_TARGET_UBOOT_NEEDS_DTC=y
# BR2_TARGET_UBOOT_FORMAT_BIN is not set
BR2_TARGET_UBOOT_FORMAT_IMG=y
BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="MLO"
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
# Required tools to create the SD image
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_PACKAGE_HOST_MTOOLS=y