From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 03 Nov 2023 23:53:07 +0100 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.94.2) (envelope-from ) id 1qz32J-000EOx-JB for lore@lore.pengutronix.de; Fri, 03 Nov 2023 23:53:07 +0100 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 1qz32G-0008Vl-Bd; Fri, 03 Nov 2023 23:53:04 +0100 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 1qz329-0008KB-N8; Fri, 03 Nov 2023 23:52:57 +0100 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.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 1qz329-006QH6-6Y; Fri, 03 Nov 2023 23:52:57 +0100 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qz329-005f1B-0O; Fri, 03 Nov 2023 23:52:57 +0100 From: Roland Hieber To: distrokit@pengutronix.de Date: Fri, 3 Nov 2023 23:52:53 +0100 Message-Id: <20231103225253.1349209-11-rhi@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231103225253.1349209-1-rhi@pengutronix.de> References: <20231103225253.1349209-1-rhi@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH v2 10/10] v7a: barebox: bootchooser: use GPT partition labels 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: Roland Hieber 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 Now that every image is in GPT format, we can use the devnodes that include the partition label instead of the partition number to boot our rootfs. These names are more readable and also more robust against changing the order of the partitions. Make the change on all bareboxes that didn't have that yet. Signed-off-by: Roland Hieber --- .../barebox-am335x-defaultenv/nv/bootchooser.system0.boot | 2 +- .../barebox-am335x-defaultenv/nv/bootchooser.system1.boot | 2 +- .../barebox-mx6-defaultenv/nv/bootchooser.system0.boot | 2 +- .../barebox-mx6-defaultenv/nv/bootchooser.system1.boot | 2 +- .../barebox-rpi2-defaultenv/nv/bootchooser.system0.boot | 2 +- .../barebox-rpi2-defaultenv/nv/bootchooser.system1.boot | 2 +- .../barebox-vexpress-defaultenv/nv/bootchooser.system0.boot | 2 +- .../barebox-vexpress-defaultenv/nv/bootchooser.system1.boot | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.system0.boot b/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.system0.boot index a6746c31d982..c0c541c8b2a3 100644 --- a/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.system0.boot +++ b/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.system0.boot @@ -1 +1 @@ -mmc0.1 +mmc0.root-A diff --git a/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.system1.boot b/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.system1.boot index ecdf1ba55ad6..1d40e339c2fe 100644 --- a/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.system1.boot +++ b/configs/platform-v7a/barebox-am335x-defaultenv/nv/bootchooser.system1.boot @@ -1 +1 @@ -mmc0.2 +mmc0.root-B diff --git a/configs/platform-v7a/barebox-mx6-defaultenv/nv/bootchooser.system0.boot b/configs/platform-v7a/barebox-mx6-defaultenv/nv/bootchooser.system0.boot index 597dd55b4974..d2ab6841f086 100644 --- a/configs/platform-v7a/barebox-mx6-defaultenv/nv/bootchooser.system0.boot +++ b/configs/platform-v7a/barebox-mx6-defaultenv/nv/bootchooser.system0.boot @@ -1 +1 @@ -mmc2.0 +mmc2.root-A diff --git a/configs/platform-v7a/barebox-mx6-defaultenv/nv/bootchooser.system1.boot b/configs/platform-v7a/barebox-mx6-defaultenv/nv/bootchooser.system1.boot index 069ba3685643..2c9bc29fb9a1 100644 --- a/configs/platform-v7a/barebox-mx6-defaultenv/nv/bootchooser.system1.boot +++ b/configs/platform-v7a/barebox-mx6-defaultenv/nv/bootchooser.system1.boot @@ -1 +1 @@ -mmc2.1 +mmc2.root-B diff --git a/configs/platform-v7a/barebox-rpi2-defaultenv/nv/bootchooser.system0.boot b/configs/platform-v7a/barebox-rpi2-defaultenv/nv/bootchooser.system0.boot index 5676f868b380..582283c385a7 100644 --- a/configs/platform-v7a/barebox-rpi2-defaultenv/nv/bootchooser.system0.boot +++ b/configs/platform-v7a/barebox-rpi2-defaultenv/nv/bootchooser.system0.boot @@ -1 +1 @@ -disk0.1 +disk0.root-A diff --git a/configs/platform-v7a/barebox-rpi2-defaultenv/nv/bootchooser.system1.boot b/configs/platform-v7a/barebox-rpi2-defaultenv/nv/bootchooser.system1.boot index 1851d291c58c..323bafbde518 100644 --- a/configs/platform-v7a/barebox-rpi2-defaultenv/nv/bootchooser.system1.boot +++ b/configs/platform-v7a/barebox-rpi2-defaultenv/nv/bootchooser.system1.boot @@ -1 +1 @@ -disk0.2 +disk0.root-B diff --git a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system0.boot b/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system0.boot index 961e29fe981b..582283c385a7 100644 --- a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system0.boot +++ b/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system0.boot @@ -1 +1 @@ -disk0.0 +disk0.root-A diff --git a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system1.boot b/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system1.boot index 5676f868b380..323bafbde518 100644 --- a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system1.boot +++ b/configs/platform-v7a/barebox-vexpress-defaultenv/nv/bootchooser.system1.boot @@ -1 +1 @@ -disk0.1 +disk0.root-B -- 2.39.2