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 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 C0250C433EF for ; Fri, 3 Dec 2021 15:52:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0080080F9C; Fri, 3 Dec 2021 16:52:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="mO6y/ck5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EB01480FF0; Fri, 3 Dec 2021 16:52:45 +0100 (CET) Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (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 959FF804C8 for ; Fri, 3 Dec 2021 16:52:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd29.google.com with SMTP id m9so4353478iop.0 for ; Fri, 03 Dec 2021 07:52:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FzekfUodbUYBUVIKQM5h1JSNeZU/FKKUlD36q7guqrA=; b=mO6y/ck5Q1soi8tmj7PKQwZokhhHaCORIYCZ3o70B2yAnYNcuFk+2mU6r+ynGOeFJk TB9kpkUH2/+jKyDA7sawe2QCnalRv9bIBZxENRNI5ivIzSIs7PefXE2fDhPb/IcL258F upsHqht4G8VZ6OqN+716RmdXil7M4I10yKAeM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FzekfUodbUYBUVIKQM5h1JSNeZU/FKKUlD36q7guqrA=; b=hjO5J1HB1rZf/PYgvg9La+R+CRDJY7d1J8vRyoYhxKp9Ej+fhgcjRZenzu+sinAkzf deHYmQ5LuKd0XQvRieg4m+rvsNl93ZdODTVle+iur9D1HQ0qS9EkYbnqmmVzYEiB2Ftd hOgSgjYxapsVn6jVU5bAMBF0FuWOMW3wHBaEXbkLJafoSvGk7UQMA1+OhxJmvdSRIvTU pJr7BT2meyOjwEiHKe9baODiJrIduVMUTXEvA7vdbyLYJIbAN4GhqqPWgg8PCenhN+Od QOkRiIhtqYDZyshx5ThfV7U1qOiOtCVlBKP+YpZAsWqFGjKgbU7WoHATWTRf8MD1Lnbj +rMQ== X-Gm-Message-State: AOAM532R0V3H/D/WHSIIFpU8yYXFKE1iaAmumJgMID1dBdI8D81RlZlg YnjlSHABUHJPYgLLxiQUCUuMlw== X-Google-Smtp-Source: ABdhPJzVcNyQVoz+MyLAKLdrzdeNWWqK/c1BCzheP5cIl3R0Rxj91QYe4sUA6gATph6pZUF6V5Uqpw== X-Received: by 2002:a6b:b2c1:: with SMTP id b184mr20899901iof.24.1638546761135; Fri, 03 Dec 2021 07:52:41 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id l13sm2071382ios.49.2021.12.03.07.52.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Dec 2021 07:52:40 -0800 (PST) From: Simon Glass To: Tom Rini Cc: U-Boot Mailing List , Simon Glass Subject: [u-boot-test-hooks PATCH v2] travis-ci: Add tests for booting from coreboot Date: Fri, 3 Dec 2021 08:52:38 -0700 Message-Id: <20211203155238.2653179-1-sjg@chromium.org> X-Mailer: git-send-email 2.34.0.384.gca35af8252-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 does 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 diff --git a/bin/travis-ci/conf.coreboot_qemu b/bin/travis-ci/conf.coreboot_qemu new file mode 100644 index 0000000..76d6927 --- /dev/null +++ b/bin/travis-ci/conf.coreboot_qemu @@ -0,0 +1,28 @@ +# Copyright (c) 2016 Konsulko Group. All rights reserved. +# Copyright 2021 Google LLC +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. + +console_impl=qemu +qemu_machine="pc" +qemu_binary="qemu-system-i386" +qemu_extra_args="-nographic -cpu qemu32 -netdev user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device e1000,netdev=net0" +qemu_kernel_args="-bios ${U_BOOT_BUILD_DIR}/coreboot.rom" +reset_impl=none +flash_impl=none -- 2.34.0.384.gca35af8252-goog