summaryrefslogtreecommitdiffstats
path: root/meta-uhmi/dynamic-layers
diff options
context:
space:
mode:
Diffstat (limited to 'meta-uhmi/dynamic-layers')
-rw-r--r--meta-uhmi/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/enable-virtio.cfg6
-rw-r--r--meta-uhmi/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend9
-rw-r--r--meta-uhmi/dynamic-layers/rcar-gen3/recipes-kernel/linux/linux-renesas_%.bbappend1
3 files changed, 16 insertions, 0 deletions
diff --git a/meta-uhmi/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/enable-virtio.cfg b/meta-uhmi/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/enable-virtio.cfg
new file mode 100644
index 00000000..82ff9ea1
--- /dev/null
+++ b/meta-uhmi/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/enable-virtio.cfg
@@ -0,0 +1,6 @@
+CONFIG_VIRTIO=y
+CONFIG_VIRTIO_MMIO=y
+CONFIG_VIRTIO_BLK=y
+CONFIG_VIRTIO_BLK_SCSI=y
+CONFIG_VIRTIO_PCI=y
+CONFIG_VIRTIO_PCI_LEGACY=y
diff --git a/meta-uhmi/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend b/meta-uhmi/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend
new file mode 100644
index 00000000..d093e40f
--- /dev/null
+++ b/meta-uhmi/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend
@@ -0,0 +1,9 @@
+require recipes-kernel/linux/linux-rvgpu.inc
+
+FILESEXTRAPATHS:prepend := "${THISDIR}/linux-common/:"
+
+SRC_URI:append = " \
+ file://enable-virtio.cfg \
+"
+
+KERNEL_MODULE_AUTOLOAD:append = " virtio-gpu"
diff --git a/meta-uhmi/dynamic-layers/rcar-gen3/recipes-kernel/linux/linux-renesas_%.bbappend b/meta-uhmi/dynamic-layers/rcar-gen3/recipes-kernel/linux/linux-renesas_%.bbappend
new file mode 100644
index 00000000..1b238eea
--- /dev/null
+++ b/meta-uhmi/dynamic-layers/rcar-gen3/recipes-kernel/linux/linux-renesas_%.bbappend
@@ -0,0 +1 @@
+require recipes-kernel/linux/linux-rvgpu.inc