[PATCH v5 0/2] bootdev: few fixes for automatic boot

dmukhin at ford.com dmukhin at ford.com
Wed Jun 24 00:06:28 CEST 2026


This series addresses few findings in bootdev code.

Patch 1 fix for automatic boots in case higher-priority bootdevs fail
        to be hunted.

Patch 2 adds unit test for patch 1.

Link v4: https://lore.kernel.org/u-boot/20260623014930.2741494-1-dmukhin@ford.com/
Link to CI: https://github.com/u-boot/u-boot/pull/999

Denis Mukhin (2):
  bootdev: scan boot devices at each priority level
  test: bootdev: scan with a broken high-priority device

 boot/bootdev-uclass.c           |  2 -
 drivers/block/Makefile          |  2 +-
 drivers/block/host-uclass.c     | 15 +++++++
 drivers/block/sandbox-bootdev.c | 73 +++++++++++++++++++++++++++++++++
 include/sandbox_host.h          | 18 ++++++++
 test/boot/bootdev.c             | 23 ++++++-----
 test/boot/bootflow.c            | 47 +++++++++++++++++++++
 test/boot/bootstd_common.h      |  5 ++-
 8 files changed, 170 insertions(+), 15 deletions(-)
 create mode 100644 drivers/block/sandbox-bootdev.c

-- 
2.54.0



More information about the U-Boot mailing list