mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] Documentation: barebox environment: recommend a partition type GUID for GPT partitions
@ 2023-03-27 13:12 Marco Felsch
  2023-04-11 12:42 ` Ahmad Fatoum
  2023-04-11 13:14 ` Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Marco Felsch @ 2023-03-27 13:12 UTC (permalink / raw)
  To: barebox

The partition type GUID was generated randomly. Having a defined GUID
should reduce the risk of collisions in the future.

The GUID and a phandle reference to the storage medium could be used as
replacement for device-path if the medium supports GPT.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
 .../devicetree/bindings/barebox/barebox,environment.rst        | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/barebox/barebox,environment.rst b/Documentation/devicetree/bindings/barebox/barebox,environment.rst
index 8a57bf1add..40239f424a 100644
--- a/Documentation/devicetree/bindings/barebox/barebox,environment.rst
+++ b/Documentation/devicetree/bindings/barebox/barebox,environment.rst
@@ -23,6 +23,9 @@ the path to the environment. Supported values for <type>:
   be the label for MTD partitions, the number for DOS
   partitions (beginning with 0) or the name for GPT partitions.
 
+If the *environmnet* is located in a GPT partition, use
+``6C3737F2-07F8-45D1-AD45-15D260AAB24D`` as partition type GUID.
+
 The file-path is the name of a file located in a FAT filesystem on the
 device named in device-path.  This filesystem will be mounted and the
 environment loaded from the file's location in the directory tree.
-- 
2.30.2




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-11 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-27 13:12 [PATCH] Documentation: barebox environment: recommend a partition type GUID for GPT partitions Marco Felsch
2023-04-11 12:42 ` Ahmad Fatoum
2023-04-11 13:14 ` Sascha Hauer

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