Skip to contentSkip to conversation

Use single letter notation in genimage.cfg files for partition-type-uuid

PATCH Superseded Giulio Benetti 4 participants 39 messages Feb 6, 2022 – Jul 22, 2022 SiFive drivers

lore
Share & tools
lore
#0 lore raw

cover Use single letter notation in genimage.cfg files for partition-type-uuid

This patchset convert partition-type-uuid to single letter notation *without* "".

Note:
This patchset must be applied after this patch:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Giulio Benetti (16):
board/aarch64-efi/genimage-efi: convert partition-type-uuid to single
letter notation
board/beaglev/genimage-efi: convert partition-type-uuid to single
letter notation
board/friendlyarm/nanopc-t4/genimage: convert partition-type-uuid to
single letter notation
board/friendlyarm/nanopi-m4/genimage: keep partition-type-uuid without
"" for consistency
board/orangepi/orangepi-pc-plus/genimage: keep partition-type-uuid
without "" for consistency
board/orangepi/orangepi-r1/genimage: fix partition-type-uuid for boot
partition and remove "" for consistency
board/orangepi/orangepi-zero-plus2/genimage: keep partition-type-uuid
without "" for consistency
board/pc/genimage-efi: convert partition-type-uuid to single letter
notation
board/pine64/rockpro64/genimage: convert partition-type-uuid to single
letter notation
board/qemu/aarch64-sbsa/genimage: convert partition-type-uuid to
single letter notation
board/radxa/rockpi-n4/genimage: convert partition-type-uuid to single
letter notation
board/radxa/rockpi-n10/genimage: convert partition-type-uuid to single
letter notation
board/radxa/rockpi-n8/genimage: convert partition-type-uuid to single
letter notation
board/sifive/hifive-unleashed/genimage_sdcard: convert
partition-type-uuid to single letter notation
board/sifive/hifive-unleashed/genimage_sdcard: add comments to
particular partition-type-uuid parameters
board/sifive/hifive-unleashed/genimage_spi-nor: add comments to
particular partition-type-uuid parameters

 board/aarch64-efi/genimage-efi.cfg                 | 4 ++--
 board/beaglev/genimage.cfg                         | 2 +-
 board/friendlyarm/nanopc-t4/genimage.cfg           | 4 ++--
 board/friendlyarm/nanopi-m4/genimage.cfg           | 4 ++--
 board/orangepi/orangepi-pc-plus/genimage.cfg       | 4 ++--
 board/orangepi/orangepi-r1/genimage.cfg            | 4 ++--
 board/orangepi/orangepi-zero-plus2/genimage.cfg    | 4 ++--
 board/pc/genimage-efi.cfg                          | 4 ++--
 board/pine64/rockpro64/genimage.cfg                | 4 ++--
 board/qemu/aarch64-sbsa/genimage.cfg               | 4 ++--
 board/radxa/rockpi-4/genimage.cfg                  | 4 ++--
 board/radxa/rockpi-n10/genimage.cfg                | 4 ++--
 board/radxa/rockpi-n8/genimage.cfg                 | 4 ++--
 board/sifive/hifive-unleashed/genimage_sdcard.cfg  | 4 +++-
 board/sifive/hifive-unleashed/genimage_spi-nor.cfg | 2 ++
 15 files changed, 30 insertions(+), 26 deletions(-)
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 1/16 board/aarch64-efi/genimage-efi: convert partition-type-uuid to single letter notation

---
 board/aarch64-efi/genimage-efi.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/aarch64-efi/genimage-efi.cfg +2 -2
index 87e85816bc..7fbe13d390 100644
@@ -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
 		image = "rootfs.ext2"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH 01/16] board/aarch64-efi/genimage-efi: convert partition-type-uuid to single letter notation

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:

Quoted 12 lines
---
 board/aarch64-efi/genimage-efi.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/aarch64-efi/genimage-efi.cfg +0 -0
