From 944eb00fd16b471432ee7cb4106ab9a82a2e57a5 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Thu, 20 Jan 2022 00:03:30 +0100 Subject: [PATCH] configs/pcengines_apu2_defconfig: bump kernel to 5.16 This fixes the compile errors that were present with the previous kernel version (4.19): https://gitlab.com/buildroot.org/buildroot/-/jobs/1970084022 Additionally, the defconfig file was refactored: Configuration values are now grouped logically, thus increasing readability and maintainability. Signed-off-by: Danilo Bargen Signed-off-by: Thomas Petazzoni --- configs/pcengines_apu2_defconfig | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/configs/pcengines_apu2_defconfig b/configs/pcengines_apu2_defconfig index 68cebb8f6a..0792c93c19 100644 --- a/configs/pcengines_apu2_defconfig +++ b/configs/pcengines_apu2_defconfig @@ -1,16 +1,27 @@ +# Architecture BR2_x86_64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -BR2_TARGET_GENERIC_HOSTNAME="apu2" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_SYSTEM_DHCP="eth0" + +# Kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.16" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pcengines/apu2/linux.config" + +# Default hostname and TTY +BR2_TARGET_GENERIC_HOSTNAME="apu2" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# Networking +BR2_SYSTEM_DHCP="eth0" + +# Rootfs BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_ISO9660=y BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="board/pcengines/apu2/isolinux.cfg" BR2_TARGET_ROOTFS_ISO9660_HYBRID=y # BR2_TARGET_ROOTFS_TAR is not set + +# Bootloader BR2_TARGET_SYSLINUX=y