2020-07-18 00:46:42 +08:00
|
|
|
# Architecture
|
|
|
|
BR2_aarch64=y
|
|
|
|
|
2020-10-10 20:56:48 +08:00
|
|
|
# Linux headers same as kernel, a 5.7 series
|
|
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y
|
|
|
|
|
2020-07-18 00:46:42 +08:00
|
|
|
# System
|
|
|
|
BR2_TARGET_GENERIC_HOSTNAME="odroidc2"
|
|
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyAML0"
|
|
|
|
BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y
|
|
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
|
|
BR2_ROOTFS_OVERLAY="board/hardkernel/odroidc2/rootfs_overlay"
|
|
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/hardkernel/odroidc2/post-image.sh"
|
|
|
|
|
|
|
|
# Kernel
|
|
|
|
BR2_LINUX_KERNEL=y
|
|
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.7"
|
|
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="amlogic/meson-gxbb-odroidc2"
|
|
|
|
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
|
|
|
|
|
|
|
|
# U-Boot
|
|
|
|
BR2_TARGET_UBOOT=y
|
|
|
|
BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY=y
|
|
|
|
BR2_TARGET_UBOOT_BOARDNAME="odroid-c2"
|
2020-09-07 03:38:31 +08:00
|
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
|
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07"
|
2020-07-18 00:46:42 +08:00
|
|
|
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
2020-10-07 21:20:51 +08:00
|
|
|
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
|
|
|
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y
|
|
|
|
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/hardkernel/odroidc2/boot.cmd"
|
2020-07-18 00:46:42 +08:00
|
|
|
|
|
|
|
# Firmware
|
|
|
|
BR2_PACKAGE_ODROIDC2_FIRMWARE=y
|
|
|
|
|
|
|
|
# Required tools to create the SD image
|
|
|
|
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
|
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|
|
|
|
BR2_PACKAGE_HOST_MESON_TOOLS=y
|
|
|
|
BR2_PACKAGE_HOST_MTOOLS=y
|