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=-8.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 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 AD392C2D0DB for ; Mon, 27 Jan 2020 16:16:40 +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 742BF2087F for ; Mon, 27 Jan 2020 16:16:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="JpOszko6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 742BF2087F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:47478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iw742-0001OC-4n for qemu-devel@archiver.kernel.org; Mon, 27 Jan 2020 11:16:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57785) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iw730-0000jS-6y for qemu-devel@nongnu.org; Mon, 27 Jan 2020 11:15:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iw72y-0002VZ-BN for qemu-devel@nongnu.org; Mon, 27 Jan 2020 11:15:33 -0500 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:36842 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iw72y-0002U2-7q for qemu-devel@nongnu.org; Mon, 27 Jan 2020 11:15:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580141731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:openpgp:openpgp; bh=Dj7QIN1+MoxU3tR+bRA4GkKXxZ3NCp2a4N/Dz5RnPJ8=; b=JpOszko65xpaTm62Sxfo8Y0xAfC/i6nr+vPXQ8fYCHd6jtJOPVxGlyxVWMajWFaZn5vAnZ aa/xScEtNLzKrkQyxGXI4HfPL+pxOrD8IPxzLczQJ6WdcjyUtGWDblKidekWU9goNwsZ6f vSY9j9CjyyJ/ANZU1wcwVMRnBWhkw70= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-60-ibpgfjG8MMuKbj1E3AvAMQ-1; Mon, 27 Jan 2020 11:15:27 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A317685EE71; Mon, 27 Jan 2020 16:15:25 +0000 (UTC) Received: from thuth.remote.csb (ovpn-117-94.ams2.redhat.com [10.36.117.94]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3292B88836; Mon, 27 Jan 2020 16:15:12 +0000 (UTC) Subject: Re: [PATCH v4 5/7] tests/boot_linux_console: Test booting U-Boot on the Raspberry Pi 2 To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , qemu-devel@nongnu.org References: <20200120235159.18510-1-f4bug@amsat.org> <20200120235159.18510-6-f4bug@amsat.org> <5e986679-7aff-a33c-eefb-d878b72089ad@redhat.com> From: Thomas Huth Openpgp: preference=signencrypt Message-ID: <940afac4-2b25-0de9-9fd2-a9903d9fcd04@redhat.com> Date: Mon, 27 Jan 2020 17:15:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <5e986679-7aff-a33c-eefb-d878b72089ad@redhat.com> Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-MC-Unique: ibpgfjG8MMuKbj1E3AvAMQ-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 205.139.110.61 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 , Eduardo Habkost , Alistair Francis , Andrew Baumann , qemu-arm@nongnu.org, Cleber Rosa , Laurent Bonnans , Cheng Xiang Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 27/01/2020 17.09, Philippe Mathieu-Daud=C3=A9 wrote: > On 1/27/20 5:02 PM, Thomas Huth wrote: >> On 21/01/2020 00.51, Philippe Mathieu-Daud=C3=A9 wrote: >>> This test runs U-Boot on the Raspberry Pi 2. >>> It is very simple and fast: >>> >>> =C2=A0=C2=A0 $ avocado --show=3Dapp,console run -t raspi2 -t u-boot >>> tests/acceptance/ >>> =C2=A0=C2=A0 JOB LOG=C2=A0=C2=A0=C2=A0 : avocado/job-results/job-2020-0= 1-20T23.40-2424777/job.log >>> =C2=A0=C2=A0=C2=A0 (1/1) >>> tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_arm_raspi2= _uboot: >>> >>> =C2=A0=C2=A0 console: MMC:=C2=A0=C2=A0 sdhci@7e300000: 0 >>> =C2=A0=C2=A0 console: Loading Environment from FAT... Card did not resp= ond to >>> voltage select! >>> =C2=A0=C2=A0 console: In:=C2=A0=C2=A0=C2=A0 serial >>> =C2=A0=C2=A0 console: Out:=C2=A0=C2=A0 vidconsole >>> =C2=A0=C2=A0 console: Err:=C2=A0=C2=A0 vidconsole >>> =C2=A0=C2=A0 console: Net:=C2=A0=C2=A0 No ethernet found. >>> =C2=A0=C2=A0 console: starting USB... >>> =C2=A0=C2=A0 console: USB0:=C2=A0=C2=A0 Port not available. >>> =C2=A0=C2=A0 console: Hit any key to stop autoboot:=C2=A0 0 >>> =C2=A0=C2=A0 console: U-Boot> >>> =C2=A0=C2=A0 console: U-Boot> bdinfo >>> =C2=A0=C2=A0 console: arch_number =3D 0x00000000 >>> =C2=A0=C2=A0 console: boot_params =3D 0x00000100 >>> =C2=A0=C2=A0 console: DRAM bank=C2=A0=C2=A0 =3D 0x00000000 >>> =C2=A0=C2=A0 console: -> start=C2=A0=C2=A0=C2=A0 =3D 0x00000000 >>> =C2=A0=C2=A0 console: -> size=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0x3c000000 >>> =C2=A0=C2=A0 console: baudrate=C2=A0=C2=A0=C2=A0 =3D 115200 bps >>> =C2=A0=C2=A0 console: TLB addr=C2=A0=C2=A0=C2=A0 =3D 0x3bff0000 >>> =C2=A0=C2=A0 console: relocaddr=C2=A0=C2=A0 =3D 0x3bf64000 >>> =C2=A0=C2=A0 console: reloc off=C2=A0=C2=A0 =3D 0x3bf5c000 >>> =C2=A0=C2=A0 console: irq_sp=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0x3bb5fe= c0 >>> =C2=A0=C2=A0 console: sp start=C2=A0=C2=A0=C2=A0 =3D 0x3bb5feb0 >>> =C2=A0=C2=A0 console: Early malloc usage: 2a4 / 400 >>> =C2=A0=C2=A0 console: fdt_blob=C2=A0=C2=A0=C2=A0 =3D 0x3bfbdfb0 >>> =C2=A0=C2=A0 console: U-Boot> version >>> =C2=A0=C2=A0 console: U-Boot 2019.01+dfsg-7 (May 14 2019 - 02:07:44 +00= 00) >>> =C2=A0=C2=A0 console: gcc (Debian 8.3.0-7) 8.3.0 >>> =C2=A0=C2=A0 console: GNU ld (GNU Binutils for Debian) 2.31.1 >>> =C2=A0=C2=A0 console: U-Boot> reset >>> =C2=A0=C2=A0 console: resetting ... >>> =C2=A0=C2=A0 PASS (0.46 s) >>> >>> U-Boot is built by the Debian project, see: >>> https://wiki.debian.org/InstallingDebianOn/Allwinner#Creating_a_bootabl= e_SD_Card_with_u-boot >>> >>> >>> Signed-off-by: Philippe Mathieu-Daud=C3=A9 >>> --- >>> =C2=A0 tests/acceptance/boot_linux_console.py | 28 ++++++++++++++++++++= ++++++ >>> =C2=A0 1 file changed, 28 insertions(+) >>> >>> diff --git a/tests/acceptance/boot_linux_console.py >>> b/tests/acceptance/boot_linux_console.py >>> index e40b84651b..682b801b4f 100644 >>> --- a/tests/acceptance/boot_linux_console.py >>> +++ b/tests/acceptance/boot_linux_console.py >> >> The file is called boot_*linux*_console.py ... so shouldn't tests that >> don't use Linux rather go into another file instead? >> Either machine_arm_raspi.py or maybe a boot_firmware_console.py file? >=20 > Yes I have a series ready splitting boot_linux_console.py per machines > (as suggested machine_arm_raspi.py) not for consistency with fw/linux > but because I'm tired of fixing conflicts while rebasing since months. Ah, great, good idea. That will also make it easier to assign the files to entries in MAINTAINERS, I guess. Thanks, Thomas