This series collects together some bootstd improvements: - Improve iteration when there are a lot of devices - Add a test image for Ubuntu (to compliment Fedora) - Improve the naming of USB devices and bootdevs - Add a new command to set the bootdev order - Add a little more debugging - Use an abuf when dealing with allocate files - A few other minor things in bootstd
Most of these issues were found when adding the new test image and more USB devices to sandbox. Simon Glass (17): fs: boot: Update fs_read_alloc() to use abuf fs: boot: Update fs_load_alloc() to use abuf fs: boot: Update bootmeth_alloc_other() to use abuf bootstd: Add more debugging to bootmeth_efi bootstd: Add more debugging to bootmeth_extlinux bootstd: Try all bootmeths on the final partition bootstd: Fully complete iteration of a uclass test/py: Split out core of Fedora image into a new function test/py: Add a test image for Ubuntu usb: Use more useful names for block devices sandbox: Use a unique name for each USB controller bootstd: Tweak scanning with labels bootstd: Tidy up a nested CONFIG_IS_ENABLED(BOOTSTD) bootstd: Provide a command to select the bootdev order bootstd: Correct the comment for bootmeth_set_order() bootstd: Expand debugging in bootdev_find_in_blk() bootstd: Mention FS state in bootmeth_read_bootflow() arch/sandbox/dts/test.dts | 13 +++- boot/bootdev-uclass.c | 112 +++++++++++++++++++++++---------- boot/bootflow.c | 37 ++++++----- boot/bootmeth-uclass.c | 17 +++-- boot/bootmeth_efi.c | 5 +- boot/bootmeth_extlinux.c | 14 ++++- boot/bootmeth_script.c | 6 +- boot/bootstd-uclass.c | 18 ++++++ cmd/bootdev.c | 37 +++++++++++ cmd/bootflow.c | 2 +- cmd/cat.c | 13 ++-- cmd/cedit.c | 18 +++--- doc/usage/cmd/bootdev.rst | 36 +++++++++++ drivers/usb/emul/sandbox_hub.c | 2 +- drivers/usb/host/usb-uclass.c | 14 ++++- fs/fs.c | 28 ++++----- include/bootdev.h | 60 ++++++++++-------- include/bootflow.h | 2 +- include/bootmeth.h | 12 ++-- include/bootstd.h | 10 +++ include/fs.h | 18 +++--- test/boot/bootdev.c | 83 ++++++++++++++++++------ test/boot/bootflow.c | 10 +-- test/dm/blk.c | 4 +- test/dm/usb.c | 8 +-- test/py/tests/test_ut.py | 111 +++++++++++++++++++++++++------- 26 files changed, 487 insertions(+), 203 deletions(-) -- 2.43.0 base-commit: 569681e993486b830035064f23ec87bcd70795d1 branch: schc