![Dagg Stompler](/assets/img/avatar_default.png)
as the current kernel version used for this board is 5.7, make sure that the host kernel version is the same to prevent build failure due to version miss match. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/779210973 Signed-off-by: Dagg Stompler <daggs@gmx.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
# Architecture
|
|
BR2_aarch64=y
|
|
|
|
# Linux headers same as kernel, a 5.7 series
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y
|
|
|
|
# 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"
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07"
|
|
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
|
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"
|
|
|
|
# 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
|