index 87e85816bc..7fbe13d390 100644
@@ -18,13 +18,13 @@ image disk.img {
 
 	partition boot {

board/aarch64-efi/genimage-efi.cfg image disk.img { · line 27

Quoted 10 lines
board/aarch64-efi/genimage-efi.cfg +2 -2
 		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.

Quoted 10 lines
board/aarch64-efi/genimage-efi.cfg +0 -0
 		image = "rootfs.ext2"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

Re: [Buildroot] [PATCH 01/16] board/aarch64-efi/genimage-efi: convert partition-type-uuid to single letter notation

Hello,

Quoted 7 lines · On Sun, 6 Feb 2022 22:36:57 +0100 "Yann E. MORIN" <[email protected]>…

board/aarch64-efi/genimage-efi.cfg image disk.img { · line 27

Quoted 3 lines
board/aarch64-efi/genimage-efi.cfg +1 -1
 	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.

And? Is that really important?

Quoted 1 line

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

Why?

Quoted 5 lines

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

Yes, but how useful are they?

Unless these systemd-defined UUID are really relevant, I would prefer that we use the shortcuts provided by genimage wherever possible, and only rely on using the full UUID for special cases, such as the board/sifive/hifive-unleashed/genimage_sdcard.cfg (PATCH 15/16).

This way, it would be pretty clear that we have the "common cases" (boot partition, rootfs partition) and the "odd/special cases".

Best regards,

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

Re: [Buildroot] [PATCH 01/16] board/aarch64-efi/genimage-efi: convert partition-type-uuid to single letter notation

Thomas, All,

On 2022-02-07 08:55 +0100, Thomas Petazzoni spake thusly:

Quoted 11 lines
Quoted 6 lines · On Sun, 6 Feb 2022 22:36:57 +0100 "Yann E. MORIN" <[email protected]>…

board/aarch64-efi/genimage-efi.cfg image disk.img { · line 27

Quoted 3 lines
board/aarch64-efi/genimage-efi.cfg +1 -1
 	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.

And? Is that really important?

Quoted 1 line

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

Why?

I think that it is important that we do adhere to the expected values; see below...

Quoted 5 lines
Quoted 4 lines

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

Yes, but how useful are they?

Why would we diverge from the specs?

Quoted 4 lines

Unless these systemd-defined UUID are really relevant, I would prefer that we use the shortcuts provided by genimage wherever possible, and only rely on using the full UUID for special cases, such as the board/sifive/hifive-unleashed/genimage_sdcard.cfg (PATCH 15/16).

There are tools that expect those values, to autodetect partitions. This is the case, of course, of systemd-gpt-auto-generator, which will lookup the partition UUIDs, but other tools may expect these UUIDs too.

I am not saying that we would cause trouble by changing our board descriptions, but if we want to allow people to just copy them as the base for their own development, then diverging from expected behaviour is not nice.

Quoted 2 lines

This way, it would be pretty clear that we have the "common cases" (boot partition, rootfs partition) and the "odd/special cases".

I think the "common case" would be "adhere to spec, use specified values", while the exceptions are "the spec says nothing, use something else and comment it".

Regards,
Yann E. MORIN.

Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw

Re: [Buildroot] [PATCH 01/16] board/aarch64-efi/genimage-efi: convert partition-type-uuid to single letter notation

Quoted 26 lines · Yann E. MORIN

Thomas, All,

On 2022-02-07 08:55 +0100, Thomas Petazzoni spake thusly:

Quoted 11 lines
Quoted 6 lines · On Sun, 6 Feb 2022 22:36:57 +0100 "Yann E. MORIN" <[email protected]>…

board/aarch64-efi/genimage-efi.cfg image disk.img { · line 27

Quoted 3 lines
  	partition root {
board/aarch64-efi/genimage-efi.cfg +1 -1
-		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.

And? Is that really important?

Quoted 1 line

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

Why?

I think that it is important that we do adhere to the expected values; see below...

Quoted 5 lines
Quoted 4 lines

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

Yes, but how useful are they?

Why would we diverge from the specs?

Quoted 8 lines
Quoted 4 lines

Unless these systemd-defined UUID are really relevant, I would prefer that we use the shortcuts provided by genimage wherever possible, and only rely on using the full UUID for special cases, such as the board/sifive/hifive-unleashed/genimage_sdcard.cfg (PATCH 15/16).

There are tools that expect those values, to autodetect partitions. This is the case, of course, of systemd-gpt-auto-generator, which will lookup the partition UUIDs, but other tools may expect these UUIDs too.

At least for systemd-gpt-auto-generator, the UUID for rootfs is only relevant
in case systemd is the one mounting the rootfs, i.e. in case of it running from initramfs and pivoting into a mounted root.

That is not a scenario that we support in Buildroot, by a long shot.
Therefore, my suggestion would be to use the default Linux partition type for the rootfs, i.e. L. Since this is actually the default for genimage, I would even leave it out completely.

Giulio, that would mean rewriting this series and removing everywhere L is
specified. Do you agree with that?

Quoted 4 lines

I am not saying that we would cause trouble by changing our board descriptions, but if we want to allow people to just copy them as the base for their own development, then diverging from expected behaviour is not nice.

I think the cases where a non-standard (where "standard" means the actual GPT
standard, not the additional stuff that systemd invented) partition type is relevant are going to be so unusual that the default we put in our genimage.cfg is going to be of no relevance whatsoever.

Regards,
Arnout

Quoted 11 lines
Quoted 3 lines

This way, it would be pretty clear that we have the "common cases" (boot partition, rootfs partition) and the "odd/special cases".

I think the "common case" would be "adhere to spec, use specified values", while the exceptions are "the spec says nothing, use something else and comment it".

Regards,
Yann E. MORIN.

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#6 lore raw

Re: [Buildroot] [PATCH 01/16] board/aarch64-efi/genimage-efi: convert partition-type-uuid to single letter notation

Hi Arnout, Yann, Thomas, All,

Quoted 42 lines · Arnout Vandecappelle
Quoted 26 lines · Yann E. MORIN

Thomas, All,

On 2022-02-07 08:55 +0100, Thomas Petazzoni spake thusly:

Quoted 11 lines
Quoted 6 lines · On Sun, 6 Feb 2022 22:36:57 +0100 "Yann E. MORIN" <[email protected]>…

board/aarch64-efi/genimage-efi.cfg image disk.img { · line 27

Quoted 3 lines
   	partition root {
board/aarch64-efi/genimage-efi.cfg +1 -1
-		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.

And? Is that really important?

Quoted 1 line

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

Why?

I think that it is important that we do adhere to the expected values; see below...

Quoted 5 lines
Quoted 4 lines

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

Yes, but how useful are they?

Why would we diverge from the specs?

Quoted 8 lines
Quoted 4 lines

Unless these systemd-defined UUID are really relevant, I would prefer that we use the shortcuts provided by genimage wherever possible, and only rely on using the full UUID for special cases, such as the board/sifive/hifive-unleashed/genimage_sdcard.cfg (PATCH 15/16).

There are tools that expect those values, to autodetect partitions. This is the case, of course, of systemd-gpt-auto-generator, which will lookup the partition UUIDs, but other tools may expect these UUIDs too.

At least for systemd-gpt-auto-generator, the UUID for rootfs is only relevant
in case systemd is the one mounting the rootfs, i.e. in case of it running from initramfs and pivoting into a mounted root.

Quoted 7 lines

That is not a scenario that we support in Buildroot, by a long shot.
Therefore, my suggestion would be to use the default Linux partition type for the rootfs, i.e. L. Since this is actually the default for genimage, I would even leave it out completely.

Giulio, that would mean rewriting this series and removing everywhere L is
specified. Do you agree with that?

I'm going to rework and remove L, less code we have the better IMHO. Also, this gives less ambiguity on letters, because we're going to end up only having:
F => Fat
U => Efi(that recalls UEFI(to me at least) even if it's not the same thing as EFI)

Quoted 10 lines
Quoted 5 lines

I am not saying that we would cause trouble by changing our board descriptions, but if we want to allow people to just copy them as the base for their own development, then diverging from expected behaviour is not nice.

I think the cases where a non-standard (where "standard" means the actual GPT
standard, not the additional stuff that systemd invented) partition type is relevant are going to be so unusual that the default we put in our genimage.cfg is going to be of no relevance whatsoever.

Yes, I agree too. At least for the moment I would use the genimage letters and if needed we can modify it later.

Thank you all!

Best regards

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas
Quoted 12 lines

Regards,
Arnout

Quoted 8 lines
Quoted 3 lines

This way, it would be pretty clear that we have the "common cases" (boot partition, rootfs partition) and the "odd/special cases".

I think the "common case" would be "adhere to spec, use specified values", while the exceptions are "the spec says nothing, use something else and comment it".

Quoted 7 lines
Quoted 3 lines

Regards,
Yann E. MORIN.

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#7 lore raw

v2 cover Use single letter notation in genimage.cfg files for partition-type-uuid

This patchset convert partition-type-uuid to single letter notation *without* "" and without L(rootfs) since it's the default value for partition-type-uuid if it's not specified.

V1->V2:
* remove every partition-type-uuid = L as suggested by Arnout

Giulio Benetti (16):
board/aarch64-efi/genimage-efi: convert partition-type-uuid to single
letter notation
board/beaglev/genimage-efi: remove partition-type-uuid since its
default value is L(rootfs)
board/friendlyarm/nanopc-t4/genimage: convert partition-type-uuid to
single letter notation
board/friendlyarm/nanopi-m4/genimage: convert partition-type-uuid to
single letter notation
board/orangepi/orangepi-pc-plus/genimage: keep partition-type-uuid
without "" for consistency
board/orangepi/orangepi-r1/genimage: fix partition-type-uuid for boot
partition and remove "" for consistency
board/orangepi/orangepi-zero-plus2/genimage: keep partition-type-uuid
without "" for consistency
board/pc/genimage-efi: convert partition-type-uuid to single letter
notation
board/pine64/rockpro64/genimage: convert partition-type-uuid to single
letter notation
board/qemu/aarch64-sbsa/genimage: convert partition-type-uuid to
single letter notation
board/radxa/rockpi-n4/genimage: convert partition-type-uuid to single
letter notation
board/radxa/rockpi-n10/genimage: convert partition-type-uuid to single
letter notation
board/radxa/rockpi-n8/genimage: convert partition-type-uuid to single
letter notation
board/sifive/hifive-unleashed/genimage_sdcard: remove
partition-type-uuid since its default value is L(rootfs)
board/sifive/hifive-unleashed/genimage_sdcard: add comments to
particular partition-type-uuid parameters
board/sifive/hifive-unleashed/genimage_spi-nor: add comments to
particular partition-type-uuid parameters

 board/aarch64-efi/genimage-efi.cfg                 | 3 +--
 board/beaglev/genimage.cfg                         | 2 +-
 board/friendlyarm/nanopc-t4/genimage.cfg           | 3 +--
 board/friendlyarm/nanopi-m4/genimage.cfg           | 3 +--
 board/orangepi/orangepi-pc-plus/genimage.cfg       | 3 +--
 board/orangepi/orangepi-r1/genimage.cfg            | 3 +--
 board/orangepi/orangepi-zero-plus2/genimage.cfg    | 3 +--
 board/pc/genimage-efi.cfg                          | 3 +--
 board/pine64/rockpro64/genimage.cfg                | 3 +--
 board/qemu/aarch64-sbsa/genimage.cfg               | 3 +--
 board/radxa/rockpi-4/genimage.cfg                  | 3 +--
 board/radxa/rockpi-n10/genimage.cfg                | 3 +--
 board/radxa/rockpi-n8/genimage.cfg                 | 4 ++--
 board/sifive/hifive-unleashed/genimage_sdcard.cfg  | 3 ++-
 board/sifive/hifive-unleashed/genimage_spi-nor.cfg | 2 ++
 15 files changed, 18 insertions(+), 26 deletions(-)
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#8 lore raw

PATCH v2 1/16 board/aarch64-efi/genimage-efi: convert partition-type-uuid to single letter notation

Note that rootfs doesn't need partition-type-uuid = L since L(rootfs) is the default value. So let's remove it.

---
 board/aarch64-efi/genimage-efi.cfg | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/aarch64-efi/genimage-efi.cfg +1 -2
index 87e85816bc..3708727c18 100644
@@ -18,13 +18,12 @@ 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
 		image = "rootfs.ext2"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#9 lore raw

PATCH v2 2/16 board/beaglev/genimage-efi: remove partition-type-uuid since its default value is L(rootfs)

In reply to Giulio Benetti
---
 board/beaglev/genimage.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/beaglev/genimage.cfg +1 -1
index deefdbc110..54f9118ea9 100644
@@ -4,7 +4,7 @@ image sdcard.img {
 	}
 
 	partition rootfs {
-		partition-type-uuid = 72ec70a6-cf74-40e6-bd49-4bda08e8f224
+		partition-type-uuid = L
 		partition-uuid = 0fef845a-c6e1-45bc-82f7-002fa720f958
 		bootable = "true"
 		image = "rootfs.ext4"
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#10 lore raw

PATCH v2 3/16 board/friendlyarm/nanopc-t4/genimage: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti

Note that rootfs doesn't need partition-type-uuid = L since L(rootfs) is the default value. So let's remove it.

---
 board/friendlyarm/nanopc-t4/genimage.cfg | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/friendlyarm/nanopc-t4/genimage.cfg +1 -2
index 98dc2f3892..f966d48f3f 100644
@@ -26,14 +26,13 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 		offset = 16M
 	}
 
 	partition rootfs {
-		partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae
 		image = "rootfs.ext4"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#11 lore raw

PATCH v2 4/16 board/friendlyarm/nanopi-m4/genimage: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti

Note that rootfs doesn't need partition-type-uuid = L since L(rootfs) is the default value. So let's remove it.

---
 board/friendlyarm/nanopi-m4/genimage.cfg | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/friendlyarm/nanopi-m4/genimage.cfg +1 -2
index 8d0e6ad13b..db1205bfbf 100644
@@ -26,14 +26,13 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 		offset = 16M
 	}
 
 	partition rootfs {
-		partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae
 		image = "rootfs.ext4"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#12 lore raw

PATCH v2 5/16 board/orangepi/orangepi-pc-plus/genimage: keep partition-type-uuid without "" for consistency

In reply to Giulio Benetti

Note that rootfs doesn't need partition-type-uuid = L since L(rootfs) is the default value, so let's remove it.

---
 board/orangepi/orangepi-pc-plus/genimage.cfg | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/orangepi/orangepi-pc-plus/genimage.cfg +1 -2
index 3812d785d5..2c68b28e10 100644
@@ -28,7 +28,7 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid  = "F"
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 	}
@@ -36,7 +36,6 @@ image sdcard.img {
 	# 'rootfs' will be used as the partition label, used
 	# with root=PARTLABEL=rootfs kernel command line
 	partition rootfs {
-		partition-type-uuid = "L"
 		image = "rootfs.ext4"
 		size = 512M
 	}
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#13 lore raw

PATCH v2 6/16 board/orangepi/orangepi-r1/genimage: fix partition-type-uuid for boot partition and remove "" for consistency

In reply to Giulio Benetti

Note that rootfs doesn't need partition-type-uuid = L since L(rootfs) is the default value. So let's remove it.

---
 board/orangepi/orangepi-r1/genimage.cfg | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/orangepi/orangepi-r1/genimage.cfg +1 -2
index e93e802bd9..da96e4c4b8 100644
@@ -28,7 +28,7 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid = "U"
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 	}
@@ -36,7 +36,6 @@ image sdcard.img {
 	# 'rootfs' will be used as the partition label, used
 	# with root=PARTLABEL=rootfs kernel command line
 	partition rootfs {
-		partition-type-uuid = "L"
 		image = "rootfs.ext4"
 		size = 512M
 	}
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#14 lore raw

PATCH v2 7/16 board/orangepi/orangepi-zero-plus2/genimage: keep partition-type-uuid without "" for consistency

In reply to Giulio Benetti

Note that rootfs doesn't need partition-type-uuid = L since L(rootfs) is the default value. So let's remove it.

---
 board/orangepi/orangepi-zero-plus2/genimage.cfg | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/orangepi/orangepi-zero-plus2/genimage.cfg +1 -2
index 5a7ee7707a..0a03384f30 100644
@@ -26,7 +26,7 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid = "F"
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 	}
@@ -34,7 +34,6 @@ image sdcard.img {
 	# 'rootfs' will be used as the partition label, used
 	# with root=PARTLABEL=rootfs kernel command line
 	partition rootfs {
-		partition-type-uuid = "L"
 		image = "rootfs.ext4"
 		size = 256M
 	}
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#15 lore raw

PATCH v2 8/16 board/pc/genimage-efi: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti

Note that rootfs doesn't need partition-type-uuid = L since L(rootfs) is the default value. So let's remove it.

---
 board/pc/genimage-efi.cfg | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/pc/genimage-efi.cfg +1 -2
index 035a077a78..68498772a1 100644
@@ -19,13 +19,12 @@ 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 = 44479540-f297-41b2-9af7-d131d5f0458a
 		partition-uuid = UUID_TMP
 		image = "rootfs.ext2"
 	}
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#16 lore raw

PATCH v2 9/16 board/pine64/rockpro64/genimage: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti

Note that rootfs doesn't need partition-type-uuid = L since L(rootfs) is the default value. So let's remove it.

---
 board/pine64/rockpro64/genimage.cfg | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/pine64/rockpro64/genimage.cfg +1 -2
index d3926f2df6..978a77de95 100644
@@ -26,14 +26,13 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 		offset = 16M
 	}
 
 	partition rootfs {
-		partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae
 		image = "rootfs.ext4"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#17 lore raw

PATCH v2 10/16 board/qemu/aarch64-sbsa/genimage: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti

Note that rootfs doesn't need partition-type-uuid = L since L(rootfs) is the default value. So let's remove it.

---
 board/qemu/aarch64-sbsa/genimage.cfg | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/qemu/aarch64-sbsa/genimage.cfg +1 -2
index bdf8a89d75..8308b58789 100644
@@ -19,13 +19,12 @@ 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
 		image = "rootfs.ext2"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#18 lore raw

PATCH v2 11/16 board/radxa/rockpi-n4/genimage: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti

Note that rootfs doesn't need partition-type-uuid = L since L(rootfs) is the default value. So let's remove it.

---
 board/radxa/rockpi-4/genimage.cfg | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/radxa/rockpi-4/genimage.cfg +1 -2
index 68cc4d61a8..07bee5bf81 100644
@@ -26,14 +26,13 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 		offset = 16M
 	}
 
 	partition rootfs {
-		partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae
 		image = "rootfs.ext4"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#19 lore raw

PATCH v2 12/16 board/radxa/rockpi-n10/genimage: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti

Note that rootfs doesn't need partition-type-uuid = L since L(rootfs) is the default value. So let's remove it.

---
 board/radxa/rockpi-n10/genimage.cfg | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/radxa/rockpi-n10/genimage.cfg +1 -2
index 7f4b639bbc..cd0e3610c2 100644
@@ -26,14 +26,13 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 		offset = 16M
 	}
 
 	partition rootfs {
-		partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae
 		image = "rootfs.ext4"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#20 lore raw

PATCH v2 13/16 board/radxa/rockpi-n8/genimage: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti

Note that rootfs doesn't need partition-type-uuid = L since L(rootfs) is the default value. So let's remove it.

---
 board/radxa/rockpi-n8/genimage.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/radxa/rockpi-n8/genimage.cfg +2 -2
index 909a646499..3fced4a5d8 100644
@@ -26,14 +26,14 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 		offset = 16M
 	}
 
 	partition rootfs {
-		partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3
+		partition-type-uuid = L
 		image = "rootfs.ext4"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#21 lore raw

PATCH v2 14/16 board/sifive/hifive-unleashed/genimage_sdcard: remove partition-type-uuid since its default value is L(rootfs)

In reply to Giulio Benetti
---
 board/sifive/hifive-unleashed/genimage_sdcard.cfg | 1 -
 1 file changed, 1 deletion(-)
board/sifive/hifive-unleashed/genimage_sdcard.cfg +0 -1
index e66f221d73..1e0c800153 100644
@@ -17,7 +17,6 @@ image sdcard.img {
 
 	partition rootfs {
 		image = "rootfs.ext4"
-		partition-type-uuid = 0FC63DAF-8483-4772-8E79-3D69D8477DE4
 		bootable = true
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#22 lore raw

PATCH v2 15/16 board/sifive/hifive-unleashed/genimage_sdcard: add comments to particular partition-type-uuid parameters

---
 board/sifive/hifive-unleashed/genimage_sdcard.cfg | 2 ++
 1 file changed, 2 insertions(+)
board/sifive/hifive-unleashed/genimage_sdcard.cfg +2 -0
index 1e0c800153..e5618fa4c1 100644
@@ -6,12 +6,14 @@ image sdcard.img {
 	partition u-boot-spl {
 		image = "u-boot-spl.bin"
 		offset = 17K
+		# ZSBL only loads from this type of partition type uuid
 		partition-type-uuid = 5B193300-FC78-40CD-8002-E86C45580B47
 	}
 
 	partition u-boot {
 		image = "u-boot.itb"
 		offset = 1041K
+		# U-Boot expects exactly this partition type uuid
 		partition-type-uuid = 2E54B353-1271-4842-806F-E436D6AF6985
 	}
 
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#23 lore raw

PATCH v2 16/16 board/sifive/hifive-unleashed/genimage_spi-nor: add comments to particular partition-type-uuid parameters

In reply to Giulio Benetti
---
 board/sifive/hifive-unleashed/genimage_spi-nor.cfg | 2 ++
 1 file changed, 2 insertions(+)
board/sifive/hifive-unleashed/genimage_spi-nor.cfg +2 -0
index 903e675a90..f5e8f188e3 100644
@@ -8,12 +8,14 @@ image spi-nor.img {
 	partition u-boot-spl {
 		image = "u-boot-spl.bin"
 		offset = 20K
+		# ZSBL only loads from this type of partition type uuid
 		partition-type-uuid = 5B193300-FC78-40CD-8002-E86C45580B47
 	}
 
 	partition u-boot {
 		image = "u-boot.itb"
 		offset = 1044K
+		# U-Boot expects exactly this partition type uuid
 		partition-type-uuid = 2E54B353-1271-4842-806F-E436D6AF6985
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#24 lore raw

PATCH 2/16 board/beaglev/genimage-efi: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti
---
 board/beaglev/genimage.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/beaglev/genimage.cfg +1 -1
index deefdbc110..54f9118ea9 100644
@@ -4,7 +4,7 @@ image sdcard.img {
 	}
 
 	partition rootfs {
-		partition-type-uuid = 72ec70a6-cf74-40e6-bd49-4bda08e8f224
+		partition-type-uuid = L
 		partition-uuid = 0fef845a-c6e1-45bc-82f7-002fa720f958
 		bootable = "true"
 		image = "rootfs.ext4"
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#25 lore raw

PATCH 3/16 board/friendlyarm/nanopc-t4/genimage: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti
---
 board/friendlyarm/nanopc-t4/genimage.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/friendlyarm/nanopc-t4/genimage.cfg +2 -2
index 98dc2f3892..272037c9f7 100644
@@ -26,14 +26,14 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 		offset = 16M
 	}
 
 	partition rootfs {
-		partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae
+		partition-type-uuid = L
 		image = "rootfs.ext4"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#26 lore raw

PATCH 4/16 board/friendlyarm/nanopi-m4/genimage: keep partition-type-uuid without "" for consistency

In reply to Giulio Benetti
---
 board/friendlyarm/nanopi-m4/genimage.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/friendlyarm/nanopi-m4/genimage.cfg +2 -2
index 8d0e6ad13b..655981847e 100644
@@ -26,14 +26,14 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 		offset = 16M
 	}
 
 	partition rootfs {
-		partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae
+		partition-type-uuid = L
 		image = "rootfs.ext4"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#27 lore raw

PATCH 5/16 board/orangepi/orangepi-pc-plus/genimage: keep partition-type-uuid without "" for consistency

In reply to Giulio Benetti
---
 board/orangepi/orangepi-pc-plus/genimage.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/orangepi/orangepi-pc-plus/genimage.cfg +2 -2
index 3812d785d5..d94239e9a2 100644
@@ -28,7 +28,7 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid  = "F"
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 	}
@@ -36,7 +36,7 @@ image sdcard.img {
 	# 'rootfs' will be used as the partition label, used
 	# with root=PARTLABEL=rootfs kernel command line
 	partition rootfs {
-		partition-type-uuid = "L"
+		partition-type-uuid = L
 		image = "rootfs.ext4"
 		size = 512M
 	}
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#28 lore raw

PATCH 6/16 board/orangepi/orangepi-r1/genimage: fix partition-type-uuid for boot partition and remove "" for consistency

In reply to Giulio Benetti
---
 board/orangepi/orangepi-r1/genimage.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/orangepi/orangepi-r1/genimage.cfg +2 -2
index e93e802bd9..78b69269b7 100644
@@ -28,7 +28,7 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid = "U"
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 	}
@@ -36,7 +36,7 @@ image sdcard.img {
 	# 'rootfs' will be used as the partition label, used
 	# with root=PARTLABEL=rootfs kernel command line
 	partition rootfs {
-		partition-type-uuid = "L"
+		partition-type-uuid = L
 		image = "rootfs.ext4"
 		size = 512M
 	}
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#29 lore raw

PATCH 7/16 board/orangepi/orangepi-zero-plus2/genimage: keep partition-type-uuid without "" for consistency

In reply to Giulio Benetti
---
 board/orangepi/orangepi-zero-plus2/genimage.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/orangepi/orangepi-zero-plus2/genimage.cfg +2 -2
index 5a7ee7707a..9538e6a54e 100644
@@ -26,7 +26,7 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid = "F"
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 	}
@@ -34,7 +34,7 @@ image sdcard.img {
 	# 'rootfs' will be used as the partition label, used
 	# with root=PARTLABEL=rootfs kernel command line
 	partition rootfs {
-		partition-type-uuid = "L"
+		partition-type-uuid = L
 		image = "rootfs.ext4"
 		size = 256M
 	}
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#30 lore raw

PATCH 8/16 board/pc/genimage-efi: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti
---
 board/pc/genimage-efi.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/pc/genimage-efi.cfg +2 -2
index 035a077a78..9626a5f2e7 100644
@@ -19,13 +19,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 = 44479540-f297-41b2-9af7-d131d5f0458a
+		partition-type-uuid = L
 		partition-uuid = UUID_TMP
 		image = "rootfs.ext2"
 	}
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#31 lore raw

PATCH 9/16 board/pine64/rockpro64/genimage: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti
---
 board/pine64/rockpro64/genimage.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/pine64/rockpro64/genimage.cfg +2 -2
index d3926f2df6..4b96a3447d 100644
@@ -26,14 +26,14 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 		offset = 16M
 	}
 
 	partition rootfs {
-		partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae
+		partition-type-uuid = L
 		image = "rootfs.ext4"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#32 lore raw

PATCH 10/16 board/qemu/aarch64-sbsa/genimage: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti
---
 board/qemu/aarch64-sbsa/genimage.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/qemu/aarch64-sbsa/genimage.cfg +2 -2
index bdf8a89d75..629f4e07b7 100644
@@ -19,13 +19,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
 		image = "rootfs.ext2"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#33 lore raw

PATCH 11/16 board/radxa/rockpi-n4/genimage: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti
---
 board/radxa/rockpi-4/genimage.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/radxa/rockpi-4/genimage.cfg +2 -2
index 68cc4d61a8..3c3bd8b7fc 100644
@@ -26,14 +26,14 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 		offset = 16M
 	}
 
 	partition rootfs {
-		partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae
+		partition-type-uuid = L
 		image = "rootfs.ext4"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#34 lore raw

PATCH 12/16 board/radxa/rockpi-n10/genimage: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti
---
 board/radxa/rockpi-n10/genimage.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/radxa/rockpi-n10/genimage.cfg +2 -2
index 7f4b639bbc..2773658330 100644
@@ -26,14 +26,14 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 		offset = 16M
 	}
 
 	partition rootfs {
-		partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae
+		partition-type-uuid = L
 		image = "rootfs.ext4"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#35 lore raw

PATCH 13/16 board/radxa/rockpi-n8/genimage: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti
---
 board/radxa/rockpi-n8/genimage.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/radxa/rockpi-n8/genimage.cfg +2 -2
index 909a646499..3fced4a5d8 100644
@@ -26,14 +26,14 @@ image sdcard.img {
 	}
 
 	partition boot {
-		partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 		offset = 16M
 	}
 
 	partition rootfs {
-		partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3
+		partition-type-uuid = L
 		image = "rootfs.ext4"
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#36 lore raw

PATCH 14/16 board/sifive/hifive-unleashed/genimage_sdcard: convert partition-type-uuid to single letter notation

In reply to Giulio Benetti
---
 board/sifive/hifive-unleashed/genimage_sdcard.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/sifive/hifive-unleashed/genimage_sdcard.cfg +1 -1
index e66f221d73..b8bd787488 100644
@@ -17,7 +17,7 @@ image sdcard.img {
 
 	partition rootfs {
 		image = "rootfs.ext4"
-		partition-type-uuid = 0FC63DAF-8483-4772-8E79-3D69D8477DE4
+		partition-type-uuid = L
 		bootable = true
 	}
 }
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#37 lore raw

PATCH 15/16 board/sifive/hifive-unleashed/genimage_sdcard: add comments to particular partition-type-uuid parameters

In reply to Giulio Benetti
---
 board/sifive/hifive-unleashed/genimage_sdcard.cfg | 2 ++
 1 file changed, 2 insertions(+)
board/sifive/hifive-unleashed/genimage_sdcard.cfg +2 -0
index b8bd787488..47e59a90d7 100644
@@ -6,12 +6,14 @@ image sdcard.img {
 	partition u-boot-spl {
 		image = "u-boot-spl.bin"
 		offset = 17K
+		# ZSBL only loads from this type of partition type uuid
 		partition-type-uuid = 5B193300-FC78-40CD-8002-E86C45580B47
 	}
 
 	partition u-boot {
 		image = "u-boot.itb"
 		offset = 1041K
+		# U-Boot expects exactly this partition type uuid
 		partition-type-uuid = 2E54B353-1271-4842-806F-E436D6AF6985
 	}
 
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#38 lore raw
In reply to Giulio Benetti

Hello,

Quoted 2 lines · On Sun, 6 Feb 2022 21:05:16 +0100 Giulio Benetti…

This patchset convert partition-type-uuid to single letter notation *without* "".

I have sent a new iteration of this series at:

https://patchwork.ozlabs.org/project/buildroot/list/?series=310888

which makes some slightly different choices, after discussion with Arnout. Feedback welcome.

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot