[PATCH 0/6] script: Improve the QEMU scripts to Python
Simon Glass
sjg at chromium.org
Sun May 11 16:18:15 CEST 2025
This series updates the two QEMU scripts available in U-Boot:
- Converts build-qemu to Python
- Converts build-efi to avoid sudo (unless SCT is used)
- Introduces a proper settings file shared between both scripts
It also includes a few documentation updates.
The next step is to get these scripts running in CI.
Simon Glass (6):
test: Update fs_helper to support passing in the image
scripts: Rename build-efi.py to drop the file extension
scripts: Convert the build-efi script to avoid sudo
scripts: Create a common settings file for QEMU scripts
u_boot_pylib: Support a fatal level in tout
scripts: Convert the build-qemu script to Python
MAINTAINERS | 5 +-
doc/board/emulation/script.rst | 78 +++++-
doc/develop/uefi/u-boot_on_efi.rst | 7 +-
scripts/{build-efi.py => build-efi} | 159 ++---------
scripts/build-qemu | 414 ++++++++++++++++++++++++++++
scripts/build-qemu.sh | 211 --------------
scripts/build_helper.py | 126 +++++++++
test/py/tests/fs_helper.py | 18 +-
tools/binman/control.py | 6 +-
tools/u_boot_pylib/tout.py | 22 +-
10 files changed, 660 insertions(+), 386 deletions(-)
rename scripts/{build-efi.py => build-efi} (52%)
create mode 100755 scripts/build-qemu
delete mode 100755 scripts/build-qemu.sh
create mode 100644 scripts/build_helper.py
--
2.43.0
base-commit: c5a631df96de7421d10ee03dceed1b79db213026
branch: script
More information about the U-Boot
mailing list