From patchwork Tue Jun 11 21:00:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 1946552 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; dkim=pass (2048-bit key; unprotected) header.d=flygoat.com header.i=@flygoat.com header.a=rsa-sha256 header.s=fm2 header.b=NfrwYyRr; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=P0muY1Kk; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VzLgW0brqz20Pb for ; Wed, 12 Jun 2024 07:01:11 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A0F7788717; Tue, 11 Jun 2024 23:01:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=flygoat.com 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; unprotected) header.d=flygoat.com header.i=@flygoat.com header.b="NfrwYyRr"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="P0muY1Kk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5AABE88717; Tue, 11 Jun 2024 23:01:02 +0200 (CEST) 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from wfhigh4-smtp.messagingengine.com (wfhigh4-smtp.messagingengine.com [64.147.123.155]) (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 BCE5C8870C for ; Tue, 11 Jun 2024 23:00:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jiaxun.yang@flygoat.com Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.west.internal (Postfix) with ESMTP id E22A91800159; Tue, 11 Jun 2024 17:00:56 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 11 Jun 2024 17:00:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1718139656; x= 1718226056; bh=x1cm+iaWsv6/CWdCzyJZbddTU3UzljXeO2HluK860UQ=; b=N frwYyRrNOvC+MKzzU+vFz2byXIFgjl4F+La3jfcEQ1AYBzxkLO02BQDRk3n0PkW0 KLOTI5wejdwJQqdmskQwmHBK6ejWOEruGpDs5GvvSOXfmiSjqyNfm8FyMZAKzAXM ATsx0Y1Lriy6t9urAJoZwLCDQQV9ED5evWL/e2gpk1cdVYjFVTduwsmyOCjBqEkt +XyuWx6VP+e68tq+ffnZPfdhnTKshf9veHc9KKNE9jl3x08wuiaUHL+pewVx7vPC GVSXvPFlx7R/s4J1K+uUZ/4/wO4Yr5g75ie/kYNykg/pv6q0aDAadaF+nqSjsMWl qq8lHveGEWGJ4WSk+Kb9g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718139656; x= 1718226056; bh=x1cm+iaWsv6/CWdCzyJZbddTU3UzljXeO2HluK860UQ=; b=P 0muY1KkBeu6ak58I6hzb196Fv4nhVy/vSz3e0peUOPo8QNXp9HN76YAMigKLNjTo rDPW3LcGV6dew5NUb6qMKWfTZg+vzKuad0BRRyus4/UZIREn7qE9Xmsi7Dz0cBms QLbrjnWnOhpExobgzzensgGWZuTVT7ytqJgB87788BWqHw3lcCSvfFH5ddk3PBQS 1FhqoQUhyBH4D7Va5jD8pZFXTlLz52rvvoleL9cm3BhwYuwjeqZpONTB92Oup5nm iu/H8eR3VSDuIZxLfDonbZYi69BLQVUisYU2RroVI38ftePcWrLd6QTy+ioqIL8R m58zIarvYUqLeYyzFPSRQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeduvddgudehgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestd ekredtredttdenucfhrhhomheplfhirgiguhhnucgjrghnghcuoehjihgrgihunhdrhigr nhhgsehflhihghhorghtrdgtohhmqeenucggtffrrghtthgvrhhnpeefledufeehgedvue dvvdegkefgvddttedtleeiiefhgeetudegkefhvdfhjeeftdenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjihgrgihunhdrhigrnhhgsehflh ihghhorghtrdgtohhm X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 11 Jun 2024 17:00:55 -0400 (EDT) From: Jiaxun Yang To: trini@konsulko.com Cc: u-boot@lists.denx.de, Jiaxun Yang Subject: [u-boot-test-hooks PATCH 1/4] qemu-vexpress*: Pass -audio none Date: Tue, 11 Jun 2024 22:00:22 +0100 Message-ID: <20240611210025.798978-2-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240611210025.798978-1-jiaxun.yang@flygoat.com> References: <20240611210025.798978-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 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 Those boards have build in sound card which cause problems on CI runner. Pass -audio none to disable sound card backends. Signed-off-by: Jiaxun Yang Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- bin/travis-ci/conf.vexpress_ca15_tc2_qemu | 2 +- bin/travis-ci/conf.vexpress_ca9x4_qemu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/travis-ci/conf.vexpress_ca15_tc2_qemu b/bin/travis-ci/conf.vexpress_ca15_tc2_qemu index 83d703269377..55e40038b379 100644 --- a/bin/travis-ci/conf.vexpress_ca15_tc2_qemu +++ b/bin/travis-ci/conf.vexpress_ca15_tc2_qemu @@ -21,7 +21,7 @@ console_impl=qemu qemu_machine="vexpress-a15" qemu_binary="qemu-system-arm" -qemu_extra_args="-nographic -m 1G -net user,tftp=${UBOOT_TRAVIS_BUILD_DIR} -net nic" +qemu_extra_args="-nographic -m 1G -audio none -net user,tftp=${UBOOT_TRAVIS_BUILD_DIR} -net nic" qemu_kernel_args="-kernel ${U_BOOT_BUILD_DIR}/u-boot" reset_impl=none flash_impl=none diff --git a/bin/travis-ci/conf.vexpress_ca9x4_qemu b/bin/travis-ci/conf.vexpress_ca9x4_qemu index d07be2b12984..b5ed72934c3a 100644 --- a/bin/travis-ci/conf.vexpress_ca9x4_qemu +++ b/bin/travis-ci/conf.vexpress_ca9x4_qemu @@ -21,7 +21,7 @@ console_impl=qemu qemu_machine="vexpress-a9" qemu_binary="qemu-system-arm" -qemu_extra_args="-nographic -m 1G -net user,tftp=${UBOOT_TRAVIS_BUILD_DIR} -net nic" +qemu_extra_args="-nographic -m 1G -audio none -net user,tftp=${UBOOT_TRAVIS_BUILD_DIR} -net nic" qemu_kernel_args="-kernel ${U_BOOT_BUILD_DIR}/u-boot" reset_impl=none flash_impl=none From patchwork Tue Jun 11 21:00:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 1946554 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; dkim=pass (2048-bit key; unprotected) header.d=flygoat.com header.i=@flygoat.com header.a=rsa-sha256 header.s=fm2 header.b=DPTwicG1; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=qbT6/d6/; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VzLgp6BQcz20Pb for ; Wed, 12 Jun 2024 07:01:26 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 803A588743; Tue, 11 Jun 2024 23:01:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=flygoat.com 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; unprotected) header.d=flygoat.com header.i=@flygoat.com header.b="DPTwicG1"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="qbT6/d6/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2CCFD8839F; Tue, 11 Jun 2024 23:01:04 +0200 (CEST) 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from wfout2-smtp.messagingengine.com (wfout2-smtp.messagingengine.com [64.147.123.145]) (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 605F988706 for ; Tue, 11 Jun 2024 23:01:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jiaxun.yang@flygoat.com Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.west.internal (Postfix) with ESMTP id AD1EB1C0018C; Tue, 11 Jun 2024 17:00:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 11 Jun 2024 17:00:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1718139658; x= 1718226058; bh=/pLt6Qjz+E7bFvYpn+mZpAuRl0/0KBhDfJPoE3G7aXQ=; b=D PTwicG1OvKsKVwXNY1du6Zhr2q+mgbmMbSIEuBPR2QzwEWDioJIrVqL7Egqdn1jy g4HXXVBDzV5SxdWfFjQXP8PTaq5hTqKmDnnXJVCPvMQNMXldayU+mO15+5QLj2q9 OMv3C3xEbZmH2tdG4AD1v7sdCpdU0l0BytLYkqKR/1tMumLSd8zFVtp88pofv0oI h5iOHqsLdMGKAjQXPphizXzZHlE7E8RP7sx+sWxGFwPywBrsyalFasHvOMV0F0Z9 tmhZkMLMMNZ64+utshnfutv20h4Q7RFMHJ8q1bmf10s3R5vjmsWmffCa4hoxiGrN GOfEtx+EPmuPHuX27O3sg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718139658; x= 1718226058; bh=/pLt6Qjz+E7bFvYpn+mZpAuRl0/0KBhDfJPoE3G7aXQ=; b=q bT6/d6/1kXgnfxDPzDy6YLGRQxCa8+osUD0RR3OAJ4Zu0irUX7kwFkrVg3ccKGD0 Kobwkm314WPvcTL9DFnylzwgFOohi/NqkWczIQbrArg//NZIzIhYax4J4mr1HQMn J3we+J+fitTryCskF+idOyqwOugV1Jo/EqE4dxq01vIdd+y3LgiKJiqtuRPsHLCy +t+FrNLa3Ec8VqUSIrh0SNg8GqVHXj3HhnITe3CVAUjURSuAyeNS7fPOwYzL95iS KDYenmXakmVwcalxcdMWSdWiwvagQSjOUHHqwWlkWh/3y9o7s/kGYKaGZBGZvdqP VZ695SbKUX+8qRRsbCw9A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeduvddgudehgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestd ekredtredttdenucfhrhhomheplfhirgiguhhnucgjrghnghcuoehjihgrgihunhdrhigr nhhgsehflhihghhorghtrdgtohhmqeenucggtffrrghtthgvrhhnpeefledufeehgedvue dvvdegkefgvddttedtleeiiefhgeetudegkefhvdfhjeeftdenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjihgrgihunhdrhigrnhhgsehflh ihghhorghtrdgtohhm X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 11 Jun 2024 17:00:57 -0400 (EDT) From: Jiaxun Yang To: trini@konsulko.com Cc: u-boot@lists.denx.de, Jiaxun Yang Subject: [u-boot-test-hooks PATCH 2/4] qemu-arm64be: New board Date: Tue, 11 Jun 2024 22:00:23 +0100 Message-ID: <20240611210025.798978-3-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240611210025.798978-1-jiaxun.yang@flygoat.com> References: <20240611210025.798978-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 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 Signed-off-by: Jiaxun Yang Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- bin/travis-ci/conf.qemu_arm64be_na | 13 +++++++++++++ py/travis-ci/u_boot_boardenv_qemu_arm64be_na.py | 10 ++++++++++ 2 files changed, 23 insertions(+) create mode 100644 bin/travis-ci/conf.qemu_arm64be_na create mode 100644 py/travis-ci/u_boot_boardenv_qemu_arm64be_na.py diff --git a/bin/travis-ci/conf.qemu_arm64be_na b/bin/travis-ci/conf.qemu_arm64be_na new file mode 100644 index 000000000000..3929636932e6 --- /dev/null +++ b/bin/travis-ci/conf.qemu_arm64be_na @@ -0,0 +1,13 @@ +# SPDX-License-Identifier: MIT +# +# Copyright (c) 2024 Jiaxun Yang +# + +console_impl=qemu +qemu_machine="virt" +qemu_helper_script="swtpm" +qemu_binary="qemu-system-aarch64" +qemu_extra_args="-cpu cortex-a57 -nographic -netdev user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device e1000,netdev=net0 -device virtio-rng-pci -semihosting -chardev socket,id=chrtpm,path=/tmp/tpm/swtpm-sock -tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis-device,tpmdev=tpm0" +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_qemu_arm64be_na.py b/py/travis-ci/u_boot_boardenv_qemu_arm64be_na.py new file mode 100644 index 000000000000..5746b37dbcf5 --- /dev/null +++ b/py/travis-ci/u_boot_boardenv_qemu_arm64be_na.py @@ -0,0 +1,10 @@ +import os +import travis_tftp + +env__net_uses_pci = True +env__net_dhcp_server = True +env__net_tftp_readable_file = travis_tftp.file2env('u-boot.bin', 0x40400000) +env__efi_fit_tftp_file = { + 'addr' : 0x40400000, + "dn" : os.environ['UBOOT_TRAVIS_BUILD_DIR'], +} From patchwork Tue Jun 11 21:00:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 1946555 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; dkim=pass (2048-bit key; unprotected) header.d=flygoat.com header.i=@flygoat.com header.a=rsa-sha256 header.s=fm2 header.b=Lzxacozs; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=oexdUTo2; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VzLh30czhz20Pb for ; Wed, 12 Jun 2024 07:01:39 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E71858874E; Tue, 11 Jun 2024 23:01:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=flygoat.com 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; unprotected) header.d=flygoat.com header.i=@flygoat.com header.b="Lzxacozs"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="oexdUTo2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 485A18839F; Tue, 11 Jun 2024 23:01:04 +0200 (CEST) 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, SPF_HELO_PASS,SPF_PASS,TVD_SPACE_RATIO,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from wfout2-smtp.messagingengine.com (wfout2-smtp.messagingengine.com [64.147.123.145]) (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 326F688714 for ; Tue, 11 Jun 2024 23:01:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jiaxun.yang@flygoat.com Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfout.west.internal (Postfix) with ESMTP id 7C8CA1C0016E; Tue, 11 Jun 2024 17:01:00 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 11 Jun 2024 17:01:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1718139660; x= 1718226060; bh=kRaHkmS5Il0gzjTDerANdYfM6UjZATXidPdQ3QUu1b0=; b=L zxacozsUByu/TRIKCt3ioOIK14UoN/KzWTgo1ochtDMXxOwJobC3geqKmPgTsm29 cZfzXNj1d6Pm6XtusWR4PpX70mXjAvHdD7hyE1CvVmT+jf3Er6hzjxacsG9iUQLH 0kiVE5tpTQFHlMkP8ZXmd0JLnzQ8SZ3Qe83BeIoni1TprScmjGTl2FuUNKAMJ9Fo PjnXDmgBXNIJ7ophc4bRKnO9ijo6QCssdzXRxVMdGXtnlIekggNIdJGmhlp5X9zb fzyicS/9IUy0yZH29xpOZG1bue2bBgHTbMj36Q2eVW998mRRDveXvF9hoRmmvVnh 3Kh3EGl/Ot0p2889CLTyQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718139660; x= 1718226060; bh=kRaHkmS5Il0gzjTDerANdYfM6UjZATXidPdQ3QUu1b0=; b=o exdUTo2jM/FYyu3KfBFM8jsbSrIXASKCtHO+VivTI9+YKPmy+kwTIyZiBEx1cT/k dIa+p0wLJoA/9MhprDIjNKDMv6MOki8uDmYauPiSGZxW2mR6uJVLnXGlCEXhpU9e 8pZRd8guiTs5SLoidnfzFM2pKs3JadNIFeh6UKmGMJeKd+CQ6G1Yc3LcSzGRcv7x MUhmgeQaBByh+wQjtRrP+UwlnRogpDnFKS6AG6E4moP59CRKY/8sz57QfLiYn/HU F9eNO/nt2qfli4TVXlpnbWISzz8HNcT85+i+0dJgzIVDZkoVpGD2ghYnHUZbIVF9 L13nIc0LxiASsdgDWVCHA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeduvddgudehfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestd ekredtredttdenucfhrhhomheplfhirgiguhhnucgjrghnghcuoehjihgrgihunhdrhigr nhhgsehflhihghhorghtrdgtohhmqeenucggtffrrghtthgvrhhnpeefledufeehgedvue dvvdegkefgvddttedtleeiiefhgeetudegkefhvdfhjeeftdenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjihgrgihunhdrhigrnhhgsehflh ihghhorghtrdgtohhm X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 11 Jun 2024 17:00:59 -0400 (EDT) From: Jiaxun Yang To: trini@konsulko.com Cc: u-boot@lists.denx.de, Jiaxun Yang Subject: [u-boot-test-hooks PATCH 3/4] qemu-xtensa-dc233c: New board Date: Tue, 11 Jun 2024 22:00:24 +0100 Message-ID: <20240611210025.798978-4-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240611210025.798978-1-jiaxun.yang@flygoat.com> References: <20240611210025.798978-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 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 Signed-off-by: Jiaxun Yang Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- bin/travis-ci/conf.qemu-xtensa-dc233c_na | 12 ++++++++++++ .../u_boot_boardenv_qemu_xtensa_dc233c_na.py | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 bin/travis-ci/conf.qemu-xtensa-dc233c_na create mode 100644 py/travis-ci/u_boot_boardenv_qemu_xtensa_dc233c_na.py diff --git a/bin/travis-ci/conf.qemu-xtensa-dc233c_na b/bin/travis-ci/conf.qemu-xtensa-dc233c_na new file mode 100644 index 000000000000..fc3b5880e5c1 --- /dev/null +++ b/bin/travis-ci/conf.qemu-xtensa-dc233c_na @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: MIT +# +# Copyright (c) 2024 Jiaxun Yang +# + +console_impl=qemu +qemu_machine="virt" +qemu_binary="qemu-system-xtensa" +qemu_extra_args="-cpu dc233c -nographic -netdev user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device virtio-net-pci,netdev=net0 -device virtio-rng-pci -semihosting" +qemu_kernel_args="-kernel ${U_BOOT_BUILD_DIR}/u-boot.elf" +reset_impl=none +flash_impl=none diff --git a/py/travis-ci/u_boot_boardenv_qemu_xtensa_dc233c_na.py b/py/travis-ci/u_boot_boardenv_qemu_xtensa_dc233c_na.py new file mode 100644 index 000000000000..8fdb24b284c7 --- /dev/null +++ b/py/travis-ci/u_boot_boardenv_qemu_xtensa_dc233c_na.py @@ -0,0 +1,6 @@ +import os +import travis_tftp + +env__net_uses_pci = True +env__net_dhcp_server = True +env__net_tftp_readable_file = travis_tftp.file2env('u-boot') From patchwork Tue Jun 11 21:00:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 1946556 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; dkim=pass (2048-bit key; unprotected) header.d=flygoat.com header.i=@flygoat.com header.a=rsa-sha256 header.s=fm2 header.b=XoMbBR8P; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=TC4LfUus; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VzLhH34G7z20Pb for ; Wed, 12 Jun 2024 07:01:51 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5B88C88722; Tue, 11 Jun 2024 23:01:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=flygoat.com 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; unprotected) header.d=flygoat.com header.i=@flygoat.com header.b="XoMbBR8P"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="TC4LfUus"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0638988706; Tue, 11 Jun 2024 23:01:06 +0200 (CEST) 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, SPF_HELO_PASS,SPF_PASS,TVD_SPACE_RATIO,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from wfout2-smtp.messagingengine.com (wfout2-smtp.messagingengine.com [64.147.123.145]) (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 EC77488738 for ; Tue, 11 Jun 2024 23:01:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jiaxun.yang@flygoat.com Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.west.internal (Postfix) with ESMTP id 445B61C00067; Tue, 11 Jun 2024 17:01:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 11 Jun 2024 17:01:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1718139661; x= 1718226061; bh=grSCFhXDszSlUvT3BiWDqsbWB6VeFAYkZyKzPHEvsK0=; b=X oMbBR8PJ32a09MGqatTI23XSP1DedtRkFK6AfM9KfRiDMgk8m8K5FnL8TRbkIiLe lakMawRnUdKTHZwRXIBceYott6tnk5Q32L2iLSzplVmEzoVMhrJ8oPNvAZs0aHKr zpkolOUxa6+jICl/TC7O9RIcvlP9PMs9Sq6CdFOM8mhyXX3gqyrfH3fu9ks76kYT vwfvOqXSHoqO48AorJJvSZG+0OBcyX45vmD5QNaaJvNJ/mDXwtsx7NqCafWwQQMI dqehjlHPA3zKHSDWRYqdrC9/jKg5QzT7w1puYksjGSlVGkxL0dOux9D7G2vgqBVQ 1C1G4+CaObHiAoPtZ9tGw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718139661; x= 1718226061; bh=grSCFhXDszSlUvT3BiWDqsbWB6VeFAYkZyKzPHEvsK0=; b=T C4LfUuscZXh0gYR1K1c1MqV1PON/43K5Kf50v/IduiOietqvIumh25QDjchdC/Dt UhY/JOiBeGeyllJKeoPUQbwQJ8cqgCE2mOIfJxW0P0lJwUedUdFMifPmljrffMI2 EgTwCQjEtYknKS5suHFNYVVMRjPPsFGxs3GKX8IQc6ZqR9yEk+1ZV3/xzBt5Ev3H EaWM89IhfXgwD/c2c9uPICNAwhCUBIP067ItUo6pUm9Ne1Ciwv8xXKW4M5Af6dXz ddfH2jVMxFFtSGavM7djWB3/I0lswvNAXaT0U7sgVcJJD9C8bn678Z9KqdJvJSJH cUpRVIG2hYXpglUi5ZbDg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeduvddgudehgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestd ekredtredttdenucfhrhhomheplfhirgiguhhnucgjrghnghcuoehjihgrgihunhdrhigr nhhgsehflhihghhorghtrdgtohhmqeenucggtffrrghtthgvrhhnpeefledufeehgedvue dvvdegkefgvddttedtleeiiefhgeetudegkefhvdfhjeeftdenucevlhhushhtvghrufhi iigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehjihgrgihunhdrhigrnhhgsehflh ihghhorghtrdgtohhm X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 11 Jun 2024 17:01:00 -0400 (EDT) From: Jiaxun Yang To: trini@konsulko.com Cc: u-boot@lists.denx.de, Jiaxun Yang Subject: [u-boot-test-hooks PATCH 4/4] qemu-loongarch64: New board Date: Tue, 11 Jun 2024 22:00:25 +0100 Message-ID: <20240611210025.798978-5-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240611210025.798978-1-jiaxun.yang@flygoat.com> References: <20240611210025.798978-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 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 Signed-off-by: Jiaxun Yang Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- bin/travis-ci/conf.qemu-loongarch64_na | 12 ++++++++++++ py/travis-ci/u_boot_boardenv_qemu_loongarch64_na.py | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 bin/travis-ci/conf.qemu-loongarch64_na create mode 100644 py/travis-ci/u_boot_boardenv_qemu_loongarch64_na.py diff --git a/bin/travis-ci/conf.qemu-loongarch64_na b/bin/travis-ci/conf.qemu-loongarch64_na new file mode 100644 index 000000000000..e8860bb40326 --- /dev/null +++ b/bin/travis-ci/conf.qemu-loongarch64_na @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: MIT +# +# Copyright (c) 2024 Jiaxun Yang +# + +console_impl=qemu +qemu_machine="virt" +qemu_binary="qemu-system-loongarch64" +qemu_extra_args="-m 1G -nographic -netdev user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device virtio-net-pci,netdev=net0 -device virtio-rng-pci" +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_qemu_loongarch64_na.py b/py/travis-ci/u_boot_boardenv_qemu_loongarch64_na.py new file mode 100644 index 000000000000..8a9f747f0457 --- /dev/null +++ b/py/travis-ci/u_boot_boardenv_qemu_loongarch64_na.py @@ -0,0 +1,11 @@ +import os +import travis_tftp + +env__net_uses_pci = True +env__net_dhcp_server = True +env__net_tftp_readable_file = travis_tftp.file2env('u-boot') +env__efi_loader_helloworld_file = travis_tftp.file2env('lib/efi_loader/helloworld.efi') +env__efi_loader_grub_file = travis_tftp.file2env('grub_loongarch64.efi') +env__efi_fit_tftp_file = { + "dn" : os.environ['UBOOT_TRAVIS_BUILD_DIR'], +}