From 292f0d9a85527ee6bd756cc9777852d2d9713908 Mon Sep 17 00:00:00 2001 From: Uwe Kleine-König Date: Tue, 19 May 2020 12:05:11 +0200 Subject: hd.img: use efi type also for GPT partitions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Similar to using 0xef for efi partitions with MBR partitioning, there is a dedicated type for these when GPT partitioning is to be used. Signed-off-by: Uwe Kleine-König Message-Id: <20200519100511.25651-1-u.kleine-koenig@pengutronix.de> Signed-off-by: Michael Olbrich --- config/images/vfat_partitions.config | 1 + rules/image-hdimg.make | 1 + 2 files changed, 2 insertions(+) diff --git a/config/images/vfat_partitions.config b/config/images/vfat_partitions.config index 799c19d57..0aac561de 100644 --- a/config/images/vfat_partitions.config +++ b/config/images/vfat_partitions.config @@ -1,5 +1,6 @@ partition boot-vfat { image = "boot.vfat" partition-type = @VFAT_PARTITION_TYPE@ + partition-type-uuid = @VFAT_PARTITION_TYPE_UUID@ bootable = true } diff --git a/rules/image-hdimg.make b/rules/image-hdimg.make index e8fd01f1a..b0f6af77f 100644 --- a/rules/image-hdimg.make +++ b/rules/image-hdimg.make @@ -42,6 +42,7 @@ endif ifdef PTXCONF_IMAGE_HDIMG_VFAT IMAGE_HDIMG_BOOTLOADER_ENV := \ VFAT_PARTITION_TYPE=$(call ptx/ifdef, PTXCONF_IMAGE_BOOT_VFAT_EFI_BAREBOX,0xef,0x0c) \ + VFAT_PARTITION_TYPE_UUID=$(call ptx/ifdef, PTXCONF_IMAGE_BOOT_VFAT_EFI_BAREBOX,U,L) \ BOOTLOADER_IMAGES='' \ BOOTLOADER_PARTITIONS='include("vfat_partitions.config")' endif -- cgit v1.2.3