[elbe-devel] [PATCH 0/4] elbepack: qemu firmware

Benedikt Spranger b.spranger at linutronix.de
Thu Mar 7 09:22:07 CET 2024


OnWed, 06 Mar 2024 10:53:56 +0100
Thomas Weißschuh <thomas.weissschuh at linutronix.de> wrote:

> Some images require firmware to run.
> Using concrete paths and filenames of firmware binaries doesn't work
> well as those can differ between different systems.
> Instead look up firmware images from QEMU's firmware database.
> 
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
> ---
> Thomas Weißschuh (4):
>       tests/simple-amd64-with-grub-uefi: use -nographic image check
>       elbepack: introduce qemu_firmware package
>       elbepack: check-build: add interpreter-firmware feature
>       tests/simple-amd64-with-grub-uefi: make use of
> interpreter-firmware
> 
>  elbepack/commands/check-build.py      |  32 ++++-
>  elbepack/qemu_firmware.py             | 239
> ++++++++++++++++++++++++++++++++++ elbepack/schema/dbsfed.xsd
>    |  23 ++++ tests/simple-amd64-with-grub-uefi.xml |  21 +--
>  4 files changed, 300 insertions(+), 15 deletions(-)
> ---
> base-commit: 8baa3ca9d6d8ec3f78919706ad156f31d0798e54
> change-id: 20240306-interpreter-firmware-a7c5f8fd3a22

A remark upfront:
The XML schema is right a mess now and needs to be overhauled.
It is not worth ATM, but during the overhaul it should be considered,
if a sticter type check can be applied to the attribute values:
"architecture", "interface_types" and "features"
Maybe we can borrow here from a QEMU firmware description json schema.

For the series:

Reviewed-by: Benedikt Spranger <b.spranger at linutronix.de>


More information about the elbe-devel mailing list