From: Sascha Hauer <sha@pengutronix.de>
To: Bastian Krause <bst@pengutronix.de>
Cc: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: Re: [PATCH] Documentation: state: recommend a partition type GUID for state GPT partitions
Date: Thu, 4 Feb 2021 11:29:05 +0100 [thread overview]
Message-ID: <20210204102905.GB19583@pengutronix.de> (raw)
In-Reply-To: <20210129125936.20053-1-bst@pengutronix.de>
On Fri, Jan 29, 2021 at 01:59:36PM +0100, Bastian Krause wrote:
> The partition type GUID was generated randomly. Having a defined GUID
> should reduce the risk of collisions in the future.
>
> A dedicated GUID could also allow us to implement a fallback in case no
> state backend property is defined. This could then look for a GPT
> partition with this partition type GUID and use that as the backend.
> dt-utils could do the same in userspace. This would be similar to [1].
>
> [1] https://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec/
>
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> ---
> Documentation/user/state.rst | 3 +++
> 1 file changed, 3 insertions(+)
Applied, thanks
Sascha
>
> diff --git a/Documentation/user/state.rst b/Documentation/user/state.rst
> index 54aa396257..a0e27d4fe8 100644
> --- a/Documentation/user/state.rst
> +++ b/Documentation/user/state.rst
> @@ -579,6 +579,9 @@ content, its backend-type and *state* variable layout.
> };
> };
>
> +If the *state* variable set is set to be located in a GPT partition, use
> +``4778ed65-bf42-45fa-9c5b-287a1dc4aab1`` as the partition type GUID.
> +
> SRAM
> ####
>
> --
> 2.30.0
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
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 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2021-02-04 10:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-29 12:59 Bastian Krause
2021-02-04 10:29 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210204102905.GB19583@pengutronix.de \
--to=sha@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=bst@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox