This series contains the remaining bits and pieces I keep in my local tree to run the Tianocore/EDK2 UEFI bootloader under QEMU.
Patch #1 has been posted by Peter before, and has been included for completeness. Patch #2 adds an output parameter to load_dtb() that is used by the DTB loading functionality for ELF images added in patch #6. Patch #3 has been posted by me before, and has been updated to take into account Peter's feedback. Patch #4 register reset handlers for all CPUs when not using -kernel. Without this, CPU reset is completely non-functional, i.e., qemu_system_reset_request() has no apparent effect at all. Patch #5 modifies load_dtb() so that it uses rom_add_blob_fixed() to load the DTB, in order to make sure the DTB is available again at the expected offset after a system reset. Ard Biesheuvel (5): hw/arm/boot: return size of loaded DTB from load_dtb() hw/arm/boot: load device tree to base of DRAM if no -kernel option was passed hw/arm/boot: register cpu reset handlers if using -bios hw/arm/boot: load DTB as a ROM image hw/arm/boot: enable DTB support when booting ELF images Peter Maydell (1): hw/arm/virt: Provide flash devices for boot ROMs hw/arm/boot.c | 45 +++++++++++++++++++++++++++++++++----- hw/arm/virt.c | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+), 5 deletions(-) -- 1.8.3.2