From 2245396b20db0c658323e16886a65ba2215dc9a7 Mon Sep 17 00:00:00 2001 From: Niklas Cassel Date: Mon, 2 Sep 2024 12:44:29 +0200 Subject: [PATCH] board/radxa/rock5b: use gpt partition table instead of hybrid Partition table hybrid means GPT + MBR. There is no need to keep the MBR when using GPT, so migrate to GPT only. This change also requires us to migrate from partition-type to partition-type-uuid, otherwise genimage won't generate an image. Note that GPT itself always writes a "protective MBR" at LBA 0. Signed-off-by: Niklas Cassel Signed-off-by: Thomas Petazzoni --- board/radxa/rock5b/genimage.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/radxa/rock5b/genimage.cfg b/board/radxa/rock5b/genimage.cfg index 138ec26e3a..43bb65bdd9 100644 --- a/board/radxa/rock5b/genimage.cfg +++ b/board/radxa/rock5b/genimage.cfg @@ -2,7 +2,7 @@ image sdcard.img { hdimage { - partition-table-type = "hybrid" + partition-table-type = "gpt" } partition uboot { @@ -12,7 +12,7 @@ image sdcard.img { } partition rootfs { - partition-type = 0x83 + partition-type-uuid = L image = "rootfs.ext2" } }