From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 26 May 2026 21:37:53 +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 1wRxb7-0048hc-0d for lore@lore.pengutronix.de; Tue, 26 May 2026 21:37:53 +0200 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wRxb6-0002pn-Ls; Tue, 26 May 2026 21:37:52 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wRxb3-0002nG-Qj; Tue, 26 May 2026 21:37:49 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) 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 1wRxb3-001zPd-0e; Tue, 26 May 2026 21:37:49 +0200 Received: from [::1] (helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.98.2) (envelope-from ) id 1wRxb3-00000001DHA-2ove; Tue, 26 May 2026 21:37:49 +0200 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Tue, 26 May 2026 21:36:41 +0200 Message-ID: <20260526193736.288664-1-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH 0/9] v7a: vexpress: Switch from vexpress-a9 to virt 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: Ahmad Fatoum 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 The Vexpress support added to DistroKit was explicitly added for use with QEMU. barebox has rudimentary support for the Vexpress, but it has since been overshadowed by the more extensive support for the QEMU Virt platform. barebox commit 8a7a891c5d35 ("clk: vexpress: clk-sp810: sync with Linux"), first included with v2026.01.0 fixed a possible crash for vexpress-a15 by synchronizing the Vexpress/Versatile clock driver against the upstream version in Linux. A side effect of this is that the clock on the vexpress-a9, which we are using, is now twice as fast, so sleep 10 in barebox takes 5 seconds instead. There is a Github issue[1] to address this regression, but until that's resolved, we need to restore things to working order here. Let's use the occasion for some cleanup and switch over fully to Virt. This also has the advantage that this is similar to how we would likely implement the run command for v8 as well. Ahmad Fatoum (9): v7a: rauc: fix /dev/disk/by-usage symlinks for FairyTux 2 v7a: vexpress: do not save environment on missing-bootsource datapartition: fix regex for virtualized block devices v7a: delete non-functional run-nfs v7a: run: drop non-functional scsi option v7a: vexpress: drop non-functional 9p boot target v7a: vexpress: Switch from vexpress-a9 to virt v7a: run: do not shutdown on reboot Revert "platform-v7a: vexpress: use only one core for barebox" .../init/missing-bootsource | 5 +- .../match.of_compatible/arm,vexpress/boot/9p | 10 -- .../linux,dummy-virt/boot/qemu-virt.root-A | 4 + .../linux,dummy-virt/boot/qemu-virt.root-B | 4 + configs/platform-v7a/barebox.config | 25 ++++- .../config/images/vexpress-nor.config | 8 +- configs/platform-v7a/kernelconfig | 13 ++- configs/platform-v7a/platformconfig | 2 +- configs/platform-v7a/qemu-common | 92 ------------------- .../rules/image-vexpress-nor.make | 4 - configs/platform-v7a/run | 52 +++-------- configs/platform-v7a/run-nfs | 20 ---- projectroot/etc/rc.once.d/repart | 2 +- .../lib/udev/rules.d/90-rauc-partitions.rules | 4 +- 14 files changed, 56 insertions(+), 189 deletions(-) delete mode 100644 configs/platform-v7a/barebox-defaultenv/match.of_compatible/arm,vexpress/boot/9p create mode 100644 configs/platform-v7a/barebox-defaultenv/match.of_compatible/linux,dummy-virt/boot/qemu-virt.root-A create mode 100755 configs/platform-v7a/barebox-defaultenv/match.of_compatible/linux,dummy-virt/boot/qemu-virt.root-B delete mode 100755 configs/platform-v7a/qemu-common delete mode 100755 configs/platform-v7a/run-nfs -- 2.47.3