Skip to content

RFC edk2: add efi firmware builds

Gerd Hoffmann qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3edk2: add submodule.gitmodules roms/edk2+4 -00 replies
2/3edk2: add build script and rulesroms/Makefile roms/compile-edk2.sh+86 -10 replies
3/3edk2: use EfiRom utility from edk2 submoduleroms/Makefile+7 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [RfC PATCH 0/3] edk2: add efi firmware builds

Hi,

This patch series adds a edk2 submodule in roms, also a build script and makefile rules to build ovmf and arm firmware.

The build script creates per-arch subdirs in pc-bios and places the firmware files there. They are not exactly small:

kraxel@nilsson ~/projects/qemu (work/edk2)# du -s -h pc-bios/edk2-*

   2,8M    pc-bios/edk2-aarch64
   2,8M    pc-bios/edk2-arm
   2,1M    pc-bios/edk2-i386
   2,1M    pc-bios/edk2-x86_64

So, the question is how we wanna go forward with this. Adding the submodule and rules is a no-brainer I think. But what about the binaries, which sum up to roughly 10M? Ship them all? Ship the 64bit archs only, given that efi never really took off on i386 and arm?

Other comments?

cheers,
Gerd

Gerd Hoffmann (3):
edk2: add submodule
edk2: add build script and rules
edk2: use EfiRom utility from edk2 submodule

 .gitmodules          |  3 +++
 roms/Makefile        | 50 ++++++++++++++++++++++++++++++--------------
 roms/compile-edk2.sh | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 roms/edk2            |  1 +
 4 files changed, 97 insertions(+), 16 deletions(-)
 create mode 100755 roms/compile-edk2.sh
 create mode 160000 roms/edk2
Signature · 1 line
1.8.3.1