[PATCH v4 0/3] fs: regression-safe load <iface> for null_dev_desc_ok fstypes
Vincent Jardin
vjardin at free.fr
Thu Jul 2 16:42:11 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 v4:
- Apply Simon Glass's v3 review:
* commit body: "-" in the example
* load.rst: drop the internal code references; fixes
* test: drop redundant negative guard
- Add Simon Glass's Reviewed-by to all three patches
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; 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 | 33 ++++++++++++
fs/fs.c | 42 +++++++++++++++
test/py/tests/test_load_sandbox.py | 51 +++++++++++++++++++
.../test_semihosting/test_load_semihosting.py | 38 ++++++++++++++
4 files changed, 164 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: f605dcee103c897b6f1a8873549a36949bd4e2a1
branch: for-upstream/fs-null-dev-desc-dispatch-v4
More information about the U-Boot
mailing list