We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
How to enable share folders between fvp and host linux
Hello I am using the Base_RevC_AEMv8A_pkg. I already checked the document in the fvp guide.
And I have added the -C bp.virtiop9device.root_path=/home/fvptest/work/fvp/share in model-scripts/fvp/run_model.sh
And I have configue the linux with virtio enabled:
CONFIG_NET_9P=y CONFIG_NET_9P_VIRTIO=y CONFIG_NET_9P_DEBUG=y (Optional) CONFIG_9P_FS=y CONFIG_9P_FS_POSIX_ACL=y CONFIG_PCI=y CONFIG_VIRTIO_PCI=y
CONFIG_PCI=y CONFIG_VIRTIO_PCI=y CONFIG_PCI_HOST_GENERIC=y And dtsi with linux/arch/arm64/boot/dts/arm$ vi fvp-base.dtsi virtio_p9@0140000 { compatible = "virtio,mmio"; reg = <0x0 0x1c140000 0x0 0x1000>; interrupts = <0x0 0x2b 0x4>; };And I can see the 9pnet probe success, in fvp linux:cat /sys/devices/platform/1c140000.virtio_p9/virtio1/mount_taggot:FM/sys/devices/platform/1c140000.virtio_p9/virt1However,when use the command:mount -t 9p trans=virtio,version=9p2000.L FM /shareIt shows that:
mount: mounting FM on /share failed: Inavlid argument
And there is no other message, since I already change the loglevel to 15.
Could you help me for this.