W dniu 22.07.2016 o 12:28, Gerd Hoffmann pisze:
Booting armv7 machines is pretty messy, and fedora seems to support
uboot only for them. There isn't a armv7 build of grub2 ...
I've updated the edk2 package to also build arm firmware images
(edk2-arm subpackage), which should land in -testing soon.
Thanks a lot!
Tried to build the grub2 fedora package on arm. Didn't work out,
fails
with a apparently secure-boot related build failure.
Something to fix.
Went on with upstream grub2 instead, added two patches[1][2] to make
grub look up the FDT and pass it on to the guest. That works. Not
fully sure this is the best way to handle things though. Noticed the
guest kernel doesn't know it runs on efi (/sys/firmware/efi is not
there). Guess because grub doesn't enter the kernel via efi stub.
Or EFI support was not enabled in kernel.
Suggestions how to go forward?
1. fix grub on arm
2. enable efi support in arm kernel
3. add/enable efi-on-arm support in libvirt
4. profit
I think once we have grub2 @ arm installing virtual machines should
be
as easy as it is on aarch64 and x86.
We need to add info 'arm has uefi too' into libvirt.