[PATCH] Documentation: barebox environment: recommend a partition type GUID for GPT partitions

Marco Felsch m.felsch at pengutronix.de
Mon Mar 27 06:12:18 PDT 2023


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 at 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




More information about the barebox mailing list