[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 7/7] raspi2 acceptance test: add test for dwc-hsotg (dwc2)
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v4 7/7] raspi2 acceptance test: add test for dwc-hsotg (dwc2) USB host |
Date: |
Tue, 28 Apr 2020 09:08:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 4/28/20 4:22 AM, Paul Zimmerman wrote:
> Add a check for functional dwc-hsotg (dwc2) USB host emulation to
> the Raspi 2 acceptance test
>
> Signed-off-by: Paul Zimmerman <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 f825cd9ef5..efa4803642 100644
> --- a/tests/acceptance/boot_linux_console.py
> +++ b/tests/acceptance/boot_linux_console.py
> @@ -373,13 +373,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)
Awesome, thanks for this patch!
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
>
> def test_arm_raspi2_uart0(self):
> """
>
- Re: [PATCH v4 1/7] raspi: add BCM2835 SOC MPHI emulation, (continued)
- [PATCH v4 2/7] dwc-hsotg (dwc2) USB host controller register definitions, Paul Zimmerman, 2020/04/27
- [PATCH v4 3/7] dwc-hsotg (dwc2) USB host controller state definitions, Paul Zimmerman, 2020/04/27
- [PATCH v4 4/7] dwc-hsotg (dwc2) USB host controller emulation, Paul Zimmerman, 2020/04/27
- [PATCH v4 5/7] usb: add short-packet handling to usb-storage driver, Paul Zimmerman, 2020/04/27
- [PATCH v4 6/7] wire in the dwc-hsotg (dwc2) USB host controller emulation, Paul Zimmerman, 2020/04/27
- [PATCH v4 7/7] raspi2 acceptance test: add test for dwc-hsotg (dwc2) USB host, Paul Zimmerman, 2020/04/27
- Re: [PATCH v4 7/7] raspi2 acceptance test: add test for dwc-hsotg (dwc2) USB host,
Philippe Mathieu-Daudé <=
- Re: [PATCH v4 0/7] dwc-hsotg (aka dwc2) USB host controller emulation, no-reply, 2020/04/27