[PATCH 0/2] efi_loader: fix uploading of EFI binaries via UART

Heinrich Schuchardt xypron.glpk at gmx.de
Fri Mar 19 20:56:18 CET 2021


Since commit 5f59518a7b1a ("efi_loader: setting boot device") UEFI binaries
uploaded via UART could not be executed because efi_set_bootdev() was not
invoked after loading the file.

Add support for UART device paths and add the missing call to
efi_set_bootdev().

Heinrich Schuchardt (2):
  efi_loader: Uart device path
  cmd/load: support uploading EFI binary via UART

 cmd/load.c                               | 10 ++++--
 include/efi_api.h                        | 10 ++++++
 lib/efi_loader/efi_device_path.c         | 41 ++++++++++++++++++------
 lib/efi_loader/efi_device_path_to_text.c | 13 ++++++++
 4 files changed, 63 insertions(+), 11 deletions(-)

--
2.30.2



More information about the U-Boot mailing list