DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH] v7a: rpi4: set bootsource
@ 2026-09-16  7:40 Sascha Hauer
  0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2026-09-16  7:40 UTC (permalink / raw)
  To: distrokit; +Cc: Sascha Hauer

Like other RPi boards we cannot detect the bootsource on RPi4, so add it
to the missing-bootsource script.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 configs/platform-v7a/barebox-defaultenv/init/missing-bootsource | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/platform-v7a/barebox-defaultenv/init/missing-bootsource b/configs/platform-v7a/barebox-defaultenv/init/missing-bootsource
index b7b4f41..04429f0 100644
--- a/configs/platform-v7a/barebox-defaultenv/init/missing-bootsource
+++ b/configs/platform-v7a/barebox-defaultenv/init/missing-bootsource
@@ -2,6 +2,8 @@
 
 if of_compatible -k raspberrypi,3-model-b; then
 	realbootsource="disk0";
+elif of_compatible -k raspberrypi,4-model-b; then
+	realbootsource="disk0";
 elif of_compatible -k linux,dummy-virt; then
 	realbootsource="qemu-virt";
 fi
-- 
2.47.3




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-16  7:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-16  7:40 [DistroKit] [PATCH] v7a: rpi4: set bootsource Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox