From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 16 Sep 2026 09:40:45 +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 1x6kG4-002iGm-35 for lore@lore.pengutronix.de; Wed, 16 Sep 2026 09:40:44 +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 1x6kG3-0003wh-4o; Wed, 16 Sep 2026 09:40:43 +0200 Received: from mx1.white.stw.pengutronix.de ([2a0a:edc0:0:b01:1d::107]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1x6kFz-0003wa-4Q for distrokit@pengutronix.de; Wed, 16 Sep 2026 09:40:39 +0200 Received: from drehscheibe.grey.stw.pengutronix.de (drehscheibe.grey.stw.pengutronix.de [IPv6:2a0a:edc0:0:c01:1d::a2]) (Authenticated sender: relay-from-drehscheibe.grey.stw.pengutronix.de) by mx1.white.stw.pengutronix.de (Postfix) with ESMTPSA id 17FB8201CEF; Wed, 16 Sep 2026 09:40:39 +0200 (CEST) Received: from dude02.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::28]) 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 1x6kFz-001CO1-03; Wed, 16 Sep 2026 09:40:39 +0200 Received: from [::1] (helo=dude02.red.stw.pengutronix.de) by dude02.red.stw.pengutronix.de with esmtp (Exim 4.98.2) (envelope-from ) id 1x6kFy-00000004YoL-3nan; Wed, 16 Sep 2026 09:40:38 +0200 From: Sascha Hauer To: distrokit@pengutronix.de Date: Wed, 16 Sep 2026 09:40:37 +0200 Message-ID: <20260916074038.1087119-1-s.hauer@pengutronix.de> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH] v7a: rpi4: set bootsource 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: Sascha Hauer 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 Like other RPi boards we cannot detect the bootsource on RPi4, so add it to the missing-bootsource script. Signed-off-by: Sascha Hauer --- 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