[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 7/7] raspi2 acceptance test: add test for dwc-hsotg (dwc2) USB hos
From: |
Gerd Hoffmann |
Subject: |
[PULL 7/7] raspi2 acceptance test: add test for dwc-hsotg (dwc2) USB host |
Date: |
Thu, 14 May 2020 14:23:34 +0200 |
From: Paul Zimmerman <address@hidden>
Add a check for functional dwc-hsotg (dwc2) USB host emulation to
the Raspi 2 acceptance test
Reviewed-by: Philippe Mathieu-Daude <address@hidden>
Signed-off-by: Paul Zimmerman <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
---
tests/acceptance/boot_linux_console.py | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/tests/acceptance/boot_linux_console.py
b/tests/acceptance/boot_linux_console.py
index c6b06a1a138f..abb5ca3dd4ae 100644
--- a/tests/acceptance/boot_linux_console.py
+++ b/tests/acceptance/boot_linux_console.py
@@ -378,13 +378,18 @@ class BootLinuxConsole(Test):
self.vm.set_console()
kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
- serial_kernel_cmdline[uart_id])
+ serial_kernel_cmdline[uart_id] +
+ ' root=/dev/mmcblk0p2 rootwait ' +
+ 'dwc_otg.fiq_fsm_enable=0')
self.vm.add_args('-kernel', kernel_path,
'-dtb', dtb_path,
- '-append', kernel_command_line)
+ '-append', kernel_command_line,
+ '-device', 'usb-kbd')
self.vm.launch()
console_pattern = 'Kernel command line: %s' % kernel_command_line
self.wait_for_console_pattern(console_pattern)
+ console_pattern = 'Product: QEMU USB Keyboard'
+ self.wait_for_console_pattern(console_pattern)
def test_arm_raspi2_uart0(self):
"""
--
2.18.4
- [PULL 0/7] Usb 20200514 patches, Gerd Hoffmann, 2020/05/14
- [PULL 1/7] raspi: add BCM2835 SOC MPHI emulation, Gerd Hoffmann, 2020/05/14
- [PULL 6/7] wire in the dwc-hsotg (dwc2) USB host controller emulation, Gerd Hoffmann, 2020/05/14
- [PULL 7/7] raspi2 acceptance test: add test for dwc-hsotg (dwc2) USB host,
Gerd Hoffmann <=
- [PULL 5/7] usb: add short-packet handling to usb-storage driver, Gerd Hoffmann, 2020/05/14
- [PULL 3/7] dwc-hsotg (dwc2) USB host controller state definitions, Gerd Hoffmann, 2020/05/14
- [PULL 2/7] dwc-hsotg (dwc2) USB host controller register definitions, Gerd Hoffmann, 2020/05/14
- [PULL 4/7] dwc-hsotg (dwc2) USB host controller emulation, Gerd Hoffmann, 2020/05/14
- Re: [PULL 0/7] Usb 20200514 patches, Peter Maydell, 2020/05/14
- Re: [PULL 0/7] Usb 20200514 patches, no-reply, 2020/05/14