This updates the ChromiumOS bootmeth to detect multiple kernel partitions on a disk.
It also includes minor code improvements to the partition drivers, including accessors for the optional fields. This series also includes some other related tweaks in testing. It is available at u-boot-dm/methb-working Simon Glass (24): part: Use desc instead of dev_desc part: amiga: Use desc instead of dev_desc part: dos: Use desc instead of dev_desc part: efi: Use desc instead of dev_desc part: iso: Use desc instead of dev_desc part: nac: Use desc instead of dev_desc part: Add comments for static functions part: Add accessors for struct disk_partition uuid part: Add accessors for struct disk_partition type_uuid part: Add an accessor for struct disk_partition sys_ind part: efi: Add debugging for the signature check fs/erofs: Quieten test for filesystem presence dm: core: Correct error handling when event fails uuid: Move function comments to header file sandbox: Add a way to access persistent test files test: Move 1MB.fat32.img and 2MB.ext2.img bootflow: Show an empty filename when there is none bootstd: test: Allow binding and using any mmc device bootstd: Add a test for bootmeth_cros part: Add a fallback for part_get_bootable() bootstd: Support bootmeths which can scan any partition uuid: Add ChromiumOS partition types bootstd: cros: Allow detection of any kernel partition CI: Add ChromiumOS utilities arch/sandbox/cpu/os.c | 24 ++++ arch/sandbox/dts/test.dts | 9 ++ boot/Kconfig | 2 + boot/bootdev-uclass.c | 24 +++- boot/bootmeth_cros.c | 48 ++++--- cmd/bootflow.c | 2 +- cmd/gpt.c | 10 +- configs/snow_defconfig | 1 + disk/part.c | 226 +++++++++++++++-------------- disk/part_amiga.c | 34 ++--- disk/part_dos.c | 78 +++++----- disk/part_efi.c | 281 +++++++++++++++++++------------------ disk/part_iso.c | 52 +++---- disk/part_mac.c | 59 ++++---- doc/develop/bootstd.rst | 11 +- drivers/core/device.c | 3 +- fs/erofs/super.c | 4 +- fs/fat/fat.c | 4 +- include/bootmeth.h | 3 + include/os.h | 10 ++ include/part.h | 215 ++++++++++++++++++---------- include/part_efi.h | 14 ++ include/uuid.h | 94 +++++++++++++ lib/uuid.c | 93 +----------- test/boot/bootflow.c | 80 ++++++++--- test/dm/host.c | 44 +++--- test/py/tests/fs_helper.py | 6 +- test/py/tests/test_ut.py | 148 ++++++++++++++++++- tools/docker/Dockerfile | 3 + 29 files changed, 982 insertions(+), 600 deletions(-) -- 2.41.0.640.ga95def55d0-goog