# starts qemu using the edk2 UEFI images created # creates a folder that we will use to emulate the EFI boot partition # create the raw images to be used as flag for UEFI, efi var storage, etcĭd if=/dev/zero bs=1M count=64 of=flash0.imgĭd if=/dev/zero bs=1M count=64 of=flash1.imgĭd if=QEMU_EFI.fd bs=1M of=flash0.img conv=notrunc Some code, if that's what you came for: # downloads the edk2 prebuilt image for ARM (32 bits) There were a couple of articles that helped me get it to work, namingly Linaro's UEFI QEMU article and eciton's blog on the topic. QEMU for emulation, in their own words, is a "generic and open source machine emulator and virtualizer", and they support ARM emulation.So I started looking whether I could emulate that setup to iterate more quickly over the changes I wanted to test, and only if they worked on the emulate system, I would go over the trouble of doing them on the actual tablet. Surface has a ARM processor with a UEFI implemented. On my quest for Linux on Surface, I got too tiring of rebooting the tablet, tweaking some changes on the bcd store or efi partition, rebooting, failing and redoing the whole cycle again.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |