Get QEMU to run UEFI aarch64

This commit is contained in:
Jeremy Soller 2022-07-29 12:13:32 -06:00
commit 5cb8411166
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE

View file

@ -33,7 +33,7 @@ build/harddrive-efi.bin: build/bootloader.efi build/filesystem.bin
mkfs.vfat $@.esp && \
mmd -i $@.esp efi && \
mmd -i $@.esp efi/boot && \
mcopy -i $@.esp $< ::efi/boot/bootx64.efi && \
mcopy -i $@.esp $< ::$(BOOTLOADER_EFI_PATH) && \
# Create the disk \
dd if=/dev/zero of=$@ bs=1048576 count=$$(expr $$(du -m $< | cut -f1) + 2 + $$(du -m build/filesystem.bin | cut -f1)) && \
# Create partition table \