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 878C8C433F5 for ; Fri, 3 Dec 2021 02:06:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8C73D811BC; Fri, 3 Dec 2021 03:06:00 +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="TlPZwbq5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 934FD8192A; Fri, 3 Dec 2021 03:05:58 +0100 (CET) Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) (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 157E2811BA for ; Fri, 3 Dec 2021 03:05:54 +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-ot1-x333.google.com with SMTP id 35-20020a9d08a6000000b00579cd5e605eso2268140otf.0 for ; Thu, 02 Dec 2021 18:05:54 -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=hZ4fvwgGj/ckmtBobQGWpFbmZGnT17qa8xJ/8LMrDtU=; b=TlPZwbq5k43E0a7Q87WVXEigY2HYiw9NZvAx4+uOgGWaaoXWH40NJo54H7laBued18 +gm/26f79TFcK6c+7SnPwVOychcYdeOGmkQc5CTfaDmcPvJ8G6jfOfqkgxfUUWcropsy qRYp7/PfBYnk/rs/FaPW2l/0Qgu6xdEHDaG8U= 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=hZ4fvwgGj/ckmtBobQGWpFbmZGnT17qa8xJ/8LMrDtU=; b=y4fslGIw7HDq1S3r0nMWqcMMAMZxhG+WMSk9fCPvuxz1wBFmte/CQY+aptlQUdENaK Fupq6l3Vh+IIdbS/OLUh6P1AD/IVCYJKvnNvVFDPVh5UDsjSIFpm4bUD0xoCgHtceIig Q4eDJp5cqj39Au8MsToykCIblxwM0F/xuDG6ZXvNgGU8DT1+GYWl8uf8ClxYAaiAodzs q1DDJ57OKvDSjXINsLN587SrNuKb937Lobf4aIcktHDgvx5Y760M0QcuKxsydIy1qv3k yn7EqEcw/RZY70rms8/tSfNMXJSFdPSENAYj+N+A3P42j3Vw4HfDkPDtNcEqHfUp6fTy OYkg== X-Gm-Message-State: AOAM530nnQPRyouRtaMCsMMfI7n8LANhxsfyci/Jv37tujxrtkAXk+Ge 7Zjr63u1ReWwZFuA4dHax3l0HQ== X-Google-Smtp-Source: ABdhPJyBK/2hVj9IsPmRZScOd/paJNxdunF4R7OPplaSzy3IUSBg/iYikBD2KyDQFtiTmmjJC3zk8w== X-Received: by 2002:a05:6830:13cc:: with SMTP id e12mr14194592otq.377.1638497152811; Thu, 02 Dec 2021 18:05:52 -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 g9sm392417otr.18.2021.12.02.18.05.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Dec 2021 18:05:52 -0800 (PST) From: Simon Glass To: Tom Rini Cc: U-Boot Mailing List , Simon Glass Subject: [u-boot-test-hooks PATCH] travis-ci: Add tests for booting from coreboot Date: Thu, 2 Dec 2021 19:05:47 -0700 Message-Id: <20211203020548.2531089-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 --- bin/ellesmere/conf.coreboot_qemu | 1 + bin/travis-ci/conf.coreboot_qemu | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 120000 bin/ellesmere/conf.coreboot_qemu create mode 100644 bin/travis-ci/conf.coreboot_qemu diff --git a/bin/ellesmere/conf.coreboot_qemu b/bin/ellesmere/conf.coreboot_qemu new file mode 120000 index 0000000..c81eb3f --- /dev/null +++ b/bin/ellesmere/conf.coreboot_qemu @@ -0,0 +1 @@ +../travis-ci/conf.coreboot_qemu \ No newline at end of file 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