Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D35BAC43217 for ; Fri, 3 Dec 2021 17:39:29 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 28A0B8069E; Fri, 3 Dec 2021 18:39:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="Ot+nRfBs"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E8FAC80F56; Fri, 3 Dec 2021 18:39:25 +0100 (CET) Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9580A804C8 for ; Fri, 3 Dec 2021 18:39:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x734.google.com with SMTP id 193so4175761qkh.10 for ; Fri, 03 Dec 2021 09:39:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=u2cxYa1clt8bOjRRetc4Q8AuPgiv7SeNMyHBb7t7XhI=; b=Ot+nRfBsyv8+p4bzJxvkf36iYpuaX9ZvrhZlkXqoFcdU6NLN8kLbq5CAgyk2DLptIC ED18GynP3iOXyB6sdjsx4SjnEohxH4n+YGDRVZOvwLHOsNSDvAZMXc4IAR4CmlBB6zRt ubZ+KX6gI7TicJYd2SjojNsME7uL1zB95DcG8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=u2cxYa1clt8bOjRRetc4Q8AuPgiv7SeNMyHBb7t7XhI=; b=WDmW5yD1FB/Jt/GrMIEXUMEKNQPjnQZ3sJaCeHIMB1VbUvB+03x08FxqtiHFrRuSey Do263uRquUfNjnOhvM5H/NH0To+GROvAs4PFjbOzd/VjVRXtAWjWLAfUnmmDe/HgRWAM ciH4G2IeCiq/NcIlSmuYa0aP/Gw14sxKEQhUzjBOUyN8NfvA5sm65TnhLwbKELXtJVj4 F+UQtGkxwe5k+xLzWWYRRtdhxVQx8jztrCpTkAbNaehdtVz8xajLZBSmiirDRzpBNFAt wXiS20bSNVl28F4FFcvg3GxZ5igK4i4/P/CxFzJ8FloZAPh5k4lX+JrCkS6LTsFL3koa 61zg== X-Gm-Message-State: AOAM532SC5QYf92fWWP3GWdK5O0oin/ihM5rAflnbwCOYZGCbjtm24K4 WtKDVefGf+RvtI+mzc0ue37zxw== X-Google-Smtp-Source: ABdhPJzTfbEtNwt9Dpn5ZLdeXHOLNzZh7tj42AkRZyPR91TNxUPlZDL0U1fugC0ZckV25/XbENu0eA== X-Received: by 2002:a37:d205:: with SMTP id f5mr18843096qkj.698.1638553161241; Fri, 03 Dec 2021 09:39:21 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-d9d6-935a-0acb-daea.res6.spectrum.com. [2603:6081:7b01:cbda:d9d6:935a:acb:daea]) by smtp.gmail.com with ESMTPSA id f12sm2381826qkh.22.2021.12.03.09.39.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Dec 2021 09:39:20 -0800 (PST) Date: Fri, 3 Dec 2021 12:39:18 -0500 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List Subject: Re: [u-boot-test-hooks PATCH v2] travis-ci: Add tests for booting from coreboot Message-ID: <20211203173918.GP1220664@bill-the-cat> References: <20211203155238.2653179-1-sjg@chromium.org> <20211203160243.GM1220664@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4mzJX4knSlzCkV+j" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --4mzJX4knSlzCkV+j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 03, 2021 at 09:17:20AM -0700, Simon Glass wrote: > Hi Tom, >=20 > On Fri, 3 Dec 2021 at 09:02, Tom Rini wrote: > > > > On Fri, Dec 03, 2021 at 08:52:38AM -0700, Simon Glass wrote: > > > > > Add a means of testing a coreboot + U-Boot build using qemu. > > > > > > Signed-off-by: Simon Glass > > > --- > > > As to what to do with people's labs, I think applying these patches d= oes > > > encourage them and provide people with examples. Having 'no mainline'= for > > > these is going to be an impediment I think. > > > > > > Changes in v2: > > > - Drop the ellesmere symlink > > > > > > bin/travis-ci/conf.coreboot_qemu | 28 ++++++++++++++++++++++++++++ > > > 1 file changed, 28 insertions(+) > > > create mode 100644 bin/travis-ci/conf.coreboot_qemu > > > > So, now we have the conf, for something 100% virtual, in bin/travis-ci > > (which yes, ugh, bad name). If we had a top-level README.rst how would > > it be unclear that this is a functional example? In fact, maybe we > > should clear something up. How does the network test work for you? I > > have to modify them to pass -tftp=3D/tftpboot so that I can then give it > > things like helloworld.efi and appropriate grub.efi. Are you using some > > wrapper to make things look more like what CI does? >=20 > I haven't tried the network tests, actually. Mostly I run individual > tests or just boot to a prompt and try things out. One day I would > like to get labman closer to making this automatic. Ah. I have a wrapper to activate a virtualenv for the pytest stuff, then set PYTHONPATH / UBOOT_TRAVIS_BUILD_DIR and it all just works. Except since I want to test the network a bit more heavily, I pass in my own tftpboot dir, with a larger test file. I could possibly change things to wrap up and look more like CI does, and require less tweaking. --=20 Tom --4mzJX4knSlzCkV+j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmGqVkAACgkQFHw5/5Y0 tyy9AQwAm+GHX38Ae8y1qMoXM4GyeDDtPsEKfFFEhJfESNcaaL36T65NEFAdFdwn 7QwfNNNeKw6TmmfNNgUWcOtX1uQbtAbRQ/y1savC8TBfUS9AGkZDhtdz7f40qV7f nOXiWkLjxtvzcfpVXU6ciyDHxFKBi5+r5VpLopX9EvjMSiVRKSqwCag8zhY8+cyd KuFuFIvWXJ2CwKC0qMNlnD5sQ83eNzkHtp3UHbYVICSvYy1Y6PhEB0qYqR2xaRrh rHijPmYVIYJ9eXur06NcodCIRxWkjRbjP5DD38fcf+KMWVsWfWR4q03uM2cIbBaw BSQo3U62vw9/Iu03MrHZERsO3f6idsep0yuMtjxSkPz0204ABm8G5xTOIVD2Plj6 A0eZfUKktbO9ki8tgmUMSn6rTz030tXPCL0Mr+VnDSkb3nLgfeffyDjV8WwrAARi vRD79XvqA8HYfyKedH2OblwROqfw3S0yNSL3tPVDxA0zJ2nPThFeZx3mpcvelSbX bROHyk21 =gVYS -----END PGP SIGNATURE----- --4mzJX4knSlzCkV+j--