[PATCH 3/3] Reuse arm64 efi linux loader for arm

2016-08-22 Thread Leif Lindholm
The original 32-bit arm EFI Linux loader reused the 32-bit Linux loader for U-Boot. However, this meant it was not necessarily acting in an entirely UEFI-compliant fashion. Since EFI stub loader support for arm went into upstream Linux for 4.5, we can now reuse the same loader as is used on arm64.

[PATCH 0/3] share an efi Linux loader between arm and arm64

2016-08-22 Thread Leif Lindholm
Since we now have UEFI arm support in the upstream kernel, tweak the fdt module and the arm64 efi linux loader to be generically useful for both 64-bit and 32-bit platforms. 1/3 turns the EFI bits of the fdt module into a generic feature rather than just a part of the arm64 linux loader. 2/3 u

[PATCH 1/3] move efi fdt helper library

2016-08-22 Thread Leif Lindholm
There is nothing ARM64 (or even ARM) specific about the efi fdt helper library, which is used for locating or overriding a firmware-provided devicetree in a UEFI system - so move it to loader/efi for reuse. Move the fdtload.h include file to grub/efi and move the (at least theoretically) machine d

[PATCH 2/3] make arm64 linux loader more generic

2016-08-22 Thread Leif Lindholm
In order to enable reuse of the arm64 efi linux loader for arm, change a few function names and macros. Add a global definition of GRUB_PE32_MAGIC in grub/efi/pe32.h. Also make it possible to build for 32/64-bit architectures. Also update the arm64 xen loader, since it depends on some of the func

Fwd: A black window pop out after I select a boot entry in grub2

2016-08-22 Thread Huangwei Fang
Hi Andrei, Thanks for your response for my question. I would like to ask where to find patch that you mentioned in your reply. Also, I commented out all possible outputs to terminal, but I still see an empty black window popping out. Could you give me any idea about where to do not open terminal w

Fwd: A black window pop out after I select a boot entry in grub2

2016-08-22 Thread Huangwei Fang
Hi Serbinenko, Thanks for your answer to my question. I did delete all outputs to the terminal window. However, I still see an empty black window popping out. Could you give me any idea about it? Thanks. Thanks, Henry Fang -- Forwarded message -- From: Mat Troi Date: Mon, Aug 2