From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>,
Chali Anis <chalianis1@gmail.com>
Subject: [PATCH] test: add ARMv8 EFI app testing
Date: Mon, 16 Feb 2026 09:49:34 +0100 [thread overview]
Message-ID: <20260216085011.3555633-1-a.fatoum@pengutronix.de> (raw)
Add test coverage for barebox running as an EFI application on ARM64
by having barebox as EFI firmware boot barebox.efi as EFI app via
QEMU FW_CFG.
Cc: Chali Anis <chalianis1@gmail.com>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
This requires some of the fixes in the 39-patch series that was I just sent
out to be applied.
---
.github/workflows/test-labgrid-pytest.yml | 4 +++
test/arm/multi_v8_efi_defconfig.yaml | 30 +++++++++++++++++++++++
2 files changed, 34 insertions(+)
create mode 100644 test/arm/multi_v8_efi_defconfig.yaml
diff --git a/.github/workflows/test-labgrid-pytest.yml b/.github/workflows/test-labgrid-pytest.yml
index 8469a5387f22..1247ced8e0ac 100644
--- a/.github/workflows/test-labgrid-pytest.yml
+++ b/.github/workflows/test-labgrid-pytest.yml
@@ -42,6 +42,10 @@ jobs:
defconfig: multi_v7_efiloader_defconfig
osimg: debian-13.3.0-armhf-netinst.iso
+ - ARCH: arm
+ lgenv: test/arm/multi_v8_efi_defconfig.yaml
+ defconfig: multi_v8_efi_defconfig
+
- ARCH: mips
lgenv: test/mips/qemu-malta_defconfig.yaml
defconfig: qemu-malta_defconfig
diff --git a/test/arm/multi_v8_efi_defconfig.yaml b/test/arm/multi_v8_efi_defconfig.yaml
new file mode 100644
index 000000000000..3848d3b34574
--- /dev/null
+++ b/test/arm/multi_v8_efi_defconfig.yaml
@@ -0,0 +1,30 @@
+targets:
+ main:
+ drivers:
+ QEMUDriver:
+ qemu_bin: qemu-system-aarch64
+ machine: virt,highmem=off
+ cpu: cortex-a57
+ memory: 1024M
+ bios: barebox-qemu-virt.img
+ kernel: barebox.efi
+ display: qemu-default
+ BareboxDriver:
+ prompt: 'barebox@(\x1b.+)?barebox EFI payload:[^ ]+ '
+ bootstring: 'Starting EFI payload at'
+ autoboot: 'stop autoboot'
+ BareboxTestStrategy: {}
+ features:
+ - virtio-mmio
+ devices:
+ wdog0: 'Parent: efi-wdt'
+ efivarfs0: 'Driver: efivarfs'
+ # efifs0: 'Driver: efifs' # TODO: ESP not detected
+ env:
+ nv/boot.default: qemu_fw_cfg
+ nv/autoboot: boot
+images:
+ barebox-qemu-virt.img: !template "$LG_BUILDDIR/images/barebox-qemu-virt.img"
+ barebox.efi: !template "$LG_BUILDDIR/barebox.efi"
+imports:
+ - ../strategy.py
--
2.47.3
reply other threads:[~2026-02-16 8:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260216085011.3555633-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=chalianis1@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox