[PATCH 1/1] efi_loader: fix building aarch64 EFI binaries
Simon Glass
sjg at chromium.org
Tue Jan 3 18:02:12 CET 2023
On Sat, 31 Dec 2022 at 05:04, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> While our EFI binaries execute without problems on EDK II they crash on
> a Lenovo X13s. Let our binaries look more like what EDK II produces:
>
> * move all writable data to a .data section
> * align sections to 4 KiB boundaries (matching EFI page size)
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> arch/arm/lib/crt0_aarch64_efi.S | 35 ++++++++++++++++++++++----------
> arch/arm/lib/elf_aarch64_efi.lds | 6 ++++--
> 2 files changed, 28 insertions(+), 13 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list