qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-arm] 9p as rootfs


From: mar.krzeminski
Subject: [Qemu-arm] 9p as rootfs
Date: Fri, 23 Sep 2016 21:38:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

Hello,

I have a problem in my custom arm machine to use 9p fs as a rootfs.

9p command line i qemu:

-device virtio-9p-device,fsdev=host_fs,mount_tag=hostfs -fsdev local,id=host_fs,security_model=none,path=/work/rootfs

Kernel cmd line:

--append "root=hostfs rootfstype=9p rootflags=trans=virtio noinitrd console=ttyS3,115200"

Device tree entry:

        virtio: address@hidden {
            compatible = "virtio,mmio";
            reg = <0xff0a4000 0x200>;
            interrupts = <0 72 1>;
            status = "okay";
        };


 I can mount this fs from kernel using fstab entry:
hostfs               /mnt/host            9p         trans=virtio          0  0

Do you have any idea what am I doing wrong?

Thanks,
Marcin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]