| Message ID | 20260216013511.4079770-17-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> 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=1771205776; bh=LAnsR7O/TTSHaU1PjSS/VNPbWyhKahcTvgJv2e9csEM=; 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=dR10Hg8L6+oP1Dy837czGfzIaxJpSWV/V94y74+EnI6Ertrx7SwlCxN486EmcPPI9 kRrcpj01Vc4iBDqXvcs22XBh9uc7jdXFfmy5tkAYRakgH8AFaFpW6xN+vvmfNy5bUl o63oz+3eLepzFNUriguzpyjlfHYcCnwGBrEpIMAiZziuk8opRzeZUOhmT0+l1tg4lg MjDDaxn8/phSit3AayqrbRr4J8f1eN+hj7NHfMfn//6hW9BKHxMuBkoO0SS+XvTMtN x96DZAhoquM5swPJbg6ht5027n53PwKmW/47gCsnBTzJLryxevKU+TgxSoHr8sF8id 0gtzocXJvTEuA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 12C4B69BE1 for <u-boot-concept@u-boot.org>; Sun, 15 Feb 2026 18:36:16 -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 HbZZ1vEotkqB for <u-boot-concept@u-boot.org>; Sun, 15 Feb 2026 18:36:16 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771205775; bh=LAnsR7O/TTSHaU1PjSS/VNPbWyhKahcTvgJv2e9csEM=; 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=aAGfgWIguw5c007JRFV0goC1uMDi6QNcLpWXBL7hr/qPdkUcY4lVVexpBGXYqBRes ZikT9v+9dgCui1rGBQSvC/FuXth+KRd3jz8PGo6p7vB+sQwF5um7qDeH+WkDTNWeHh QO2d90U9DVLsB+k+nF4FqZ24PDkCI8HA0tMyQxvSkQRAoh3v4HL6/MQEYnvZgV6hAx jUfSxD30n0PjNCAII5kqUxnke3i9Q9M0JOj9UM55FBwXxStoY6mE5La3vwGAihspAi H6M4PZMnjvsdrw79fqWC92fDxhVYPh5xsSbXsm8+/yR4s19zyq4pr6YQXZFTAXjdO7 gAFAoteUixEdQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 59D3F69BDD for <u-boot-concept@u-boot.org>; Sun, 15 Feb 2026 18:36:15 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771205773; bh=IK1B2JPz1CVI3VxJJ7v/hO3sjIzq3SlclHgHYHe7ZRk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=etv4I7+5Oa897T5MmF77qUIkuJCpglVPa+aWZ1hUY3ybrxtE/g+EhOd7uEorcvJym qV+hckvzc9iJYDlWzswOu5KpMdEIv8kCiPNR3gQxaEA3XKCSwQX0rSnc7uYlLT/tkx XTno97rIHYrTEcYyr1tPQhLSq7gx+FkAjj9Z1Ci+/S16FiHW4xxF0tA17GnixEJxj8 P4cJ6YLVV2k6z/8iP+/KUwBXOcAS9+jMXmizVxYTm6h0gxBSA/1ce9pCY9L10mDiQD 9ffvpLW/ZHWuUtwFNTMLjcvcCG09uJxJmAwPmSQjYWo3hJqAmREYtacB7toCcQO/n0 aUAocvKrYSilA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2AE4769BCC; Sun, 15 Feb 2026 18:36:13 -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 H-UeDQd6JMHI; Sun, 15 Feb 2026 18:36:13 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771205772; bh=oie1iTHfUiIzyQBZBr+iQm6UHh+gO9jP/5W1BsJ0G5o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R+7aoBD+NnRZeT/S/jB0qUj1nH9+8kId7OTv9pzqDdHUx3bza2RrZ+kXbNyfOwW71 Lmi4u5oOV3ubRjsZzpr1fx6+keoAvPuSfaUN3YpVbNWe1Bzr822cHt18CVVyAfxWpO mN/LYEbGZTzv8AaB/bwGZLhtMICPmmxKEkG1XVvLAZRsx/3Kb60Y/uHcoGtKa4f1ZG ACwDDqYQCdrfF2w1PzFdks2wfIyAAMa0H/xmpeXDUnnjW6xCIBB6oAtg50vAQx1zgc la7MNsCEZGSZIvGraxKtTUNMqgTMRccVfIP5btbujhDfcsPLdao6TC4oQouPUsrJT6 +cZXnOgayv1pA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 9911B69B01; Sun, 15 Feb 2026 18:36:12 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Sun, 15 Feb 2026 18:35:04 -0700 Message-ID: <20260216013511.4079770-17-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260216013511.4079770-1-sjg@u-boot.org> References: <20260216013511.4079770-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 7JDPNBUTFALUH6U3U553UWRZCS3BORAX X-Message-ID-Hash: 7JDPNBUTFALUH6U3U553UWRZCS3BORAX 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 <simon.glass@canonical.com>, "Claude Opus 4 . 6" <noreply@anthropic.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 16/17] ulib: test: Add EFI demo pytest for riscv64 List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/7JDPNBUTFALUH6U3U553UWRZCS3BORAX/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
ulib: Add multi-arch demo and EFI app support
|
|
Commit Message
Simon Glass
Feb. 16, 2026, 1:35 a.m. UTC
From: Simon Glass <simon.glass@canonical.com> Add test_ulib_demo_efi_riscv64() which uses the run_efi_demo() helper to boot demo-app.efi under qemu-system-riscv64 with the appropriate UEFI firmware. Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- test/py/tests/test_ulib.py | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/test/py/tests/test_ulib.py b/test/py/tests/test_ulib.py index c7d79515bb9..50784ea9c60 100644 --- a/test/py/tests/test_ulib.py +++ b/test/py/tests/test_ulib.py @@ -397,3 +397,13 @@ def test_ulib_demo_efi_arm64(ubman): run_efi_demo(ubman, 'qemu-system-aarch64', '/usr/share/qemu-efi-aarch64/QEMU_EFI.fd', None, ['--machine', 'virt', '-cpu', 'max']) + +@pytest.mark.localqemu +@pytest.mark.boardspec('efi-riscv_app64') +@pytest.mark.buildconfigspec("examples") +def test_ulib_demo_efi_riscv64(ubman): + """Test the ulib demo EFI application under QEMU RISC-V 64 with UEFI.""" + run_efi_demo(ubman, 'qemu-system-riscv64', + '/usr/share/qemu-efi-riscv64/RISCV_VIRT_CODE.fd', + '/usr/share/qemu-efi-riscv64/RISCV_VIRT_VARS.fd', + ['--machine', 'virt'])