[PATCH 2/3] test: arm: add efi v8 test for efi arm64 payload.

chalianis1 at gmail.com chalianis1 at gmail.com
Tue Oct 21 22:25:07 PDT 2025


From: Chali Anis <chalianis1 at gmail.com>

Add efi armv8 payload labgrid yaml and add it in the barebox ci.

Signed-off-by: Chali Anis <chalianis1 at gmail.com>
---
 .github/workflows/test-labgrid-pytest.yml |  5 ++++
 test/arm/efi_v8_defconfig.yaml            | 31 +++++++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100644 test/arm/efi_v8_defconfig.yaml

diff --git a/.github/workflows/test-labgrid-pytest.yml b/.github/workflows/test-labgrid-pytest.yml
index ccf8ae172cef..f364ed1843d9 100644
--- a/.github/workflows/test-labgrid-pytest.yml
+++ b/.github/workflows/test-labgrid-pytest.yml
@@ -27,6 +27,11 @@ jobs:
             lgenv: test/arm/multi_v8_defconfig.yaml
             defconfig: multi_v8_defconfig
             lgargs: --runxfail
+
+          - ARCH: arm
+            lgenv: 'test/arm/efi_v8_defconfig.yaml'
+            defconfig: efi_v8_defconfig
+            lgargs: --runxfail
 
           - ARCH: mips
             lgenv: test/mips/qemu-malta_defconfig.yaml
diff --git a/test/arm/efi_v8_defconfig.yaml b/test/arm/efi_v8_defconfig.yaml
new file mode 100644
index 000000000000..21d0feaed8e1
--- /dev/null
+++ b/test/arm/efi_v8_defconfig.yaml
@@ -0,0 +1,31 @@
+targets:
+  main:
+    drivers:
+      QEMUDriver:
+        qemu_bin: qemu-system-aarch64
+        machine: virt
+        cpu: cortex-a57
+        memory: 1024M
+        kernel: barebox.efi
+        display: qemu-default
+        extra_args: '-L /usr/share/qemu-efi-aarch64 -bios QEMU_EFI.fd'
+      BareboxDriver:
+        prompt: 'barebox@[^:]+:[^ ]+ '
+        bootstring: 'commandline:'
+      BareboxTestStrategy: {}
+    features:
+      - virtio-mmio
+      - testfs
+    devices:
+      fb0: 'Type: primary'
+      fbconsole0: 'Parent: fb0'
+      wdog0: 'Parent: efi-wdt'
+      efivarfs0: 'Driver: efivarfs'
+      efifs0: 'Driver: efifs'
+    runner:
+      kconfig_add:
+        - CONFIG_FRAMEBUFFER_CONSOLE=y
+images:
+  barebox.efi: !template "$LG_BUILDDIR/barebox.efi"
+imports:
+  -  ../strategy.py
-- 
2.34.1




More information about the barebox mailing list