From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 23 May 2025 10:10:55 +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 1uINUV-001pPA-2A for lore@lore.pengutronix.de; Fri, 23 May 2025 10:10:55 +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 1uINUV-0001Rm-3a; Fri, 23 May 2025 10:10:55 +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 1uINUT-0001RU-Nw; Fri, 23 May 2025 10:10:53 +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 1uINUT-000rzW-1n; Fri, 23 May 2025 10:10:53 +0200 Received: from lsc by dude06.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1uINUT-007Ay9-1a; Fri, 23 May 2025 10:10:53 +0200 From: Lars Schmidt To: distrokit@pengutronix.de Date: Fri, 23 May 2025 10:10:37 +0200 Message-Id: <20250523081049.1693633-1-l.schmidt@pengutronix.de> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH 00/12] 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: 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 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. Lars Schmidt (12): v8a: barebox: bump version v2025.03.0 -> v2025.05.0 beagleplay: tf-a: needs adaption for k3 boards tf-a: k3 needs an additional compile argument 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: update config for beagleplay beagleplay: add initial platform config configs/platform-v8a/barebox-r5.config | 700 ++++++++++++++++++ configs/platform-v8a/barebox.config | 89 ++- .../config/images/image-beagleplay.config | 43 ++ .../config/images/image-fip-k3.config | 7 + configs/platform-v8a/kernelconfig | 132 +++- configs/platform-v8a/platformconfig | 74 +- configs/platform-v8a/platforms/barebox-r5.in | 15 + configs/platform-v8a/platforms/firmware-ti.in | 7 + .../platforms/image-beagleplay.in | 11 + .../platform-v8a/platforms/image-fip-k3.in | 10 + .../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 ++ .../platform-v8a/rules/image-beagleplay.make | 39 + configs/platform-v8a/rules/image-fip-k3.make | 39 + configs/platform-v8a/rules/tf-a.barebox.make | 20 + configs/platform-v8a/rules/tf-a.make | 117 +++ 18 files changed, 1403 insertions(+), 80 deletions(-) create mode 100644 configs/platform-v8a/barebox-r5.config create mode 100644 configs/platform-v8a/config/images/image-beagleplay.config create mode 100644 configs/platform-v8a/config/images/image-fip-k3.config create mode 100644 configs/platform-v8a/platforms/barebox-r5.in create mode 100644 configs/platform-v8a/platforms/firmware-ti.in create mode 100644 configs/platform-v8a/platforms/image-beagleplay.in create mode 100644 configs/platform-v8a/platforms/image-fip-k3.in create mode 100644 configs/platform-v8a/platforms/tf-a-barebox.in create mode 100644 configs/platform-v8a/rules/barebox-r5.make create mode 100644 configs/platform-v8a/rules/firmware-ti.make create mode 100644 configs/platform-v8a/rules/image-beagleplay.make create mode 100644 configs/platform-v8a/rules/image-fip-k3.make create mode 100644 configs/platform-v8a/rules/tf-a.barebox.make create mode 100644 configs/platform-v8a/rules/tf-a.make -- 2.39.5