Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Giulio Benetti <giulio.benetti@benettiengineering.com>
Cc: Sergey Matyukevich <geomatsi@gmail.com>,
	Alistair Francis <alistair@alistair23.me>,
	Gerome Burlats <gerome.burlats@smile.fr>,
	Jagan Teki <jagan@amarulasolutions.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Suniel Mahesh <sunil@amarulasolutions.com>,
	Romain Naour <romain.naour@gmail.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 01/16] board/aarch64-efi/genimage-efi: convert partition-type-uuid to single letter notation
Date: Sun, 6 Feb 2022 22:36:57 +0100	[thread overview]
Message-ID: <20220206213657.GA457876@scaer> (raw)
In-Reply-To: <20220206200532.2758493-2-giulio.benetti@benettiengineering.com>

Giulio, All,

FTR, a little recap of what we discussed on IRC, see below

On 2022-02-06 21:05 +0100, Giulio Benetti spake thusly:
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> ---
>  board/aarch64-efi/genimage-efi.cfg | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/board/aarch64-efi/genimage-efi.cfg b/board/aarch64-efi/genimage-efi.cfg
> index 87e85816bc..7fbe13d390 100644
> --- a/board/aarch64-efi/genimage-efi.cfg
> +++ b/board/aarch64-efi/genimage-efi.cfg
> @@ -18,13 +18,13 @@ image disk.img {
>  
>  	partition boot {
>  		image = "efi-part.vfat"
> -		partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
> +		partition-type-uuid = U
>  		offset = 32K
>  		bootable = true
>  	}
>  
>  	partition root {
> -		partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae
> +		partition-type-uuid = L

As we discussed on IRC, this is not the same thing. genimage will extend
the 'L' shorthand to the full UUID 0fc63daf-8483-4772-8e79-3d69d8477de4,
which is different.

So I don't think uaing the shorthands are correct.

The UUID assignments are available on Wikipedia:
    https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs

But the systemd docuemntation has extra UUID definitions:
    https://man.archlinux.org/man/systemd-gpt-auto-generator.8

And finally, if neither resources has a UUID for a specific
architecture, we can still use the 'generic' "Linux filesystem data"
UUID 0FC63DAF-8483-4772-8E79-3D69D8477DE4.

Regards,
Yann E. MORIN.

>  		image = "rootfs.ext2"
>  	}
>  }
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-02-06 21:37 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-06 20:05 [Buildroot] [PATCH 00/16] Use single letter notation in genimage.cfg files for partition-type-uuid Giulio Benetti
2022-02-06 20:05 ` [Buildroot] [PATCH 01/16] board/aarch64-efi/genimage-efi: convert partition-type-uuid to single letter notation Giulio Benetti
2022-02-06 21:36   ` Yann E. MORIN [this message]
2022-02-07  7:55     ` Thomas Petazzoni via buildroot
2022-02-07 17:37       ` Yann E. MORIN
2022-02-13 15:06         ` Arnout Vandecappelle
2022-02-13 22:24           ` Giulio Benetti
2022-02-13 22:53             ` [Buildroot] [PATCH v2 00/16] Use single letter notation in genimage.cfg files for partition-type-uuid Giulio Benetti
2022-02-13 22:53               ` [Buildroot] [PATCH v2 01/16] board/aarch64-efi/genimage-efi: convert partition-type-uuid to single letter notation Giulio Benetti
2022-02-13 22:53               ` [Buildroot] [PATCH v2 02/16] board/beaglev/genimage-efi: remove partition-type-uuid since its default value is L(rootfs) Giulio Benetti
2022-02-13 22:53               ` [Buildroot] [PATCH v2 03/16] board/friendlyarm/nanopc-t4/genimage: convert partition-type-uuid to single letter notation Giulio Benetti
2022-02-13 22:53               ` [Buildroot] [PATCH v2 04/16] board/friendlyarm/nanopi-m4/genimage: " Giulio Benetti
2022-02-13 22:53               ` [Buildroot] [PATCH v2 05/16] board/orangepi/orangepi-pc-plus/genimage: keep partition-type-uuid without "" for consistency Giulio Benetti
2022-02-13 22:53               ` [Buildroot] [PATCH v2 06/16] board/orangepi/orangepi-r1/genimage: fix partition-type-uuid for boot partition and remove " Giulio Benetti
2022-02-13 22:53               ` [Buildroot] [PATCH v2 07/16] board/orangepi/orangepi-zero-plus2/genimage: keep partition-type-uuid without " Giulio Benetti
2022-02-13 22:53               ` [Buildroot] [PATCH v2 08/16] board/pc/genimage-efi: convert partition-type-uuid to single letter notation Giulio Benetti
2022-02-13 22:53               ` [Buildroot] [PATCH v2 09/16] board/pine64/rockpro64/genimage: " Giulio Benetti
2022-02-13 22:53               ` [Buildroot] [PATCH v2 10/16] board/qemu/aarch64-sbsa/genimage: " Giulio Benetti
2022-02-13 22:53               ` [Buildroot] [PATCH v2 11/16] board/radxa/rockpi-n4/genimage: " Giulio Benetti
2022-02-13 22:53               ` [Buildroot] [PATCH v2 12/16] board/radxa/rockpi-n10/genimage: " Giulio Benetti
2022-02-13 22:53               ` [Buildroot] [PATCH v2 13/16] board/radxa/rockpi-n8/genimage: " Giulio Benetti
2022-02-13 22:54             ` [Buildroot] [PATCH v2 14/16] board/sifive/hifive-unleashed/genimage_sdcard: remove partition-type-uuid since its default value is L(rootfs) Giulio Benetti
2022-02-13 22:54               ` [Buildroot] [PATCH v2 15/16] board/sifive/hifive-unleashed/genimage_sdcard: add comments to particular partition-type-uuid parameters Giulio Benetti
2022-02-13 22:54               ` [Buildroot] [PATCH v2 16/16] board/sifive/hifive-unleashed/genimage_spi-nor: " Giulio Benetti
2022-02-06 20:05 ` [Buildroot] [PATCH 02/16] board/beaglev/genimage-efi: convert partition-type-uuid to single letter notation Giulio Benetti
2022-02-06 20:05 ` [Buildroot] [PATCH 03/16] board/friendlyarm/nanopc-t4/genimage: " Giulio Benetti
2022-02-06 20:05 ` [Buildroot] [PATCH 04/16] board/friendlyarm/nanopi-m4/genimage: keep partition-type-uuid without "" for consistency Giulio Benetti
2022-02-06 20:05 ` [Buildroot] [PATCH 05/16] board/orangepi/orangepi-pc-plus/genimage: " Giulio Benetti
2022-02-06 20:05 ` [Buildroot] [PATCH 06/16] board/orangepi/orangepi-r1/genimage: fix partition-type-uuid for boot partition and remove " Giulio Benetti
2022-02-06 20:05 ` [Buildroot] [PATCH 07/16] board/orangepi/orangepi-zero-plus2/genimage: keep partition-type-uuid without " Giulio Benetti
2022-02-06 20:05 ` [Buildroot] [PATCH 08/16] board/pc/genimage-efi: convert partition-type-uuid to single letter notation Giulio Benetti
2022-02-06 20:05 ` [Buildroot] [PATCH 09/16] board/pine64/rockpro64/genimage: " Giulio Benetti
2022-02-06 20:05 ` [Buildroot] [PATCH 10/16] board/qemu/aarch64-sbsa/genimage: " Giulio Benetti
2022-02-06 20:05 ` [Buildroot] [PATCH 11/16] board/radxa/rockpi-n4/genimage: " Giulio Benetti
2022-02-06 20:05 ` [Buildroot] [PATCH 12/16] board/radxa/rockpi-n10/genimage: " Giulio Benetti
2022-02-06 20:05 ` [Buildroot] [PATCH 13/16] board/radxa/rockpi-n8/genimage: " Giulio Benetti
2022-02-06 20:05 ` [Buildroot] [PATCH 14/16] board/sifive/hifive-unleashed/genimage_sdcard: " Giulio Benetti
2022-02-06 20:05 ` [Buildroot] [PATCH 15/16] board/sifive/hifive-unleashed/genimage_sdcard: add comments to particular partition-type-uuid parameters Giulio Benetti
2022-07-22 20:41 ` [Buildroot] [PATCH 00/16] Use single letter notation in genimage.cfg files for partition-type-uuid Thomas Petazzoni via buildroot

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=20220206213657.GA457876@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=alistair@alistair23.me \
    --cc=buildroot@buildroot.org \
    --cc=geomatsi@gmail.com \
    --cc=gerome.burlats@smile.fr \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=jagan@amarulasolutions.com \
    --cc=romain.naour@gmail.com \
    --cc=sunil@amarulasolutions.com \
    --cc=thomas.petazzoni@bootlin.com \
    /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