-
Notifications
You must be signed in to change notification settings - Fork 22
target-efi: Error when compiling on Debian 9.9 #4
Comments
Hi Alex, Thanks for trying this out and sorry it's not compiling in your environment. I've so far only built in a Fedora 32 cross-compile environment (a.k.a my laptop). I'll take a closer look at this soon and I hope we can get you running. drew |
Hi Drew, Thanks, I'm really curious to play with kvm-unit-tests on baremetal. It's going to be great to be able to validate that KVM emulation matches the hardware. Or just be able to test some behavior which would otherwise be very hard to trigger with Linux. |
This probably won't help, since it's still Fedora vs. Debian, but to rule out my own notebook being magical, I freshly provisioned an x86 machine with a minimal install of Fedora 33 and then additionally installed the following four packages: git With that, I was able to clone and build --efi-target To run the EFI tests under AAVMF, I additionally installed qemu-system-aarch64 Then executed the following command to prepare the DTB qemu-system-aarch64 -nodefaults -display none -serial stdio -machine virt,accel=tcg -cpu max -machine dumpdtb=arm/dtb And finally executed the following command to boot AAVMF in order to run the tests qemu-system-aarch64 -nodefaults -display none -serial stdio -machine virt,accel=tcg -cpu max -bios /usr/share/AAVMF/AAVMF_CODE.fd -drive format=raw,file=fat:rw:arm (Notice how the arm directory of kvm-unit-tests is getting passed through to AAVMF as a fatfs) Note: |
Hi Drew, Got it to work in a VM, thanks! |
When I try to compile kvm-unit-tests configure with --target-efi I get the following error:
Same configuration as in Issue #3; the change EFI_ARCH=aarch64 applied to /Makefile.
The text was updated successfully, but these errors were encountered: