Hi, > This approach allows the UEFI app source to live in the QEMU tree, and > the affected maintainer(s) would be personally responsible for setting > up their edk2 clones, and compilers. (The edk2 clone could even be a > submodule of QEMU, for example at roms/edk2.) For example, > "roms/Makefile" already calls an external EFIROM utility (also from > edk2) in order to build the combined iPXE option ROMs. > > And yes, we could turn the UEFI binaries into bootable ISO images at once. > > I'll try to post some patches soon (or not so soon). I think the app's > source code, and the edk2 submodule, should live under roms/, and the > bootable images should live under pc-bios/. > > (In fact we could use this opportunity to build & bundle OVMF itself... > not sure if that's in scope for now. Gerd, what's your take?)
Well, there is still the idea to move over firmware submodules and prebuilt firmware blobs to a separate repo. Expermimental repo: https://git.kraxel.org/cgit/qemu-firmware/. Not touched for more than a year due to being busy with other stuff. Oh well ... (if someone feels like picking this up feel free to do so). I think adding edk2 as submodule below roms/ makes sense. Adding rules to roms/Makefile to build the blobs makes sense too. Not sure we want the binaries actually copied over to pc-bios/ and commited as the uefi firmware is pretty big ... Not sure what a good place for the uefi app would be. I'd tend to not use roms/, that is the place for firmware submodules. contrib/ or test/ maybe? cheers, Gerd