I tried to boot EDK2 using the following command with the latest qemu:
#!/bin/sh
set -e
qemu-system-aarch64 -bios ~/Downloads/RPI_EFI.fd \
-M raspi4b \
-cpu cortex-a72 \
-smp 4 \
-m 2G \
-display gtk
However the framebuffer doesn't display anything, even with -nographic instead of a display...