From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Oleksij Rempel Date: Fri, 20 Nov 2020 12:46:53 +0100 Message-Id: <20201120114653.29024-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Subject: [DistroKit] [PATCH v1] MIPS: malta: enable USB XHCI support List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: distrokit-bounces@pengutronix.de Sender: "DistroKit" To: distrokit@pengutronix.de 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 --- 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