* [PATCH] test: add ARMv8 EFI app testing
@ 2026-02-16 8:49 Ahmad Fatoum
0 siblings, 0 replies; only message in thread
From: Ahmad Fatoum @ 2026-02-16 8:49 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum, Chali Anis
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-02-16 8:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-16 8:49 [PATCH] test: add ARMv8 EFI app testing Ahmad Fatoum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox