From patchwork Sun Apr 7 10:34:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 1920503 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=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (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 4VC7sS5zydz1yYf for ; Sun, 7 Apr 2024 20:35:24 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 3B7154168F; Sun, 7 Apr 2024 10:35:23 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id BJnwNz1JhwWk; Sun, 7 Apr 2024 10:35:22 +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 smtp4.osuosl.org CF03F41720 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id CF03F41720; Sun, 7 Apr 2024 10:35:21 +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 030CD1BF575 for ; Sun, 7 Apr 2024 10:35:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id E3FBA608F1 for ; Sun, 7 Apr 2024 10:35:19 +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 eKueDSc1bNIH for ; Sun, 7 Apr 2024 10:35:18 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::332; helo=mail-wm1-x332.google.com; envelope-from=romain.naour@smile.fr; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 34346608E9 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 34346608E9 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by smtp3.osuosl.org (Postfix) with ESMTPS id 34346608E9 for ; Sun, 7 Apr 2024 10:35:17 +0000 (UTC) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-41663330f9dso816485e9.2 for ; Sun, 07 Apr 2024 03:35:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712486116; x=1713090916; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UpXG/DBoBxcrxSgtopykqvjlCkDgIZNngVDSzKxuqlc=; b=MXl3ecX+4pG1HMAELLG+NqfCRgHGdYXDwjcD1cGTltmV7Ik46DwrXLNgHI2jk/zgra z3PDAKr8cMdlFpdVSjMC0up9tplQ2SCjn62uAJFgzPyHhMv82HS3MRVVhKn6v13i6xax S1Bn+3qu/FFv19BzrONlJdM2ywiAF15aiPYJDT2FlDYtb6P9jHTIndDGes3DytIb2Uc/ PiChSvhPM08CsuMyiySEwlBb6r5FvltCQjkVrI8S20vOPr/oD/M3yJNKAt/ZPvXotGe0 qRYDMZnMz1Qvm3tE9zyX0ev0PkIhKtrjIRmCKKqiR7jm4h4u0C4Oda8Oa2G6alKLxvY9 /vQQ== X-Gm-Message-State: AOJu0YwP7ngjBZq6ruOYEiDJp/7LJ1MPyUJleGg1oivAStcJ7RoTK6g6 PuHEvJ344HKCYcmLoku6iC5t7P+lxXC7k1C6kVuIqgsYbutyw70eMab9sL7fg5VCyaP1GvKp9XF E X-Google-Smtp-Source: AGHT+IHq7KCcBng34/KSIXj7pwL5uDW70eLqN4WOPNfP1YjbvueoXJa1lfuDivVByTogxSLW6BibpA== X-Received: by 2002:a05:600c:539b:b0:415:5732:65d3 with SMTP id hg27-20020a05600c539b00b00415573265d3mr5080407wmb.37.1712486115830; Sun, 07 Apr 2024 03:35:15 -0700 (PDT) Received: from P-NTS-Evian.home (2a01cb05945b7e009bdc688723a24f31.ipv6.abo.wanadoo.fr. [2a01:cb05:945b:7e00:9bdc:6887:23a2:4f31]) by smtp.gmail.com with ESMTPSA id je4-20020a05600c1f8400b004149536479esm9486542wmb.12.2024.04.07.03.35.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 03:35:15 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Sun, 7 Apr 2024 12:34:53 +0200 Message-ID: <20240407103512.1112712-1-romain.naour@smile.fr> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20230601.gappssmtp.com; s=20230601; t=1712486116; x=1713090916; darn=buildroot.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=UpXG/DBoBxcrxSgtopykqvjlCkDgIZNngVDSzKxuqlc=; b=xZGdGvjt2/m0+y75uzPgBJT1X3FLGylXL2a2Have/4+qru5V/UW9qO6KN7ni49ptfJ NZz5OHX+/OjERCaBmcyj82V0s3lHRuH7IoShWy4RcsjCx6uTd0Nr4RQduVJRByhtyiVg fQIeJAZl5M0WWyFuTf/uHsdmKHHJQcb2nReylru72eXkWgbbJH3irpCaxwlIMbxxF5ni Pd6ZXuIilqoFXBEOiDoZhVec2Lk3Jq4LUR+2K112uAhfIUkVI7Ox3Z+ysq2+DhcrERWp BtlvZ6BvuykTlCk1b5YZzJ8koJKN0JLVaaEgj1WRAtIpwAC3GLv50FEFn+TtqOO4SzrJ AePg== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=smile.fr X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=smile-fr.20230601.gappssmtp.com header.i=@smile-fr.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=xZGdGvjt Subject: [Buildroot] [PATCH v12 00/16] Add support for AM62x-SK HS-FS devices 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: , Cc: Romain Naour , =?utf-8?q?Gero_Schw=C3=A4ricke?= Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" This series aims initially to fix AM62x-SK HS-FS devices but doing so would requires adding a TI legacy tool "ti-k3-core-secdev" into Buildroot. ti-k3-core-secdev is replaced by u-boot's binman tool since v2023.10 release of u-boot. Instead, we bump the BSP to use the latest u-boot release (2024.01) to use binman. Doing so requires to rework the TI K3 SoC support in Buildroot. This new version (v12) of this series remove the ti-k3 package and all SOC and SECTYPE options. As suggested by Michael Walle, copy the default tiboot3.bin and sysfw.itb (if any) if no custom file name is provided on the defconfig. Since such file name can be customized, the user must provide the complete firmware name if not using the default one. http://lists.busybox.net/pipermail/buildroot/2024-April/688943.html With the advice of Andreas Dannenberg (TI K3 architect), we switch AM62x/AM62Ax/AM64x to HS-FS by default. Tests performed on earlier revision of this series: * compiled ti_am62x_sk_defconfig * success * booted on AM62x SK EVM (E3) * success * no obvious errors in dmesg Tested-by: Gero Schwäricke Dario Binacchi (10): boot/ti-k3-r5-loader: drop hash for version 2022.10 boot/ti-k3-r5-loader: add BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN option boot/uboot: add BR2_TARGET_UBOOT_USE_BINMAN option boot/ti-k3-r5-loader: install tiboot3.bin and sysfw.itb to BINARIES_DIR configs/ti_am62x_sk_defconfig: bump U-Boot version to 2024.01 configs/ti_am62x_sk_defconfig: bump Linux version to 6.6.18 board/ti/am62x-sk: generalize post-build.sh board/ti/am62x-sk: move post-build.sh to board/ti/common/am6xx configs/ti_am64x_sk_defconfig: bump U-Boot version to 2024.01 configs/ti_am64x_sk_defconfig: bump Linux version to 6.6.18 Romain Naour (6): board/ti/am6{2,4}x-sk: add arm-trusted-firmware v2.7 hash boot/uboot: rename TI_K3_DM option to cover further TI K3 SoCs support boot/uboot: remove BR2_TARGET_UBOOT_TI_K3_DM_SOCNAME boot/ti-k3-image-gen: remove package boot/ti-k3-r5-loader: remove BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN package/ti-k3: switch AM62x/AM62Ax/AM64x to HS-FS by default Config.in.legacy | 15 ++++ DEVELOPERS | 2 - board/ti/am62x-sk/genimage.cfg | 7 +- .../arm-trusted-firmware.hash | 2 + .../patches/linux-headers/linux-headers.hash | 1 + board/ti/am62x-sk/patches/linux/linux.hash | 2 + .../ti-k3-r5-loader/ti-k3-r5-loader.hash | 2 + board/ti/am64x-sk/genimage.cfg | 7 +- .../arm-trusted-firmware.hash | 2 + .../patches/linux-headers/linux-headers.hash | 1 + board/ti/am64x-sk/patches/linux/linux.hash | 2 + .../ti-k3-r5-loader/ti-k3-r5-loader.hash | 1 + board/ti/common/am6xx/post-build.sh | 58 ++++++++++++++ boot/Config.in | 1 - boot/ti-k3-image-gen/Config.in | 77 ------------------- boot/ti-k3-image-gen/ti-k3-image-gen.hash | 3 - boot/ti-k3-image-gen/ti-k3-image-gen.mk | 54 ------------- boot/ti-k3-r5-loader/Config.in | 33 ++++++++ boot/ti-k3-r5-loader/ti-k3-r5-loader.hash | 1 - boot/ti-k3-r5-loader/ti-k3-r5-loader.mk | 40 +++++++++- boot/uboot/Config.in | 35 +++++---- boot/uboot/uboot.mk | 12 ++- configs/ti_am62x_sk_defconfig | 21 ++--- configs/ti_am64x_sk_defconfig | 20 +++-- 24 files changed, 221 insertions(+), 178 deletions(-) create mode 100644 board/ti/am62x-sk/patches/arm-trusted-firmware/arm-trusted-firmware.hash create mode 120000 board/ti/am62x-sk/patches/linux-headers/linux-headers.hash create mode 100644 board/ti/am62x-sk/patches/linux/linux.hash create mode 100644 board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash create mode 100644 board/ti/am64x-sk/patches/arm-trusted-firmware/arm-trusted-firmware.hash create mode 120000 board/ti/am64x-sk/patches/linux-headers/linux-headers.hash create mode 100644 board/ti/am64x-sk/patches/linux/linux.hash create mode 100644 board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash create mode 100755 board/ti/common/am6xx/post-build.sh delete mode 100644 boot/ti-k3-image-gen/Config.in delete mode 100644 boot/ti-k3-image-gen/ti-k3-image-gen.hash delete mode 100644 boot/ti-k3-image-gen/ti-k3-image-gen.mk --- 2.44.0