scripts: Add a script for building and booting QEMU

It is handy to be able to quickly build and boot a QEMU image for a
particular architecture and distro.

Add a script for this purpose. It supports only arm and x86 at present.
For distros it only supports Ubuntu. Both 32- and 64-bit builds are
supported.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2024-11-12 06:58:54 -07:00
parent b557c73feb
commit cee7f69038
4 changed files with 245 additions and 0 deletions

View File

@@ -1111,6 +1111,14 @@ F: tools/efivar.py
F: tools/file2include.c
F: tools/mkeficapsule.c
EMULATION
M: Simon Glass <sjg@chromium.org>
S: Maintained
W: https://docs.u-boot.org/en/latest/board/emulation/script.html
F: configs/qemu_x86*
F: doc/board/emulation/script.rst
F: scripts/build-qemu.sh
ENVIRONMENT
M: Joe Hershberger <joe.hershberger@ni.com>
S: Maintained