aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2023-01-16 18:12:07 -0500
committerScott Murray <scott.murray@konsulko.com>2023-01-18 21:03:21 -0500
commite511c8eca18ed0d4895c8e150c8670be45fb608a (patch)
tree80f42df1fc09aa82548dfa6dd86e20c5b8cad3e9
parent559c654fb03a8f7530f291066122fe33a6b99449 (diff)
linux: update virtio-aarch64 kernel configuration
Update virtio-aarch64 kernel configuration for QEMU+KVM demo to turn on some CAN and USB device support to allow using some emulated and passthrough devices where there is currently not a workable virtio backend solution. Bug-AGL: SPEC-4618 Change-Id: I07af25b045fcb499c406bbc1aa23285fb7f8e886 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
-rw-r--r--recipes-kernel/linux/linux/kvm-demo-can-devices.cfg (renamed from recipes-kernel/linux/linux/virtio-demo-can-devices.cfg)0
-rw-r--r--recipes-kernel/linux/linux/kvm-demo-usb.cfg4
-rw-r--r--recipes-kernel/linux/linux_agldemo.inc4
3 files changed, 7 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux/virtio-demo-can-devices.cfg b/recipes-kernel/linux/linux/kvm-demo-can-devices.cfg
index 17cb166a8..17cb166a8 100644
--- a/recipes-kernel/linux/linux/virtio-demo-can-devices.cfg
+++ b/recipes-kernel/linux/linux/kvm-demo-can-devices.cfg
diff --git a/recipes-kernel/linux/linux/kvm-demo-usb.cfg b/recipes-kernel/linux/linux/kvm-demo-usb.cfg
new file mode 100644
index 000000000..2fa56a1b7
--- /dev/null
+++ b/recipes-kernel/linux/linux/kvm-demo-usb.cfg
@@ -0,0 +1,4 @@
+CONFIG_USB=y
+CONFIG_USB_XHCI_HCD=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_EHCI_PCI=y
diff --git a/recipes-kernel/linux/linux_agldemo.inc b/recipes-kernel/linux/linux_agldemo.inc
index 7274364ce..1126c7673 100644
--- a/recipes-kernel/linux/linux_agldemo.inc
+++ b/recipes-kernel/linux/linux_agldemo.inc
@@ -40,7 +40,9 @@ AGL_KCONFIG_FRAGMENTS_DEMO:append:qemuarm64 = " most_deps.cfg"
# We don't want most of the above for the virtio guest kernels,
# use an explicit list
AGL_KCONFIG_FRAGMENTS_DEMO:virtio-all = " \
- virtio-demo-can-devices.cfg \
+ kvm-demo-can-devices.cfg \
+ kvm-demo-usb.cfg \
+ usbaudio.cfg \
hid.cfg \
"