[PATCH v2 00/23] bootstd: Support ChromiumOS better
Simon Glass
sjg at chromium.org
Thu Aug 24 21:55:23 CEST 2023
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
Changes in v2:
- Rebase on -next
- Rebase to -next
- Rebase to -next
- Rebase to -next
Simon Glass (23):
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
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 | 80 +++++------
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/fat/fat.c | 4 +-
include/bootmeth.h | 3 +
include/os.h | 10 ++
include/part.h | 212 ++++++++++++++++++----------
include/part_efi.h | 14 ++
include/uuid.h | 103 ++++++++++++++
lib/uuid.c | 110 +--------------
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 +
28 files changed, 988 insertions(+), 615 deletions(-)
--
2.42.0.rc1.204.g551eb34607-goog
More information about the U-Boot
mailing list