[U-Boot] Pull request for UEFI sub-system for v2019.07-rc1

The following changes since commit 0e62d5b2abb69ddc9e58215e2d8dfa5d33996b8a:
Merge tag 'u-boot-imx-20190405' of git://git.denx.de/u-boot-imx (2019-04-05 09:09:56 -0400)
are available in the Git repository at:
https://git.denx.de/u-boot-efi.git tags/efi-2019-07-rc1
for you to fetch changes up to bfc2dd53812f7946b61c18e915118fb7aad12e6d:
efi_loader: correct CTRL-A - CTRL-Z console input (2019-04-07 15:11:33 +0200)
Travis CI test results are ok: https://travis-ci.org/xypron2/u-boot/builds/516845536
Primary key fingerprint: 6DC4 F9C7 1F29 A6FA 06B7 6D33 C481 DBBC 2C05 1AC4 ---------------------------------------------------------------- Pull request for UEFI sub-system for v2019.07-rc1
The patch series adds support for the BootNext and BootCurrent variables.
The rest is mostly bug fixes. With the bug fixes in place it becomes possible to use the EFI Shell `edit` command.
A new unit test is supplied to check the image base and size fields of the loaded image protocol.
An inline check when freeing memory from the pool safeguards against double frees.
---------------------------------------------------------------- AKASHI Takahiro (4): efi_loader: bootmgr: support BootNext and BootCurrent variable behavior efi_loader: set image_base and image_size to correct values efi_loader: boottime: add loaded image device path protocol to image handle efi_loader: boottime: export efi_[un]load_image()
Heinrich Schuchardt (12): efi_loader: release file buffer after loading image efi_selftest: check image_base, image_size efi_loader: sanity checks when freeing memory efi_loader: rearrange boottime service functions efi_loader: parameter checks in StartImage and Exit() efi_loader: EFI_PRINT instead of debug for variable services efi_loader: EFI_PRINT instead of debug for memory services efi_loader: variables PlatformLang and PlatformLangCodes efi_loader: debug output file handle in efi_file_open() efi_loader: correct file creation efi_loader: enable file SetInfo() efi_loader: correct CTRL-A - CTRL-Z console input
include/efi_api.h | 4 + include/efi_loader.h | 14 +- lib/efi_loader/efi_bootmgr.c | 51 ++++- lib/efi_loader/efi_boottime.c | 328 ++++++++++++++------------- lib/efi_loader/efi_console.c | 17 ++ lib/efi_loader/efi_file.c | 108 ++++++++- lib/efi_loader/efi_image_loader.c | 24 +- lib/efi_loader/efi_memory.c | 80 +++++-- lib/efi_loader/efi_setup.c | 27 +++ lib/efi_loader/efi_variable.c | 10 +- lib/efi_selftest/efi_selftest_miniapp_exit.c | 58 ++++- test/py/tests/test_efi_selftest.py | 2 +- 12 files changed, 506 insertions(+), 217 deletions(-)

On Mon, Apr 08, 2019 at 07:57:34PM +0200, Heinrich Schuchardt wrote:
The following changes since commit 0e62d5b2abb69ddc9e58215e2d8dfa5d33996b8a:
Merge tag 'u-boot-imx-20190405' of git://git.denx.de/u-boot-imx (2019-04-05 09:09:56 -0400)
are available in the Git repository at:
https://git.denx.de/u-boot-efi.git tags/efi-2019-07-rc1
for you to fetch changes up to bfc2dd53812f7946b61c18e915118fb7aad12e6d:
efi_loader: correct CTRL-A - CTRL-Z console input (2019-04-07 15:11:33 +0200)
Travis CI test results are ok: https://travis-ci.org/xypron2/u-boot/builds/516845536
Primary key fingerprint: 6DC4 F9C7 1F29 A6FA 06B7 6D33 C481 DBBC 2C05 1AC4
Applied to u-boot/master, thanks!
participants (2)
-
Heinrich Schuchardt
-
Tom Rini