Hello,
I'm trying to fire up an ARM fastmodel using a virtio block device rather than the emulated MMC block device.
UEFI is reading the kernel & DTB off the virtio device, so I know the device is present.
I added this to my kernel config:
diff --git a/linaro/configs/vexpress.conf b/linaro/configs/vexpress.conf
index 83acca8..2582450 100644
--- a/linaro/configs/vexpress.conf
+++ b/linaro/configs/vexpress.conf
@@ -58,3 +58,12 @@ CONFIG_LEDS_GPIO=y
CONFIG_LEDS_TRIGGERS=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
CONFIG_LEDS_TRIGGER_CPU=y
+CONFIG_NET_9P=y
+CONFIG_NET_9P_VIRTIO=y
+CONFIG_VIRTIO_BLK=y
+CONFIG_VIRTIO_NET=y
+CONFIG_VIRTIO_CONSOLE=y
+CONFIG_VIRTIO=y
+CONFIG_VIRTIO_BALLOON=y
+CONFIG_VIRTIO_MMIO=y
+CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
So far, I don't see any vda devices being enumerated (or any other virtio messages) and it rootwaits for /dev/vda2.
I'm launching the model like this:
FVP_VE_Cortex-A15x1 -C motherboard.flashloader0.fname=$UEFI -C motherboard.flashloader1.fname=uefi-vars.fd -C motherboard.flashloader1.fnameWrite=uefi-vars.fd -C motherboard.pl011_uart0.unbuffered_output=true -C motherboard.smsc_91c111.enabled=1 -C motherboard.hostbridge.userNetworking=1 -C motherboard.virtioblockdevice.image_path=linaro.img
Model version:
Fast Models [8.3.44 (Nov 20 2013)]
Anyone had better luck using virtio on armv7 models and have any insights?
Cheers,
Ryan.