From patchwork Wed Feb 11 14:33:00 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1823 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1770820493; bh=RHIaluh6J0uuVmB/zq+/M04cKu4N4fQkzs1gdPW3cFM=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Cfj1Khg3221eekRFmne7No/I27nEN2tGiPyh8edNEXx1lwKraUjhhCxdbLVFAw8Sb Y9bGXRutWkO1Qe5r0Cq96L6AhT301OEZOigS86vxo3EoQc6hl3XMej0gzqVh9RVo6D 1L+7HCZ2x7LO5L19+Xzbl7JrxsmKV3I/GogqQX8OmlkzP0IS/2L+ZWCajlghSQIo9R KQD2TcTc4IDCXrkDxGcUbBcDm5EN4gi3/BMvBdRKEUoiDVCCkL1MSFYWjBANspvLK/ 8pU8vZLJ7JS4gqqTp9/5VVOw11HD2i+9wO0PVxTbkRWPBlx35KKBAHgc0zSOy0u0Lh yyuMns4r/7yeg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2C014699BF for ; Wed, 11 Feb 2026 07:34:53 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 8AHewHLj9GuM for ; Wed, 11 Feb 2026 07:34:53 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1770820493; bh=RHIaluh6J0uuVmB/zq+/M04cKu4N4fQkzs1gdPW3cFM=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Cfj1Khg3221eekRFmne7No/I27nEN2tGiPyh8edNEXx1lwKraUjhhCxdbLVFAw8Sb Y9bGXRutWkO1Qe5r0Cq96L6AhT301OEZOigS86vxo3EoQc6hl3XMej0gzqVh9RVo6D 1L+7HCZ2x7LO5L19+Xzbl7JrxsmKV3I/GogqQX8OmlkzP0IS/2L+ZWCajlghSQIo9R KQD2TcTc4IDCXrkDxGcUbBcDm5EN4gi3/BMvBdRKEUoiDVCCkL1MSFYWjBANspvLK/ 8pU8vZLJ7JS4gqqTp9/5VVOw11HD2i+9wO0PVxTbkRWPBlx35KKBAHgc0zSOy0u0Lh yyuMns4r/7yeg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 17769699D6 for ; Wed, 11 Feb 2026 07:34:53 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1770820491; bh=XzoliSjoFz3sQM7EbhSHSJ1/6a3FHxuoyfZBSF5bYsE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dkG3v2mrn5v1I5tIXZPsNrYKQG7QrfenUmcmLPam3OCz5614hAbWrOW72X7nyOKKO 4oPWylMyVjrdwvZvBempNh0bo0fb5csKn8ODmBuEdHUyMUSrB16NZzBMuDiSxzxe7j F4WL/uZlOzah3JwGmghGDWoVM3bBcr1oBldvMFLLKvFioHJFGN3VOaczH2I+bQGJl3 JlJDSygzhVwxNhhzQvpxNEcto2uZ3psuNFnvSfbvJKC+SJfdjdow36jnr4+Ldt8skE KdChLG4qvYeZ+49RFAH2XjR0yBEbw8d8q1j9xoEhk4QNfbH/XBJFfHlJf3FYoGVCQf 8vWk86Y+6namw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 865DA699D6; Wed, 11 Feb 2026 07:34:51 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id vJ7HYQEkpyOF; Wed, 11 Feb 2026 07:34:51 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1770820487; bh=DSNtrInkdt73AI1MzZfjrOSDCOHleLZ44t70J/mSpQo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=STJ1iUDMMEgfZI1xxJJcqWPxY+yc4phERTUqPDJXEi/LI1JkWqEOXxZMw1RYkVIyt fBXlCBF4jczRMBuqRFD3ftpna3Q5l4nJyl0VdABE/hQDU/HNVSUflQqSnjSwSQ1TW8 FiCtIJyyy7QzDPsH1gB3YmW7plu5aFVYTcnvUH3edmIQwt9KxedRV5yVWNZjyJAwKZ 90kzzVoT/915boOSiO4vYXZUEvkeyP9wWsy1+VvEPyeAVCKYAFlTXwUrVNycNowKiG K45QLq+9CqFZF6SJh2UXMfwISJahTgJNqyckXMKLTuywNB8uaZoPw8isqb4rGgGBG6 n0F5F6hO5w/rQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 34635699BF; Wed, 11 Feb 2026 07:34:47 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Wed, 11 Feb 2026 07:33:00 -0700 Message-ID: <20260211143309.1183113-13-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260211143309.1183113-1-sjg@u-boot.org> References: <20260211143309.1183113-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: YOINMTXBIMBSS3K2GNEMRYVIE3NZOZCG X-Message-ID-Hash: YOINMTXBIMBSS3K2GNEMRYVIE3NZOZCG X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass , "Claude Opus 4 . 6" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 12/12] CI: Add test coverage for qemu-x86_64_nospl List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass Add CI entries for the new qemu-x86_64_nospl board in both GitLab and Azure pipelines, along with the corresponding test hook configuration files. The test configuration is identical to qemu-x86_64 since both use the same QEMU binary and u-boot.rom BIOS file. Co-developed-by: Claude Opus 4.6 Signed-off-by: Simon Glass --- .azure-pipelines.yml | 3 ++ .gitlab-ci.yml | 6 ++++ .../bin/travis-ci/conf.qemu-x86_64_nospl_na | 30 +++++++++++++++++++ .../u_boot_boardenv_qemu_x86_64_nospl_na.py | 14 +++++++++ 4 files changed, 53 insertions(+) create mode 100644 test/hooks/bin/travis-ci/conf.qemu-x86_64_nospl_na create mode 100644 test/hooks/py/travis-ci/u_boot_boardenv_qemu_x86_64_nospl_na.py diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 2b04cf205c9..5759a78a14b 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -486,6 +486,9 @@ stages: qemu_x86_64: TEST_PY_BD: "qemu-x86_64" TEST_PY_TEST_SPEC: "not sleep" + qemu_x86_64_nospl: + TEST_PY_BD: "qemu-x86_64_nospl" + TEST_PY_TEST_SPEC: "not sleep" qemu_xtensa_dc233c: TEST_PY_BD: "qemu-xtensa-dc233c" TEST_PY_TEST_SPEC: "not sleep and not efi" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 509a2956ecb..0b6ca99a8ba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -664,6 +664,12 @@ qemu-x86_64 test.py: TEST_PY_TEST_SPEC: "not sleep" <<: *buildman_and_testpy_dfn +qemu-x86_64_nospl test.py: + variables: + TEST_PY_BD: "qemu-x86_64_nospl" + TEST_PY_TEST_SPEC: "not sleep" + <<: *buildman_and_testpy_dfn + qemu-xtensa-dc233c test.py: variables: TEST_PY_BD: "qemu-xtensa-dc233c" diff --git a/test/hooks/bin/travis-ci/conf.qemu-x86_64_nospl_na b/test/hooks/bin/travis-ci/conf.qemu-x86_64_nospl_na new file mode 100644 index 00000000000..f6a1b5e65a7 --- /dev/null +++ b/test/hooks/bin/travis-ci/conf.qemu-x86_64_nospl_na @@ -0,0 +1,30 @@ +# Copyright (c) 2016 Konsulko Group. All rights reserved. +# +# 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-x86_64" +qemu_extra_args="-nographic -cpu qemu64 -netdev user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device e1000,netdev=net0 " +qemu_extra_args+=" -object rng-random,filename=/dev/random,id=rng0" +qemu_extra_args+=" -device virtio-rng-pci,rng=rng0,max-bytes=1024,period=1000" + +qemu_kernel_args="-bios ${U_BOOT_BUILD_DIR}/u-boot.rom" +reset_impl=none +flash_impl=none diff --git a/test/hooks/py/travis-ci/u_boot_boardenv_qemu_x86_64_nospl_na.py b/test/hooks/py/travis-ci/u_boot_boardenv_qemu_x86_64_nospl_na.py new file mode 100644 index 00000000000..b1541596630 --- /dev/null +++ b/test/hooks/py/travis-ci/u_boot_boardenv_qemu_x86_64_nospl_na.py @@ -0,0 +1,14 @@ +# SPDX-License-Identifier: GPL-2.0+ + +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_check_smbios = True +env__efi_loader_grub_file = travis_tftp.file2env('grub_x64.efi') +env__efi_fit_tftp_file = { + "dn" : os.environ['UBOOT_TRAVIS_BUILD_DIR'], +}