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

Sascha Hauer sha at pengutronix.de
Tue Apr 11 06:14:39 PDT 2023


On Mon, Mar 27, 2023 at 03:12:18PM +0200, Marco Felsch wrote:
> 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(+)

Applied, thanks

Sascha

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

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list