Hi Vincent,

On 2026-06-01T13:12:01, Vincent Jardin <[email protected]> wrote:
> fs: dispatch null_dev_desc_ok filesystems before lookup
>
> Filesystems that are null_dev_desc_ok (semihosting, ubifs) have
> no UCLASS_BLK device under their ifname, so on real hardware
> fs_set_blk_dev() always fails at the partition lookup.
> The workaround was to add a per-filesystem
> command (example cmd/ubifs.c), which duplicates the plumbing of
> fstype_info.
>
> Probe such entries with block_desc=NULL up front, so
>   load semihosting <addr> <file>
> works without a new command.
>
> Sandbox boards that exercise the existing fallback through "host
> bind" stay unchanged.
>
> Signed-off-by: Vincent Jardin <[email protected]>
>
> fs/fs.c | 42 ++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 42 insertions(+)

The example in the commit body needs the <dev[:part]> placeholder - it
should read 'load semihosting - <addr> <file>' to match the actual
command syntax.

Reviewed-by: Simon Glass <[email protected]>

Regards,
Simon

Reply via email to