From patchwork Fri May 24 15:56:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Vincent_Stehl=C3=A9?= X-Patchwork-Id: 1939055 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VmCR02TrLz20dW for ; Sat, 25 May 2024 03:56:44 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 38D11833AE; Fri, 24 May 2024 17:56:41 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id EzcyA3bzDHS6; Fri, 24 May 2024 17:56:38 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 3E96382BD6 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 3E96382BD6; Fri, 24 May 2024 17:56:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id B69AE1CF2DE for ; Fri, 24 May 2024 17:56:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id A2E8F60ACF for ; Fri, 24 May 2024 17:56:36 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 2mXS7NBUQp70 for ; Fri, 24 May 2024 17:56:35 +0000 (UTC) X-Greylist: delayed 7222 seconds by postgrey-1.37 at util1.osuosl.org; Fri, 24 May 2024 17:56:33 UTC DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 7619A608F5 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 7619A608F5 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=160.92.124.110; helo=smtp-outgoing-2003.laposte.net; envelope-from=vincent.stehle@laposte.net; receiver= Received: from smtp-outgoing-2003.laposte.net (smtp-outgoing-2003.laposte.net [160.92.124.110]) by smtp3.osuosl.org (Postfix) with ESMTPS id 7619A608F5 for ; Fri, 24 May 2024 17:56:33 +0000 (UTC) X-mail-filterd: {"version":"1.7.5","queueID":"4Vm8lq1pkSzjWvm","contextId": "f2d29caa-bcf2-41ae-a9f0-9074a1ee413b"} Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0116.laposte.net (SMTP Server) with ESMTP id 4Vm8lq1pkSzjWvm; Fri, 24 May 2024 17:56:07 +0200 (CEST) X-mail-filterd: {"version":"1.7.5","queueID":"4Vm8lq17q5zjWvW","contextId": "4525b0a8-89c9-4139-86e3-c3caff459631"} X-lpn-mailing: LEGIT X-lpn-spamrating: 40 X-lpn-spamlevel: not-spam Received: from romuald.bergerie (88-169-129-225.subs.proxad.net [88.169.129.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0116.laposte.net (SMTP Server) with ESMTPSA id 4Vm8lq17q5zjWvW; Fri, 24 May 2024 17:56:07 +0200 (CEST) Received: from radicelle (radicelle.bergerie [192.168.42.3]) by romuald.bergerie (Postfix) with ESMTP id 95F775D97955; Fri, 24 May 2024 17:56:05 +0200 (CEST) Received: from vincent by radicelle with local (Exim 4.97) (envelope-from ) id 1sAXHK-000000000qG-486n; Fri, 24 May 2024 17:56:22 +0200 To: buildroot@buildroot.org Date: Fri, 24 May 2024 17:56:17 +0200 Message-ID: <20240524155617.3231-1-vincent.stehle@laposte.net> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laposte.net; s=lpn-wlmd; t=1716573391; bh=PNiHYPGWFicBoP1hi65YsjlX8EtzYiMyXDiJleoppUs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; b=mSjSyrcoC6/WEzf7yrJsGLYHLcPVWZ0TolIBf8BedHukGHzuqvaCmQ2BOYcSPCvp3cPKCu3Vdt7xEndCrDJk4C380AaSw3BDxEvHSxi6w1YYfdd7a+jt5K9uv5xIBkaV2RzBHbCMesasju6AnbADw8PiADTCYvE4bVKYhQxtweyaW3aV7EyDVEUPtj3GkmDn5GNodb4uFx3A4/EqxoP+PumWKzmbe37E+wzkLgJMS3c9Oxw2OSYyu2PBaQK8pYKTzW7w2aIzNfniAlReVxkh65BOVXrExH8a8Ete5wZqokqYoWYaXXY7buTEiOw0KRC3fOzV1HHIAazXgnYjpQBTqw==; X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=reject dis=none) header.from=laposte.net X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=laposte.net header.i=@laposte.net header.a=rsa-sha256 header.s=lpn-wlmd header.b=mSjSyrco Subject: [Buildroot] [PATCH] configs/uevm5432_defconfig: bump Linux and U-Boot X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?Vincent_Stehl=C3=A9_via_buildroot?= From: =?utf-8?q?Vincent_Stehl=C3=A9?= Reply-To: =?utf-8?q?Vincent_Stehl=C3=A9?= Cc: =?utf-8?q?Vincent_Stehl=C3=A9?= Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" - Bump Linux kernel to v6.8.10. The Devicetree has moved; update our config accordingly. - Bump U-Boot to 2023.04. This is the most recent version we can use as U-Boot 2023.07 dropped support for the uevm. OpenSSL is now required for the build. The default boot method has changed; switch to booting with an extlinux configuration to overcome this. Signed-off-by: Vincent Stehlé --- board/uevm5432/extlinux.conf | 4 ++++ board/uevm5432/genimage.cfg | 6 ++++-- board/uevm5432/post-build.sh | 6 ++++++ configs/uevm5432_defconfig | 13 +++++++------ 4 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 board/uevm5432/extlinux.conf create mode 100755 board/uevm5432/post-build.sh diff --git a/board/uevm5432/extlinux.conf b/board/uevm5432/extlinux.conf new file mode 100644 index 0000000000..50f3cd30fb --- /dev/null +++ b/board/uevm5432/extlinux.conf @@ -0,0 +1,4 @@ +label uevm5432-buildroot + kernel /zImage + fdt /omap5-uevm.dtb + append root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait console=ttyO2,115200 diff --git a/board/uevm5432/genimage.cfg b/board/uevm5432/genimage.cfg index dfe388227e..7bb90e198b 100644 --- a/board/uevm5432/genimage.cfg +++ b/board/uevm5432/genimage.cfg @@ -2,7 +2,10 @@ image boot.vfat { vfat { files = { "MLO", - "u-boot.img" + "u-boot.img", + "zImage", + "omap5-uevm.dtb", + "extlinux" } } @@ -22,6 +25,5 @@ image sdcard.img { partition rootfs { partition-type = 0x83 image = "rootfs.ext4" - size = 512M } } diff --git a/board/uevm5432/post-build.sh b/board/uevm5432/post-build.sh new file mode 100755 index 0000000000..f90f76d8b5 --- /dev/null +++ b/board/uevm5432/post-build.sh @@ -0,0 +1,6 @@ +#!/bin/sh +set -e + +BOARD_DIR="$(dirname "$0")" + +install -m 0644 -D "$BOARD_DIR"/extlinux.conf "$BINARIES_DIR"/extlinux/extlinux.conf diff --git a/configs/uevm5432_defconfig b/configs/uevm5432_defconfig index 7b9a4309c6..03dc789fa8 100644 --- a/configs/uevm5432_defconfig +++ b/configs/uevm5432_defconfig @@ -3,8 +3,8 @@ BR2_arm=y BR2_cortex_a15=y BR2_ARM_FPU_NEON_VFPV4=y -# Linux headers same as kernel, a 5.12 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y +# Linux headers same as kernel, a 6.8 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_8=y # System BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y @@ -12,17 +12,17 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttyS2" BR2_SYSTEM_DHCP="eth0" # Image +BR2_ROOTFS_POST_BUILD_SCRIPT="board/uevm5432/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/uevm5432/genimage.cfg" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.8.10" BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="omap5-uevm" -BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/omap/omap5-uevm" BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y # Filesystem @@ -34,8 +34,9 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.04" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="omap5_uevm" +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y BR2_TARGET_UBOOT_FORMAT_IMG=y BR2_TARGET_UBOOT_SPL=y BR2_TARGET_UBOOT_SPL_NAME="MLO"