DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH v1] MIPS: malta: enable USB XHCI support
@ 2020-11-20 11:46 Oleksij Rempel
  2020-11-23  9:50 ` Robert Schwebel
  0 siblings, 1 reply; 2+ messages in thread
From: Oleksij Rempel @ 2020-11-20 11:46 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

Make malta kernel work with qemu-xhci controller. It was needed to
reproduce endiannes bug with candleLight CAN adapter.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mips/kernelconfig-malta      | 6 +++++-
 configs/platform-mips/kernelconfig-malta.diff | 5 +++++
 configs/platform-mips/run                     | 2 +-
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta
index 17ebd02..92cabe7 100644
--- a/configs/platform-mips/kernelconfig-malta
+++ b/configs/platform-mips/kernelconfig-malta
@@ -2559,7 +2559,11 @@ CONFIG_USB_AUTOSUSPEND_DELAY=2
 # USB Host Controller Drivers
 #
 # CONFIG_USB_C67X00_HCD is not set
-# CONFIG_USB_XHCI_HCD is not set
+CONFIG_USB_XHCI_HCD=m
+# CONFIG_USB_XHCI_DBGCAP is not set
+CONFIG_USB_XHCI_PCI=m
+# CONFIG_USB_XHCI_PCI_RENESAS is not set
+# CONFIG_USB_XHCI_PLATFORM is not set
 # CONFIG_USB_EHCI_HCD is not set
 # CONFIG_USB_OXU210HP_HCD is not set
 # CONFIG_USB_ISP116X_HCD is not set
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index 458acb0..2d3dcbd 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -1663,6 +1663,11 @@ CONFIG_USB_HID=m
 CONFIG_USB_PCI=y
 # CONFIG_USB_STORAGE is not set
 # CONFIG_USB_UHCI_HCD is not set
+# CONFIG_USB_XHCI_DBGCAP is not set
+CONFIG_USB_XHCI_HCD=m
+CONFIG_USB_XHCI_PCI=m
+# CONFIG_USB_XHCI_PCI_RENESAS is not set
+# CONFIG_USB_XHCI_PLATFORM is not set
 # CONFIG_USERIO is not set
 CONFIG_VETH=m
 CONFIG_VGA_ARB=y
diff --git a/configs/platform-mips/run b/configs/platform-mips/run
index c42b5f5..edfce51 100755
--- a/configs/platform-mips/run
+++ b/configs/platform-mips/run
@@ -68,7 +68,7 @@ fi
 BASE_CMDLINE="console=ttyS0,115200 loglevel=5 systemd.log_level=warning systemd.show_status=auto"
 
 # Machine to emulate
-QEMU_ARGS=( -M malta -m 256 -serial stdio -monitor null)
+QEMU_ARGS=( -M malta -m 256 -serial stdio -monitor null -device qemu-xhci,id=xhci)
 # disable graphics output
 QEMU_ARGS[${#QEMU_ARGS[@]}]="-nographic"
 # Exit qemu on reboot
-- 
2.29.2


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-23  9:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-20 11:46 [DistroKit] [PATCH v1] MIPS: malta: enable USB XHCI support Oleksij Rempel
2020-11-23  9:50 ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox