mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 4/4] test: arm: add Labgrid env YAML for multi_v8_efiloader_defconfig
Date: Thu, 18 Dec 2025 15:48:47 +0100	[thread overview]
Message-ID: <20251218144950.3068179-5-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20251218144950.3068179-1-a.fatoum@pengutronix.de>

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@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




      parent reply	other threads:[~2025-12-18 14:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-18 14:48 [PATCH 0/4] efi: add EFI loader integration test Ahmad Fatoum
2025-12-18 14:48 ` [PATCH 1/4] test: py: strategy: add OS shell state Ahmad Fatoum
2025-12-18 14:48 ` [PATCH 2/4] test: py: add simple SMBIOS tests Ahmad Fatoum
2025-12-18 14:48 ` [PATCH 3/4] test: py: add simple EFI loader integration test Ahmad Fatoum
2025-12-18 14:48 ` Ahmad Fatoum [this message]

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=20251218144950.3068179-5-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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