[PATCH 4/4] test: arm: add Labgrid env YAML for multi_v8_efiloader_defconfig

Ahmad Fatoum a.fatoum at pengutronix.de
Thu Dec 18 06:48:47 PST 2025


For basic testing of the EFI loader support, add a Labgrid environment
capable of booting through barebox into Debian.

This is intentionally not wired into CI as I don't want to hit Debian
infra on every test run. Github Actions supports caching for that, but
until this is done, we expect the file to be manually downloaded from:

https://cloud.debian.org/images/cloud/trixie/latest/debian-13-nocloud-arm64.raw

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 test/arm/multi_v8_efiloader_defconfig.yaml | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 test/arm/multi_v8_efiloader_defconfig.yaml

diff --git a/test/arm/multi_v8_efiloader_defconfig.yaml b/test/arm/multi_v8_efiloader_defconfig.yaml
new file mode 100644
index 000000000000..2aba23f3c0c1
--- /dev/null
+++ b/test/arm/multi_v8_efiloader_defconfig.yaml
@@ -0,0 +1,33 @@
+targets:
+  main:
+    drivers:
+      QEMUDriver:
+        qemu_bin: qemu-system-aarch64
+        machine: virt,highmem=off
+        cpu: cortex-a57
+        memory: 1024M
+        kernel: barebox-dt-2nd.img
+        display: qemu-default
+        extra_args: >
+          -drive if=virtio,format=raw,snapshot=on,file=debian-13-nocloud-arm64.raw
+          -device virtio-rng
+      BareboxDriver:
+        prompt: 'barebox@[^:]+:[^ ]+ '
+        autoboot: 'stop autoboot'
+        bootstring: 'commandline:|Starting EFI payload at'
+      ShellDriver:
+        prompt: '\x1b\[\?2004hroot@[^:]+:[^ ]+'
+        login_prompt: ' login: '
+        login_timeout: 300
+        await_login_timeout: 20
+        username: 'root'
+      BareboxTestStrategy: {}
+    features:
+      - virtio-mmio
+      - smbios
+      - bootable
+      - efi
+images:
+  barebox-dt-2nd.img: !template "$LG_BUILDDIR/images/barebox-dt-2nd.img"
+imports:
+  -  ../strategy.py
-- 
2.47.3




More information about the barebox mailing list