From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 11 Jul 2024 13:01:50 +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 1sRrYc-003jXs-2O for lore@lore.pengutronix.de; Thu, 11 Jul 2024 13:01:50 +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 1sRrYc-0001rJ-7v; Thu, 11 Jul 2024 13:01:50 +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 1sRrYX-0001pz-22; Thu, 11 Jul 2024 13:01:45 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sRrYW-008kHP-LU; Thu, 11 Jul 2024 13:01:44 +0200 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1sRrYW-001yQ6-1o; Thu, 11 Jul 2024 13:01:44 +0200 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Thu, 11 Jul 2024 13:01:42 +0200 Message-Id: <20240711110143.470379-3-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240711110143.470379-1-a.fatoum@pengutronix.de> References: <20240711110143.470379-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH 3/4] v7a: barebox: don't use root=PARTUUID= when booting from SD/eMMC 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 stm32mp images may be written to both SD and eMMC, so it's important that barebox identifies the boot medium uses for root= unambiguously and not via PARTUUID= which may be equal if the exact same image is written to both SD and eMMC Signed-off-by: Ahmad Fatoum --- configs/platform-v7a/barebox-stm32mp.config | 2 +- configs/platform-v7a/barebox-stm32mp.config.diff | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configs/platform-v7a/barebox-stm32mp.config b/configs/platform-v7a/barebox-stm32mp.config index afba652187a9..0de53381925b 100644 --- a/configs/platform-v7a/barebox-stm32mp.config +++ b/configs/platform-v7a/barebox-stm32mp.config @@ -171,7 +171,7 @@ CONFIG_BOOTM_FITIMAGE=y # CONFIG_BOOTM_FITIMAGE_SIGNATURE is not set CONFIG_BLSPEC=y CONFIG_FLEXIBLE_BOOTARGS=y -# CONFIG_MMCBLKDEV_ROOTARG is not set +CONFIG_MMCBLKDEV_ROOTARG=y CONFIG_BAREBOX_UPDATE=y CONFIG_SYSTEM_PARTITIONS=y CONFIG_IMD=y diff --git a/configs/platform-v7a/barebox-stm32mp.config.diff b/configs/platform-v7a/barebox-stm32mp.config.diff index 6c285c6793bc..23f80f70d3ee 100644 --- a/configs/platform-v7a/barebox-stm32mp.config.diff +++ b/configs/platform-v7a/barebox-stm32mp.config.diff @@ -99,7 +99,6 @@ CONFIG_MFD_STM32_TIMERS=y CONFIG_MFD_STPMIC1=y CONFIG_MFD_SYSCON=y CONFIG_MICREL_PHY=y -# CONFIG_MMCBLKDEV_ROOTARG is not set # CONFIG_MTD is not set # CONFIG_MTD_CONCAT is undefined # CONFIG_MTD_DATAFLASH is undefined -- 2.39.2