diff options
author | Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com> | 2024-10-03 14:50:01 +0300 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-11-04 09:47:47 +0000 |
commit | d0d69fddf69e544f6b594621754074169480b410 (patch) | |
tree | 56d401ff35f68c9040488624305cc312420bad51 /meta-egvirt | |
parent | a04be0c533a3f884ac64f5f67b2ccb7b08a2106a (diff) |
Enable the following virtio devices for linux-yocto kernel
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>
Diffstat (limited to 'meta-egvirt')
6 files changed, 44 insertions, 2 deletions
diff --git a/meta-egvirt/recipes-kernel/linux/linux-yocto-dev.bbappend b/meta-egvirt/recipes-kernel/linux/linux-yocto-dev.bbappend index f1388a33..39fb82cb 100644 --- a/meta-egvirt/recipes-kernel/linux/linux-yocto-dev.bbappend +++ b/meta-egvirt/recipes-kernel/linux/linux-yocto-dev.bbappend @@ -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 index 00000000..302e4ddb --- /dev/null +++ b/meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_can.cfg @@ -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 index 00000000..55e65d1b --- /dev/null +++ b/meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_input.cfg @@ -0,0 +1,2 @@ +CONFIG_INPUT=y +CONFIG_INPUT_EVDEV=y diff --git a/meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_loopback.cfg b/meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_loopback.cfg index f9ddb374..017f4bab 100644 --- a/meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_loopback.cfg +++ b/meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_loopback.cfg @@ -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 index 00000000..2e9486e2 --- /dev/null +++ b/meta-egvirt/recipes-kernel/linux/linux-yocto/virtio_sound.cfg @@ -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 diff --git a/meta-egvirt/recipes-kernel/linux/linux-yocto_%.bbappend b/meta-egvirt/recipes-kernel/linux/linux-yocto_%.bbappend index b75875ba..26825294 100644 --- a/meta-egvirt/recipes-kernel/linux/linux-yocto_%.bbappend +++ b/meta-egvirt/recipes-kernel/linux/linux-yocto_%.bbappend @@ -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 \ +" |