From a87ae216305059efdef9e43a3bda7bd557c46da0 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 22 Jul 2022 22:21:50 +0200 Subject: [PATCH] board/*/genimage.cfg: use partition-type-uuid = F for some FAT partitions The genimage.cfg modified by this commit used the partition-type-uuid c12a7328-f81f-11d2-ba4b-00a0c93ec93b, which identifies the EFI System Partition, for a partition that isn't the EFI System Partition, but just a regular FAT partition, for which GUID ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 is more appropriate. So we switch these to use partition-type-uuid = F, as it makes more sense. Please note that this commit introduces a difference in the resulting output, as those partitions will now have a different GUID. Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN --- board/friendlyarm/nanopc-t4/genimage.cfg | 2 +- board/friendlyarm/nanopi-m4/genimage.cfg | 2 +- board/pine64/rockpro64/genimage.cfg | 2 +- board/radxa/rockpi-4/genimage.cfg | 2 +- board/radxa/rockpi-n10/genimage.cfg | 2 +- board/radxa/rockpi-n8/genimage.cfg | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/board/friendlyarm/nanopc-t4/genimage.cfg b/board/friendlyarm/nanopc-t4/genimage.cfg index 98dc2f3892..1787322260 100644 --- a/board/friendlyarm/nanopc-t4/genimage.cfg +++ b/board/friendlyarm/nanopc-t4/genimage.cfg @@ -26,7 +26,7 @@ image sdcard.img { } partition boot { - partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b + partition-type-uuid = F bootable = "true" image = "boot.vfat" offset = 16M diff --git a/board/friendlyarm/nanopi-m4/genimage.cfg b/board/friendlyarm/nanopi-m4/genimage.cfg index 8d0e6ad13b..3e6818eab9 100644 --- a/board/friendlyarm/nanopi-m4/genimage.cfg +++ b/board/friendlyarm/nanopi-m4/genimage.cfg @@ -26,7 +26,7 @@ image sdcard.img { } partition boot { - partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b + partition-type-uuid = F bootable = "true" image = "boot.vfat" offset = 16M diff --git a/board/pine64/rockpro64/genimage.cfg b/board/pine64/rockpro64/genimage.cfg index d3926f2df6..94fa2f7c06 100644 --- a/board/pine64/rockpro64/genimage.cfg +++ b/board/pine64/rockpro64/genimage.cfg @@ -26,7 +26,7 @@ image sdcard.img { } partition boot { - partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b + partition-type-uuid = F bootable = "true" image = "boot.vfat" offset = 16M diff --git a/board/radxa/rockpi-4/genimage.cfg b/board/radxa/rockpi-4/genimage.cfg index 68cc4d61a8..9f64e96970 100644 --- a/board/radxa/rockpi-4/genimage.cfg +++ b/board/radxa/rockpi-4/genimage.cfg @@ -26,7 +26,7 @@ image sdcard.img { } partition boot { - partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b + partition-type-uuid = F bootable = "true" image = "boot.vfat" offset = 16M diff --git a/board/radxa/rockpi-n10/genimage.cfg b/board/radxa/rockpi-n10/genimage.cfg index 7f4b639bbc..fe6fa3f8f9 100644 --- a/board/radxa/rockpi-n10/genimage.cfg +++ b/board/radxa/rockpi-n10/genimage.cfg @@ -26,7 +26,7 @@ image sdcard.img { } partition boot { - partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b + partition-type-uuid = F bootable = "true" image = "boot.vfat" offset = 16M diff --git a/board/radxa/rockpi-n8/genimage.cfg b/board/radxa/rockpi-n8/genimage.cfg index 909a646499..bfcd92f590 100644 --- a/board/radxa/rockpi-n8/genimage.cfg +++ b/board/radxa/rockpi-n8/genimage.cfg @@ -26,7 +26,7 @@ image sdcard.img { } partition boot { - partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b + partition-type-uuid = F bootable = "true" image = "boot.vfat" offset = 16M