Pull request for UEFI sub-system for next

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Dec 10 19:34:56 CET 2020


Dear Tom,

The following changes since commit 03f1f78a9b44b5fd6fc09faf81639879d2d0f85f:

   spl: fit: Prefer a malloc()'d buffer for loading images (2020-12-07
17:40:34 -0500)

are available in the Git repository at:

   https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-next

for you to fetch changes up to 264485131c59c1c8fa17fe742bbca65cef868d94:

   efi_loader: link partition to block device (2020-12-10 09:15:33 +0100)

----------------------------------------------------------------
Pull request for UEFI sub-system for next

Bug fixes

* avoid corruption of FAT file system when using long names
* correct values for RuntimeServicesSupport concerning UEFI capsule update
* link partition to block device via EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER

New feature

* support EFI_LOAD_FILE_PROTOCOL in LoadImage() boot service

Gitlab CI showed no problem:
https://gitlab.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/5531

----------------------------------------------------------------
Heinrich Schuchardt (26):
       fs: fat: correct first cluster for '..'
       fs: fat: export fat_next_cluster()
       fs: fat: create correct short names
       fs: fat: pass shortname to fill_dir_slot
       fs: fat: call set_name() only once
       fs: fat: generate unique short names
       fs: fat: dentry iterator for fill_dir_slot()
       fs: fat: set start cluster for root directory
       fs: fat: flush new directory cluster
       fs: fat: fat_find_empty_dentries()
       fs: fat: reuse deleted directory entries
       fs: fat: search file should not allocate cluster
       fs: fat: use constant DELETED_FLAG
       fs: fat: first dentry of long name in FAT iterator
       fs: fat: deletion of long file names
       efi_loader: don't set EFI_RT_SUPPORTED_UPDATE_CAPSULE
       efi_loader: remove EFI_HII_CONFIG_ROUTING_PROTOCOL
       efi_loader: resequence functions in efi_boottime.c
       efi_loader: move EFI_LOAD_FILE2_PROTOCOL_GUID
       efi_loader: pass boot_policy to efi_load_image_from_path
       efi_loader: carve out efi_load_image_from_file()
       efi_loader: support EFI_LOAD_FILE_PROTOCOL
       efi_selftest: clean up Makefile
       efi_selftest: test EFI_LOAD_FILE_PROTOCOL
       efi_loader: make efi_protocol_open() non-static
       efi_loader: link partition to block device

  fs/fat/fat.c                                | 130 +++++--
  fs/fat/fat_write.c                          | 530
++++++++++++++++++++--------
  include/efi_loader.h                        |   8 +
  include/fat.h                               |   7 +-
  lib/Kconfig                                 |   2 +-
  lib/efi_loader/Makefile                     |   2 +-
  lib/efi_loader/efi_boottime.c               | 271 +++++++++-----
  lib/efi_loader/efi_disk.c                   |  20 ++
  lib/efi_loader/efi_hii_config.c             |  10 +-
  lib/efi_loader/efi_load_initrd.c            |   3 -
  lib/efi_loader/efi_root_node.c              |   3 -
  lib/efi_loader/efi_runtime.c                |   4 -
  lib/efi_selftest/Makefile                   |  17 +-
  lib/efi_selftest/efi_selftest_load_file.c   | 475
+++++++++++++++++++++++++
  lib/efi_selftest/efi_selftest_load_initrd.c |   7 +-
  15 files changed, 1191 insertions(+), 298 deletions(-)
  create mode 100644 lib/efi_selftest/efi_selftest_load_file.c


More information about the U-Boot mailing list