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
signature.asc
Description: PGP signature

