From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 26 Jul 2025 10:54:34 +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 1ufafq-003rjn-2L for lore@lore.pengutronix.de; Sat, 26 Jul 2025 10:54:34 +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 1ufafq-0007s5-3n; Sat, 26 Jul 2025 10:54:34 +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 1ufafj-0007ot-Dl; Sat, 26 Jul 2025 10:54:27 +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 1ufafj-00AMM7-0M; Sat, 26 Jul 2025 10:54:27 +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 1ufafj-00D83w-0B; Sat, 26 Jul 2025 10:54:27 +0200 From: Lars Schmidt Date: Sat, 26 Jul 2025 10:54:13 +0200 Message-Id: <20250624-beagleplay-v1-v3-0-0b515d1317cd@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIALWXhGgC/0XMTQ6CMBBA4auQWTukP4CWlfcwLiodYBJoSYsEQ 7i7jRuX3+K9AxJFpgRtcUCkjRMHn6EvBXSj9QMhu2xQQtWiURW+yA4TLZP94CZRKyKSV+NM5yA 3S6Se99/v8czuY5hxHSPZ/6VWWtykqEwpG6MbrVHiVKZunNmt94X88F5j8LyXjuA8v1A1lCejA AAA To: distrokit@pengutronix.de X-Mailer: b4 0.12.0 Subject: [DistroKit] [PATCH v3 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.1. --- Changes in v3: - rebase onto next - update barebox to v2025.06.1 - Link to v2: https://lore.distrokit.org/distrokit/20250624-am62-beagleplay-v2-0-9fcf3e67a98b@pengutronix.de/ 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.1 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: e7d27922ad21108f12368bac8edd15053e1c1edc change-id: 20250624-beagleplay-v1-32eee179d9cd Best regards, -- Lars Schmidt