From patchwork Mon Mar 20 19:46:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 1759210 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=temperror header.d=mailbox.org header.i=@mailbox.org header.a=rsa-sha256 header.s=mail20150812 header.b=ySd7evhT; dkim=pass (2048-bit key; secure) header.d=mailbox.org header.i=@mailbox.org header.a=rsa-sha256 header.s=mail20150812 header.b=F1QaZyY2; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PgQHQ6GtMz247d for ; Tue, 21 Mar 2023 06:47:14 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 97ABF84CFA; Mon, 20 Mar 2023 20:47:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=mailbox.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; secure) header.d=mailbox.org header.i=@mailbox.org header.b="ySd7evhT"; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="F1QaZyY2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AAA6985B59; Mon, 20 Mar 2023 20:47:05 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mout-p-103.mailbox.org (mout-p-103.mailbox.org [IPv6:2001:67c:2050:0:465::103]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id AFD0580AE0 for ; Mon, 20 Mar 2023 20:47:02 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=mailbox.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=marek.vasut+renesas@mailbox.org Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4PgQH84d6nz9sS3; Mon, 20 Mar 2023 20:47:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1679341620; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=t4bZmDuFyUMlhAzzZGmh9ty4IP2mMOQMBojkfMeaSH0=; b=ySd7evhTqEtCnngjZnQxEnioZ+06D6JcitUM4US1Ro3otl0Iiu+8lwNpwr8HgsMTpyi/22 W6p8/IF8lFF0DFIhRceH2yUqfzZNpTQQMg7X6KF2m/NZSuKEbIK310+axpdh8I+fXE9Ayz 2qFx4+Hau4eStil7HY3d35vwtsyUgLkzf5+fxPnvM/B72paIJ+YOeXGaCribRXHsqyF3He R9kJl6IVU3kntlR0DjG8WUy11MpcuaibK71YO6XYbhlT+TmdCWeS4b2L4RtPS3HsNlbN+A Zk4B7k144Uv9e6L0v5tLIxX121qDT2zoBzhE6GvS9Vc2F7kOZcJiFFVcY4RTug== From: Marek Vasut DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1679341618; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=t4bZmDuFyUMlhAzzZGmh9ty4IP2mMOQMBojkfMeaSH0=; b=F1QaZyY2K2i5snUgdTGupBhHq4gKW/rTOTzExOJukJMw+kl8AAuoxf0EjWNCi8Q0qi7JX3 FHE+HrgHGj2uY4e48GfGLkMjJifjIC3iN/nVFgbHmslSP1VMSFgJ+jSZgY2b4IXOUgZnFj uAAYYu8c53fq8C9iBN0gbZoFf3aMh+U2+knIB7Uctk+Wr77mAFg+tDwmA9OwToS45Xhafr VnR3UChITNw7LXE4LNnzEwFA+QwzDk6TUWm7EI2nzRnkwBF/CYEEuieFmiB/e/oHh99bW9 Q5ZQnY3vzqdP9QRfH7mHLYnr0bs9gM8acjCWnCxOV6AASTP7IfdYJbD9GglyyQ== To: u-boot@lists.denx.de Cc: Marek Vasut , Angelo Dureghello , Stephen Warren , Tom Rini Subject: [PATCH] travis-ci: Add m68k M5208EVBE machine Date: Mon, 20 Mar 2023 20:46:47 +0100 Message-Id: <20230320194647.23035-1-marek.vasut+renesas@mailbox.org> MIME-Version: 1.0 X-MBO-RS-ID: 4469fc967ef25dd4661 X-MBO-RS-META: fnb5stmnsntaqzi7q4qoz1yr1raadrdx X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Add m68k M5208EVBE machine configured to test U-Boot m68k support. Signed-off-by: Marek Vasut Reviewed-by: Tom Rini --- Cc: Angelo Dureghello Cc: Stephen Warren Cc: Tom Rini --- bin/travis-ci/conf.M5208EVBE_qemu | 27 +++++++++++++++++++ .../u_boot_boardenv_M5208EVBE_qemu.py | 6 +++++ 2 files changed, 33 insertions(+) create mode 100644 bin/travis-ci/conf.M5208EVBE_qemu create mode 100644 py/travis-ci/u_boot_boardenv_M5208EVBE_qemu.py diff --git a/bin/travis-ci/conf.M5208EVBE_qemu b/bin/travis-ci/conf.M5208EVBE_qemu new file mode 100644 index 0000000..947f13c --- /dev/null +++ b/bin/travis-ci/conf.M5208EVBE_qemu @@ -0,0 +1,27 @@ +# Copyright (c) 2023 Marek Vasut +# +# 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="mcf5208evb" +qemu_binary="qemu-system-m68k" +qemu_extra_args="-nographic -serial mon:stdio -net user,tftp=${UBOOT_TRAVIS_BUILD_DIR} -net nic,model=mcf-fec" +qemu_kernel_args="-bios ${U_BOOT_BUILD_DIR}/u-boot.bin" +reset_impl=none +flash_impl=none diff --git a/py/travis-ci/u_boot_boardenv_M5208EVBE_qemu.py b/py/travis-ci/u_boot_boardenv_M5208EVBE_qemu.py new file mode 100644 index 0000000..4e100cd --- /dev/null +++ b/py/travis-ci/u_boot_boardenv_M5208EVBE_qemu.py @@ -0,0 +1,6 @@ +import os +import travis_tftp + +env__net_uses_pci = False +env__net_dhcp_server = True +env__net_tftp_readable_file = travis_tftp.file2env('u-boot')