From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C357DC54E4B for ; Tue, 12 May 2020 06:53:49 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 847B720752 for ; Tue, 12 May 2020 06:53:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aLJN5kry" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 847B720752 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:56440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYOnU-00030a-Ok for qemu-devel@archiver.kernel.org; Tue, 12 May 2020 02:53:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYOkp-0006Vz-PV for qemu-devel@nongnu.org; Tue, 12 May 2020 02:51:05 -0400 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]:41763) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYOko-0003WI-RC for qemu-devel@nongnu.org; Tue, 12 May 2020 02:51:03 -0400 Received: by mail-pf1-x443.google.com with SMTP id 18so5921295pfv.8 for ; Mon, 11 May 2020 23:51:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=n1YMwf+t1T5UgegU3i8L9NnD54cq03Rj2vu5lbPV+/E=; b=aLJN5kry9pPgPC/ax2xGSDghg3mbseTy09Q76ZGjtwt1QOO/qCejRU1OZHdcJln4w4 ep11kPrc/ljMXulCYKFVJbfEbNMQBGIO8VCnA75uxc7X5u241JPhd0DopSrSo7EQsSg2 clWp255m39llK2IyLWm4N69wV8Ph30qNXak+3xAYegV7TvV7BwfVwh/r4sDLYfIZ9U5D yUH78ASx52fRiH3l/HoxAIa+mTQCw+ZXQ1CvfxGk1dPSKHRRTZVyi/uMmY3X7G0/4yMK wnmL0whfNTouK5xA7/oKnSy6L5jX84Sjs6vs7JhjxIpOoBD/8HA/W3b00tqjP0Bygy3B Wvfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=n1YMwf+t1T5UgegU3i8L9NnD54cq03Rj2vu5lbPV+/E=; b=QYoyeSl6af4f88LteEmjYTMGKjaKFeCN4z4TNNvKbBzPbTzeHtrbn/e0nwG0h5TfnV a2fYye5EvwMlH7fuMwOjm1o1KCNjPH3X2GNAh0YCe/RmV24HWCOpWERlFRy4JJGHtwX3 fTVcmVxPihwVZQfMIuqDjR9bsKvKauf6W6wKFS162OGTxtq3ZSdYJgfrzz6g0ys/0vmE BUsVdOuLbASA9F12lRBCxHsmYytRYQyDXrx1XVlq1XpwFKEZgu3QKUnEHLgU9EsJbwd7 Bn88JrFjjHKkhw/eBllmM1Pu5LOPWmdnUq2dCmqrDiZq3v/PQhGzx0Lgl+k1BQ2/coZL K4Lg== X-Gm-Message-State: AGi0PuYkpDVw/4S7mPW+i6eUmGTn+FAmE22ycUJh0hSSdEFMahbYBrWB oeprVZ7HK5CEVnbtX23lVFE= X-Google-Smtp-Source: APiQypILBxi68u3U4HOHs3OK8clSj+5l6mFqBlxTCNFl59zhR/WSwevyBq86bKFUDuryDvvreWDcMw== X-Received: by 2002:aa7:951b:: with SMTP id b27mr19858573pfp.2.1589266261715; Mon, 11 May 2020 23:51:01 -0700 (PDT) Received: from localhost.localdomain ([75.167.104.59]) by smtp.gmail.com with ESMTPSA id j7sm11837286pjy.9.2020.05.11.23.51.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 23:51:01 -0700 (PDT) From: Paul Zimmerman To: Gerd Hoffmann Subject: [PATCH v5 7/7] raspi2 acceptance test: add test for dwc-hsotg (dwc2) USB host Date: Mon, 11 May 2020 23:49:00 -0700 Message-Id: <20200512064900.28554-8-pauldzim@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200512064900.28554-1-pauldzim@gmail.com> References: <20200512064900.28554-1-pauldzim@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::443; envelope-from=pauldzim@gmail.com; helo=mail-pf1-x443.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Stefan Hajnoczi , QEMU Developers , Paul Zimmerman , John Snow , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Add a check for functional dwc-hsotg (dwc2) USB host emulation to the Raspi 2 acceptance test Reviewed-by: Philippe Mathieu-Daude Signed-off-by: Paul Zimmerman --- 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 c6b06a1a13..abb5ca3dd4 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.17.1