[PATCH 0/4] fs: Add 9P filesystem support over virtio
Tom Rini
trini at konsulko.com
Tue Jul 7 18:44:12 CEST 2026
On Mon, Jul 06, 2026 at 09:54:42PM +0000, Kuan-Wei Chiu wrote:
> Add 9P network filesystem support to U-Boot.
>
> It allows U-Boot to directly mount host directories in virtualization
> environments via virtio.
>
> The functionality has been verified on qemu arm64 by successfully
> loading a Linux kernel image and an initramfs image via 9P, and booting
> to the Linux shell.
>
> To test with QEMU:
> -fsdev local,id=fsdev0,path=/path/to/host/dir,security_model=none \
> -device virtio-9p-device,fsdev=fsdev0,mount_tag=rootfs
>
> U-Boot usage:
> => virtio scan
> => ls 9p - /
> => load 9p - $kernel_addr_r /Image
> => load 9p - $ramdisk_addr_r /initramfs.cpio
> => booti $kernel_addr_r $ramdisk_addr_r:$filesize $fdtcontroladdr
Neat. Can you please update this to include docs and tests (and likely
updating u-boot-test-hooks so QEMU is started with the required options?
We already have a bit of python so that we can pass a build directory
over to QEMU for TFTP tests, iirc). Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260707/f16d0f30/attachment.sig>
More information about the U-Boot
mailing list