From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 24 Jun 2025 17:47:04 +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 1uU5rU-00Adsl-07 for lore@lore.pengutronix.de; Tue, 24 Jun 2025 17:47:04 +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 1uU5rT-0004x1-75; Tue, 24 Jun 2025 17:47:03 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1uU5rN-0004uh-Hs; Tue, 24 Jun 2025 17:46:57 +0200 Received: from dude06.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::5c]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uU5rN-0058Zm-0m; Tue, 24 Jun 2025 17:46:57 +0200 Received: from localhost ([::1] helo=dude06.red.stw.pengutronix.de) by dude06.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1uU5rN-005dSN-0R; Tue, 24 Jun 2025 17:46:57 +0200 From: Lars Schmidt Date: Tue, 24 Jun 2025 17:46:50 +0200 Message-Id: <20250624-am62-beagleplay-v2-0-9fcf3e67a98b@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAGrIWmgC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyjHQUlJIzE vPSU3UzU4B8JSMDI1MDMyMT3cRcMyPdpNTE9JzUgpzESl3jVEMTU5PkpMQUQ3MloK6CotS0zAq widGxtbUAInn5NmEAAAA= X-Change-ID: 20250624-am62-beagleplay-3e1454cbad17 To: distrokit@pengutronix.de X-Mailer: b4 0.14.2 Subject: [DistroKit] [PATCH v2 00/10] Add beagleplay support to DistroKit 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: l.schmidt@pengutronix.de 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 BeaglePlay has a multi stage boot process. It boots from a 32bit Cortex-R5 first and then continues boot on its 64bit Cortex-A. So barebox-r5 is added as first stage bootloader. TF-A needs another argument for k3. So TF-A firmware is added and can be removed, once the ptxdist version in DistroKit is updated. A patch has already been applied in ptxdist. Also a fip image is created for boot process. Some changes had to be made in kernel and barebox config for beagleplay. barebox v2025.05 included some patches which were necessary for successful boot. Barebox is updated to latest v2025.06. --- Changes in v2: - rebase onto next - remove tf-a recipe as necessary changes are now upstream - update barebox to v2025.06 - improve genimage config for beagleplay-sd-image - make adaptions to get bootchooser running - Link to v1: https://lore.distrokit.org/distrokit/20250523081049.1693633-1-l.schmidt@pengutronix.de/ --- Lars Schmidt (10): v8a: barebox: bump version v2025.03.0 -> v2025.06.0 beagleplay: k3: barebox needs part of tf-a firmware tf-a: unify handling of firmware parts for barebox beagleplay: firmware-ti: initial package beagleplay: barebox: first stage bootloader for Cortex-R5 beagleplay: fipimage: add fip image for K3 beagleplay: add full image including bootloaders and rootfs beagleplay: add initial kernel configuration beagleplay: barebox: get second boot stage running beagleplay: add initial platform config .../barebox-common-defaultenv/init/bootsource | 2 +- configs/platform-v8a/barebox-r5.config | 700 +++++++++++++++++++++ configs/platform-v8a/barebox.config | 91 ++- .../config/images/image-beagleplay.config | 55 ++ .../platform-v8a/config/images/image-fip-k3.config | 7 + configs/platform-v8a/dts/bootstate.dtsi | 22 +- configs/platform-v8a/kernelconfig | 132 +++- ...ts-tqma93xx-add-dummy-supply-to-regulator.patch | 38 -- .../platform-v8a/patches/barebox-2025.03.0/series | 1 - configs/platform-v8a/platformconfig | 18 +- configs/platform-v8a/platforms/barebox-r5.in | 15 + configs/platform-v8a/platforms/firmware-ti.in | 7 + configs/platform-v8a/platforms/image-beagleplay.in | 12 + configs/platform-v8a/platforms/image-fip-k3.in | 10 + configs/platform-v8a/platforms/tf-a-barebox.in | 7 + configs/platform-v8a/rules/barebox-r5.make | 99 +++ configs/platform-v8a/rules/firmware-imx.make | 7 - configs/platform-v8a/rules/firmware-ti.make | 67 ++ configs/platform-v8a/rules/image-beagleplay.make | 39 ++ configs/platform-v8a/rules/image-fip-k3.make | 39 ++ configs/platform-v8a/rules/tf-a.barebox.make | 5 + 21 files changed, 1279 insertions(+), 94 deletions(-) --- base-commit: da91ea7105bf73451fced4691f7b9a84677dc639 change-id: 20250624-am62-beagleplay-3e1454cbad17 Best regards, -- Lars Schmidt