Skip to content

bootdev: few fixes for automatic boot

[email protected] u-boot 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 2 repliesIn review
  2. v42 patches 2 repliesSuperseded
  3. v33 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches2 repliesSuperseded
v12 patches4 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bootdev: scan boot devices at each priority levelboot/bootdev-uclass.c+0 -20 replies
2/2test: bootdev: scan with a broken high-priority devicedrivers/block/Makefile drivers/block/host-uclass.c drivers/block/sandbox-bootdev.c +4 more+170 -131 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

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

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/[email protected]/
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
Signature · 1 line
2.54.0