[PATCH v4 0/2] bootdev: few fixes for automatic boot
dmukhin at ford.com
dmukhin at ford.com
Tue Jun 23 03:49: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 to v3: https://lore.kernel.org/u-boot/20260621051445.1763952-1-dmukhin@ford.com/
Link to CI: https://github.com/u-boot/u-boot/pull/994
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 | 46 +++++++++++++++++++++
test/boot/bootstd_common.h | 5 ++-
8 files changed, 169 insertions(+), 15 deletions(-)
create mode 100644 drivers/block/sandbox-bootdev.c
--
2.54.0
More information about the U-Boot
mailing list