From ae753811d24be1377c4f5c29c3131384f6db10f7 Mon Sep 17 00:00:00 2001 From: Corentin Labbe Date: Thu, 23 May 2019 08:59:27 +0000 Subject: SPEC-2376: Add virtio configs for QEMU arm/arm64 kernels QEMU arm/arm64 need some VIRTIO configs for having storage for rootfs. Bug-AGL: SPEC-2376 Change-Id: Ia4b53092418b9f5e4040b8dafc58262a98bcac46 Signed-off-by: Corentin Labbe --- meta-agl-bsp/meta-core/recipes-kernel/linux/linux-yocto/virtio.cfg | 4 ++++ meta-agl-bsp/meta-core/recipes-kernel/linux/linux-yocto_%.bbappend | 1 + 2 files changed, 5 insertions(+) create mode 100644 meta-agl-bsp/meta-core/recipes-kernel/linux/linux-yocto/virtio.cfg (limited to 'meta-agl-bsp/meta-core/recipes-kernel') 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. -- cgit 1.2.3-korg