diff mbox series

[2/2] board/orangepi/orangepi-rk3399/genimage: fix partition types for gpt

Message ID 20220217151054.865073-3-marcus.hoffmann@othermo.de
State Superseded
Headers show
Series defconfig fixes | expand

Commit Message

Marcus Hoffmann Feb. 17, 2022, 3:10 p.m. UTC
Fixes:
  ERROR: hdimage(sdcard.img): part boot: 'partition-type' is only valid
  for mbr and hybrid partition-table-type

Signed-off-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
---
 board/orangepi/orangepi-rk3399/genimage.cfg | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Giulio Benetti Feb. 17, 2022, 3:27 p.m. UTC | #1
Hi Marcus,

> Il giorno 17 feb 2022, alle ore 16:11, Marcus Hoffmann <marcus.hoffmann@othermo.de> ha scritto:
> 
> Fixes:
>  ERROR: hdimage(sdcard.img): part boot: 'partition-type' is only valid
>  for mbr and hybrid partition-table-type

Here you should add:
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/2103784375

Thank you
Best regards

> Signed-off-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
> ---
> board/orangepi/orangepi-rk3399/genimage.cfg | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/board/orangepi/orangepi-rk3399/genimage.cfg b/board/orangepi/orangepi-rk3399/genimage.cfg
> index c94e0bc7cc..a02166172f 100644
> --- a/board/orangepi/orangepi-rk3399/genimage.cfg
> +++ b/board/orangepi/orangepi-rk3399/genimage.cfg
> @@ -26,14 +26,13 @@ image sdcard.img {
>    }
> 
>    partition boot {
> -        partition-type = 0xC
> +        partition-type-uuid = F
>        bootable = "true"
>        image = "boot.vfat"
>        offset = 16M
>    }
> 
>    partition rootfs {
> -        partition-type = 0x83
>        image = "rootfs.ext4"
>    }
> }
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/board/orangepi/orangepi-rk3399/genimage.cfg b/board/orangepi/orangepi-rk3399/genimage.cfg
index c94e0bc7cc..a02166172f 100644
--- a/board/orangepi/orangepi-rk3399/genimage.cfg
+++ b/board/orangepi/orangepi-rk3399/genimage.cfg
@@ -26,14 +26,13 @@  image sdcard.img {
 	}
 
 	partition boot {
-		partition-type = 0xC
+		partition-type-uuid = F
 		bootable = "true"
 		image = "boot.vfat"
 		offset = 16M
 	}
 
 	partition rootfs {
-		partition-type = 0x83
 		image = "rootfs.ext4"
 	}
 }