[PATCH v3 0/3] fs: regression-safe load <iface> for null_dev_desc_ok fstypes

Vincent Jardin vjardin at free.fr
Mon Jun 1 15:12:01 CEST 2026


3 commits providing documentation of impacts and testing the dispatch
for null_dev_desc_ok fstypes (semihosting, ubifs, sandbox) in the
generic `load <iface> ...` command.

The test does not cover ubifs, I could not make it work with
qemu. Since the code logic is there and testing with semihost
is done, it should cover the needed cases.


Changes in v3:
- Apply Simon Glass's v1 review:
    * Fix typo "thue" -> "the" in the commit body
    * Refactor the dispatch loop with a fs_lookup_null_dev_info()
      helper
- Add doc/usage/cmd/load.rst "Null-block-device interfaces"
- Add pytest regression tests for the `semihosting` and
  sandbox ifnames, verified passing on qemu_arm64 (with
  CONFIG_SEMIHOSTING=y) and on a sandbox build respectively. A
  ubifs test is intentionally not done.

Changes in v2:
- (v2 is my local iteration, not good for the list, included ubifs tests;
  the changes since v1 are captured in the v3 changelog below.)

Vincent Jardin (3):
  fs: dispatch null_dev_desc_ok filesystems before lookup
  doc: usage: cmd: load: null-block-device
  test: py: load: check null_dev_desc_ok dispatch

 doc/usage/cmd/load.rst                        | 37 +++++++++++++
 fs/fs.c                                       | 42 +++++++++++++++
 test/py/tests/test_load_sandbox.py            | 53 +++++++++++++++++++
 .../test_semihosting/test_load_semihosting.py | 39 ++++++++++++++
 4 files changed, 171 insertions(+)
 create mode 100644 test/py/tests/test_load_sandbox.py
 create mode 100644 test/py/tests/test_semihosting/test_load_semihosting.py

-- 
2.43.0

base-commit: bfe90a308a94caa9d855440683521ff04122ae2a
branch: for-upstream/fs-null-dev-desc-dispatch-v3


More information about the U-Boot mailing list