[PATCH v2 4/5] test: arm: add efi v8 test for efi arm64 payload.

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Dec 12 06:05:15 PST 2025



On 12/12/25 6:08 AM, chalianis1 at gmail.com wrote:
> From: Chali Anis <chalianis1 at gmail.com>
> 
> 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 d9822fc206a5..9997cd69ebca 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'

Is this not in the default search path for QEMU? I want to avoid
hardcoding distro-specific files in these config files.

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

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list