Enable the following virtio devices for linux-yocto kernel 70/30370/3
authorTimos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
Thu, 3 Oct 2024 11:50:01 +0000 (14:50 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 4 Nov 2024 09:47:47 +0000 (09:47 +0000)
Specifically this commit enables virtio-can, virtio-input,
virtio-sound and virtio-loopback for linux-yocto kernel.

Bug-AGL: SPEC-4966

Change-Id: I856631c918129eb27f9dde7f594a0c601c8cc413
Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
meta-egvirt/recipes-kernel/linux/linux-yocto-dev.bbappend
meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_can.cfg [new file with mode: 0644]
meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_input.cfg [new file with mode: 0644]
meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_loopback.cfg
meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_sound.cfg [new file with mode: 0644]
meta-egvirt/recipes-kernel/linux/linux-yocto_%.bbappend

index f1388a3..39fb82c 100644 (file)
@@ -17,3 +17,18 @@ SRC_URI:append = " \
 SRC_URI += " \
     file://virtio_loopback.cfg \
 "
+
+# virtio can
+SRC_URI += " \
+    file://virtio_can.cfg \
+"
+
+# virtio input
+SRC_URI += " \
+    file://virtio_input.cfg \
+"
+
+# virtio sound
+SRC_URI += " \
+    file://virtio_sound.cfg \
+"
diff --git a/meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_can.cfg b/meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_can.cfg
new file mode 100644 (file)
index 0000000..302e4dd
--- /dev/null
@@ -0,0 +1 @@
+CONFIG_CAN_DEV=m
diff --git a/meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_input.cfg b/meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_input.cfg
new file mode 100644 (file)
index 0000000..55e65d1
--- /dev/null
@@ -0,0 +1,2 @@
+CONFIG_INPUT=y
+CONFIG_INPUT_EVDEV=y
index f9ddb37..017f4ba 100644 (file)
@@ -1,3 +1,6 @@
 CONFIG_HW_RANDOM_VIRTIO=m
-CONFIG_VIRTIO_INPUT=y
-CONFIG_VIRTIO_GPIO=y
+CONFIG_VIRTIO_INPUT=m
+CONFIG_VIRTIO_GPIO=m
+CONFIG_SND_VIRTIO=m
+CONFIG_VIRTIO_CONSOLE=m
+CONFIG_VIRTIO_BLK=m
diff --git a/meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_sound.cfg b/meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_sound.cfg
new file mode 100644 (file)
index 0000000..2e9486e
--- /dev/null
@@ -0,0 +1,6 @@
+CONFIG_SND=y
+CONFIG_SOUND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+CONFIG_SND_JACK=y
+CONFIG_SND_JACK_INPUT_DEV=y
index b75875b..2682529 100644 (file)
@@ -16,3 +16,18 @@ SRC_URI += " \
 SRC_URI += " \
     file://virtio_loopback.cfg \
 "
+
+# virtio can
+SRC_URI += " \
+    file://virtio_can.cfg \
+"
+
+# virtio input
+SRC_URI += " \
+    file://virtio_input.cfg \
+"
+
+# virtio sound
+SRC_URI += " \
+    file://virtio_sound.cfg \
+"