From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 23 May 2025 15:58:29 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uISur-001uXZ-0P for lore@lore.pengutronix.de; Fri, 23 May 2025 15:58:29 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1uISuq-00038a-I8; Fri, 23 May 2025 15:58:28 +0200 Received: from mail.thorsis.com ([217.92.40.78]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1uISul-00037b-7u; Fri, 23 May 2025 15:58:23 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 15E68148155D; Fri, 23 May 2025 15:58:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thorsis.com; s=dkim; t=1748008702; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=Fs/I16YO0M1EBfH19u/zi9ycHCKOCwwyCP/NWCVRdeg=; b=LFHyS3KL8jSV4y9yiKeUa/kvPCtjIrJQO+ncU/FgK9ooDj5GS+Lsh6+nFXcZgWzqQGmVqz 3JeZjjC2h2aAI20laZI7CHrzvDnQYRxlEhH1ePjY17ETr3xqTiAsADL1Byq75wGW5ILn3r UxB07jI+QG5G+LxapB5GNKSaqPa56MVOPQYJ4xtMRnq5UTADjQ7nq4C6iBK0JL4t9IE9rj 1F1uno5n6kry8xaj5aQjiMCV0hfoWm849ZOmXPbRNJ8YazbPROsrxFWrnF4oVH5pw+41VL qkoxbyW64gNe+bKN+Iba3bYQbPDji+0rjYGMWKru8h+BtLVa9F7uJphiV1in9Q== From: Alexander Dahl To: distrokit@pengutronix.de Date: Fri, 23 May 2025 15:58:11 +0200 Message-Id: <20250523135815.2998753-1-ada@thorsis.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-3.3 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: [DistroKit] [PATCH v2 0/4] platform: v8a: barebox: Untangle firmware inject files X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lars Schmidt Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Hello Lars, everyone, this is a one year later series with previously dropped patches from another series, and basically a follow-up to those mails: - <20240425-unlivable-approval-c55177db2d5c@thorsis.com> - <20250523081049.1693633-6-l.schmidt@pengutronix.de> Picking this up now, because this was almost ready last year already, but I did not manage to rework it for resubmission. Not meant to be rude, but maybe suitable for discussing the right approach of firmware injection into different bootloader packages. When having another look, I think it was correct to drop v1, I did not go far enough with the first shot. This is done now by patch 3/4 which separates the imx-firmware injects from the tf-a injects into separate fixup packages for barebox. Patch 4/4 picks up an idea by Lars, please let me know when this should be attributed differently. Note, this is in conflict with the series "[PATCH 00/12] Add beagleplay support to DistroKit" sent earlier this week. Build tested twice on vanilla DistroKit _and_ in a custom BSP using DistroKit as a base layer and disabling most DistroKit boards. Upper layer builds U-Boot for three different i.MX8/9 based boards, depending on both firmware-imx and tf-a. v2: - 6 out of 9 patches from original series applied, series renamed - rebased remaining patches to master - reworked patch 3/4 to also break out tf-a, not only firmware-imx - added new patch 4/4 to not inject all tf-a artifacts unconditionally v1: - Link: https://lore.distrokit.org/distrokit/20240425080303.171897-1-ada@thorsis.com/ Greets Alex Alexander Dahl (4): platform: v8a: firmware-rockchip: Move barebox injects to separate package platform: v8a: barebox: Remove extra host prog platform: v8a: firmware-imx: Break out barebox injects to separate packages platform: v8a: barebox: Inject tf-a binaries conditionally configs/platform-v8a/platformconfig | 3 ++ configs/platform-v8a/platforms/barebox.imx.in | 12 ++++++++ .../platforms/barebox.rockchip.in | 14 +++++++++ .../platform-v8a/platforms/barebox.tf-a.in | 11 +++++++ .../platform-v8a/platforms/firmware-imx.in | 6 ---- .../platforms/firmware-rockchip.in | 5 ---- configs/platform-v8a/rules/barebox.imx.make | 22 ++++++++++++++ .../platform-v8a/rules/barebox.rockchip.make | 21 ++++++++++++-- configs/platform-v8a/rules/barebox.tf-a.make | 29 +++++++++++++++++++ configs/platform-v8a/rules/firmware-imx.make | 21 -------------- .../platform-v8a/rules/firmware-rockchip.make | 10 ------- 11 files changed, 110 insertions(+), 44 deletions(-) create mode 100644 configs/platform-v8a/platforms/barebox.imx.in create mode 100644 configs/platform-v8a/platforms/barebox.rockchip.in create mode 100644 configs/platform-v8a/platforms/barebox.tf-a.in create mode 100644 configs/platform-v8a/rules/barebox.imx.make create mode 100644 configs/platform-v8a/rules/barebox.tf-a.make base-commit: 89e05d18da5c3a064013b7ae7cdaa3f44ab307c1 -- 2.39.5