summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-core/recipes-kernel
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-05-28 10:59:18 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-05-28 10:59:18 +0000
commitddcc989bb560ab41ce448a4f1d4da41ddaca8868 (patch)
tree503c48c6072195213c258e60ce7fff305e52d9df /meta-agl-bsp/meta-core/recipes-kernel
parentf9e6b6e4f6488c1b34662b20cd57b5f415f58305 (diff)
parentae753811d24be1377c4f5c29c3131384f6db10f7 (diff)
Merge "SPEC-2376: Add virtio configs for QEMU arm/arm64 kernels"
Diffstat (limited to 'meta-agl-bsp/meta-core/recipes-kernel')
-rw-r--r--meta-agl-bsp/meta-core/recipes-kernel/linux/linux-yocto/virtio.cfg4
-rw-r--r--meta-agl-bsp/meta-core/recipes-kernel/linux/linux-yocto_%.bbappend1
2 files changed, 5 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-core/recipes-kernel/linux/linux-yocto/virtio.cfg b/meta-agl-bsp/meta-core/recipes-kernel/linux/linux-yocto/virtio.cfg
new file mode 100644
index 000000000..9bdc2c64e
--- /dev/null
+++ b/meta-agl-bsp/meta-core/recipes-kernel/linux/linux-yocto/virtio.cfg
@@ -0,0 +1,4 @@
+# qemu need a virtio storage for rootfs
+CONFIG_BLK_MQ_VIRTIO=y
+CONFIG_VIRTIO=y
+CONFIG_VIRTIO_BLK=y
diff --git a/meta-agl-bsp/meta-core/recipes-kernel/linux/linux-yocto_%.bbappend b/meta-agl-bsp/meta-core/recipes-kernel/linux/linux-yocto_%.bbappend
index bfb0d323d..d8a583926 100644
--- a/meta-agl-bsp/meta-core/recipes-kernel/linux/linux-yocto_%.bbappend
+++ b/meta-agl-bsp/meta-core/recipes-kernel/linux/linux-yocto_%.bbappend
@@ -2,6 +2,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto:"
# Extra configuration options for the QEMU kernel
SRC_URI += "file://hciattach.cfg \
+ file://virtio.cfg \
"
# Enable some things on qemuarm64 so MOST drivers will build and load.