From 612a349c0658695685f6aae483e1b4371308fd3f Mon Sep 17 00:00:00 2001 From: Julien BOIBESSOT Date: Thu, 25 Apr 2024 15:02:11 +0200 Subject: [PATCH] configs/armadeus_apf51: bump Linux version to 5.10.215 Since the switch to binutils 2.41 as default version [1], the arm Linux kernel build is broken with: arch/arm/mm/proc-v7.S: Assembler messages: arch/arm/mm/proc-v7.S:640: Error: junk at end of line, first unrecognized character is `#' A similar issue has already be fixed for qemu m68k [2]. Bump to the latest kernel 5.10 that already include the backport of 790756c7e022 ("ARM: 8933/1: replace Sun/Solaris style flag on section directive") Select BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y to fix the following build error: scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or directory #include [1] e88225ed8820881970ec33de7a15a1e0d50443da [2] a1ce9474e40f731f327035d8c0962abb16f00ff7 Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/6655119389 Signed-off-by: Julien BOIBESSOT [Romain: - improve commit log - Select BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL ] Signed-off-by: Romain Naour --- .../apf51/{linux-4.4.config => linux-5.10.config} | 0 configs/armadeus_apf51_defconfig | 9 +++++---- 2 files changed, 5 insertions(+), 4 deletions(-) rename board/armadeus/apf51/{linux-4.4.config => linux-5.10.config} (100%) diff --git a/board/armadeus/apf51/linux-4.4.config b/board/armadeus/apf51/linux-5.10.config similarity index 100% rename from board/armadeus/apf51/linux-4.4.config rename to board/armadeus/apf51/linux-5.10.config diff --git a/configs/armadeus_apf51_defconfig b/configs/armadeus_apf51_defconfig index aa7c2f84ae..af4562ce0f 100644 --- a/configs/armadeus_apf51_defconfig +++ b/configs/armadeus_apf51_defconfig @@ -2,8 +2,8 @@ BR2_arm=y BR2_cortex_a8=y -# Linux headers same as kernel, a 4.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y # System BR2_TARGET_GENERIC_HOSTNAME="apf51" @@ -13,13 +13,14 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.4.291" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.215" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/armadeus/apf51/linux-4.4.config" +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/armadeus/apf51/linux-5.10.config" BR2_LINUX_KERNEL_UIMAGE=y BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x90008000" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx51-apf51dev" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y # Filesystem BR2_TARGET_ROOTFS_UBIFS=y