#arm-efi build (after having the patches applied) cd grub && ./bootstrap && ./configure --target=arm-linux-gnueabihf --with-platform=efi --prefix=/home/user/Desktop/grub-arm-32/ && make -j 8 && make install && /home/user/Desktop/grub-arm-32/bin/grub-mkstandalone -o bootarm.efi -O arm-efi --directory /home/user/Desktop/grub-arm-32/lib/grub/arm-efi/ #arm64-efi build (after having the patches applied) cd grub && ./bootstrap && ./configure --target=aarch64-linux-gnu --with-platform=efi --prefix=/home/user/Desktop/grub-arm-64/ && make -j 8 && make install && /home/user/Desktop/grub-arm-64/bin/grub-mkstandalone -o bootaa64.efi -O arm64-efi --directory /home/user/Desktop/grub-arm-64/lib/grub/arm64-efi/ #i386-efi build (after having the patches applied) cd grub && ./bootstrap && ./configure --target=i386 --with-platform=efi --prefix=/home/user/Desktop/grub-x86_32/ && make -j 8 && make install && /home/user/Desktop/grub-x86_32/bin/grub-mkstandalone -o bootia32.efi -O i386-efi --directory /home/user/Desktop/grub-x86_32/lib/grub/i386-efi/ #x86_64-efi build (after having the patches applied) cd grub && ./bootstrap && ./configure --target=x86_64 --with-platform=efi --prefix=/home/user/Desktop/grub-x86_64/ && make -j 8 && make install && /home/user/Desktop/grub-x86_64/bin/grub-mkstandalone -o bootx64.efi -O x86_64-efi --directory /home/user/Desktop/grub-x86_64/lib/grub/x86_64-efi/ #Placed the 4 bootXXX.efi files into /EFI/boot/bootXXX.efi of an USB stick (GPT, fat32, marked EFI System Paritition) #Used it for physical hardware, and made an image of it (grub-efi-esp-arm-intel-32-64.img) for QEMU tests #arm-efi test : qemu-system-arm -M virt -m 512 -net none -monitor none -parallel none -L ./arm-efi -bios AAVMF32_CODE_buster.fd -drive format=raw,file=../grub-efi-esp-arm-intel-32-64.img qemu-system-arm -M virt -m 512 -net none -monitor none -parallel none -L ./arm-efi -bios AAVMF32_CODE_experimental.fd -drive format=raw,file=../grub-efi-esp-arm-intel-32-64.img qemu-system-arm -M virt -m 512 -net none -monitor none -parallel none -L ./arm-efi -bios QEMU_EFI_ARM_AKEO.fd -drive format=raw,file=../grub-efi-esp-arm-intel-32-64.img qemu-system-arm -M virt -m 512 -net none -monitor none -parallel none -L ./arm-efi -bios QEMU_EFI_ARM_DEBUG.fd -drive format=raw,file=../grub-efi-esp-arm-intel-32-64.img qemu-system-arm -M virt -m 512 -net none -monitor none -parallel none -L ./arm-efi -bios QEMU_EFI_ARM_RELEASE.fd -drive format=raw,file=../grub-efi-esp-arm-intel-32-64.img qemu-system-arm -M virt -m 512 -net none -monitor none -parallel none -L ./arm-efi -bios u-boot.bin -drive format=raw,file=../grub-efi-esp-arm-intel-32-64.img #arm64-efi test : qemu-system-aarch64 -M virt -cpu cortex-a57 -m 2048 -monitor none -parallel none -L ./arm64-efi -bios AAVMF_CODE_buster.fd -drive format=raw,file=../grub-efi-esp-arm-intel-32-64.img qemu-system-aarch64 -M virt -cpu cortex-a57 -m 2048 -monitor none -parallel none -L ./arm64-efi -bios AAVMF_CODE_experimental.fd -drive format=raw,file=../grub-efi-esp-arm-intel-32-64.img qemu-system-aarch64 -M virt -cpu cortex-a57 -m 2048 -monitor none -parallel none -L ./arm64-efi -bios QEMU_EFI_AA64_AKEO.fd -drive format=raw,file=../grub-efi-esp-arm-intel-32-64.img qemu-system-aarch64 -M virt -cpu cortex-a57 -m 2048 -monitor none -parallel none -L ./arm64-efi -bios QEMU_EFI_AA64_buster.fd -drive format=raw,file=../grub-efi-esp-arm-intel-32-64.img qemu-system-aarch64 -M virt -cpu cortex-a57 -m 2048 -monitor none -parallel none -L ./arm64-efi -bios QEMU_EFI_AA64_experimental.fd -drive format=raw,file=../grub-efi-esp-arm-intel-32-64.img qemu-system-aarch64 -M virt -cpu cortex-a57 -m 2048 -monitor none -parallel none -L ./arm64-efi -bios QEMU_EFI_AA64_DEBUG.fd -drive format=raw,file=../grub-efi-esp-arm-intel-32-64.img qemu-system-aarch64 -M virt -cpu cortex-a57 -m 2048 -monitor none -parallel none -L ./arm64-efi -bios QEMU_EFI_AA64_RELEASE.fd -drive format=raw,file=../grub-efi-esp-arm-intel-32-64.img #i386-efi test : qemu-system-i386 -m 2048 -smp 4 -L ./i386-efi -bios OVMF-pure-efi.fd -vga virtio -drive format=raw,file=../grub-efi-esp-arm-intel-32-64.img #x86_64-efi test : qemu-system-x86_64 -m 2048 -smp 4 -L /usr/share/ovmf -bios OVMF.fd -vga virtio -drive format=raw,file=../grub-efi-esp-arm-intel-32-64.img