On 2026-10-29T16:23:07+11:00, Frieder Schrempf <[email protected]> wrote: > test: fs_helper: Support GPT in DiskHelper > > DiskHelper can only create disk images with an MBR partition table, so > tests that need partition names cannot use it. > > Add a gpt option to create a GPT partition table instead, and a name > argument to add_fs() to name a partition. With GPT, the 'bootable' flag > is set as the LegacyBIOSBootable attribute, which U-Boot reads as > bootable, and 1MB is reserved at the end of the disk for the backup > GPT. > > Assisted-by: LLM > Signed-off-by: Frieder Schrempf <[email protected]> > > test/py/tests/fs_helper.py | 36 +++++++++++++++++++++++++++--------- > 1 file changed, 27 insertions(+), 9 deletions(-)
Reviewed-by: Simon Glass <[email protected]>
