Re: Pull request for UEFI sub-system for efi-2020-04-rc4 (6)
On Sun, Mar 29, 2020 at 09:44:49PM +0200, Heinrich Schuchardt wrote: > The following changes since commit 350c44dfb99017e9147ee07d37a40626bde62250: > > Merge branch '2020-03-27-master-imports' (2020-03-27 17:54:38 -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git > tags/efi-2020-04-rc4-6 > > for you to fetch changes up to d4babee087f24a60d910659cb4367a077bad87a0: > > vexpress_ca9x4: Enable use of correct DTB file and restore EFI > loader. (2020-03-28 11:11:32 +0100) > Per IRC, this does seem to still have test failures on Travis, and we'll figure out something to get it passing there too (one test is being skipped on GitLab, but tries to run on Travis and hitting the "no dtb found at default location" issue). -- Tom signature.asc Description: PGP signature
Pull request for UEFI sub-system for efi-2020-04-rc4 (6)
The following changes since commit 350c44dfb99017e9147ee07d37a40626bde62250: Merge branch '2020-03-27-master-imports' (2020-03-27 17:54:38 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-04-rc4-6 for you to fetch changes up to d4babee087f24a60d910659cb4367a077bad87a0: vexpress_ca9x4: Enable use of correct DTB file and restore EFI loader. (2020-03-28 11:11:32 +0100) Pull request for UEFI sub-system for efi-2020-04-rc4 (6) This series fixes: * UEFI Python test for helloworld requires CONFIG_OF_CONTROL=y. * int to pointer cast warning for cmd/efidebug.c * memory reservation even if fdt node is disabled Now that the Python test is fixed reintroduce the reverted patch for vexpress_ca9x4 to enable EFI_LOADER and define the dtb file name. Heinrich Schuchardt (3): test/py: UEFI helloworld requires OF_CONTROL cmd: efidebug: fix int to pointer cast efi_loader: only reserve memory if fdt node enabled Kristian Amlie (1): vexpress_ca9x4: Enable use of correct DTB file and restore EFI loader. cmd/bootefi.c | 3 ++- cmd/efidebug.c| 8 +--- configs/vexpress_ca9x4_defconfig | 2 +- include/configs/vexpress_common.h | 3 ++- test/py/tests/test_efi_loader.py | 5 +++-- 5 files changed, 13 insertions(+), 8 deletions(-)
Re: Pull request for UEFI sub-system for efi-2020-04-rc4 (5)
On Mon, Mar 23, 2020 at 07:33:26AM +0100, Heinrich Schuchardt wrote: > The following changes since commit 14eb12a3c801c9b18c91bdce413e44930e008418: > > Merge branch 'master' of > https://gitlab.denx.de/u-boot/custodians/u-boot-sunxi (2020-03-18 > 07:48:53 -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git > tags/efi-2020-04-rc4-5 > > for you to fetch changes up to 7a4e717b9c0c255137a58f3ab90f002fc3aade2b: > > efi_loader: definition of GetNextVariableName() (2020-03-22 18:38:02 > +0100) > > Gitlab CI and Travis CI reported no problem: > https://gitlab.denx.de/u-boot/custodians/u-boot-efi/pipelines/2492 > https://travis-ci.org/github/xypron2/u-boot/builds/665561954 > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature
Pull request for UEFI sub-system for efi-2020-04-rc4 (5)
The following changes since commit 14eb12a3c801c9b18c91bdce413e44930e008418: Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-sunxi (2020-03-18 07:48:53 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-04-rc4-5 for you to fetch changes up to 7a4e717b9c0c255137a58f3ab90f002fc3aade2b: efi_loader: definition of GetNextVariableName() (2020-03-22 18:38:02 +0100) Gitlab CI and Travis CI reported no problem: https://gitlab.denx.de/u-boot/custodians/u-boot-efi/pipelines/2492 https://travis-ci.org/github/xypron2/u-boot/builds/665561954 Pull request for UEFI sub-system for efi-2020-04-rc4 (5) This series contains bug fixes for the UEFI sub-system: * report correct variable length in GetNextVariable() * correct copying direction if freestanding memmove() * remove const for parameter of GetNextVariableName() * correct function descriptions Unit tests are added and adjusted. Heinrich Schuchardt (9): efi_loader: description of efi_variable.c efi_loader: fix function descriptions in efi_disk.c efi_loader: correct reported length in GetNextVariable() efi_selftest: check length reported by GetNextVariableName() efi_loader: simplify logical expression in efi_disk_add_dev() efi_loader: description efi_convert_pointer() efi_loader: fix freestanding memmove() efi_selftest: test CalculateCrc32, CopyMem, SetMem efi_loader: definition of GetNextVariableName() include/efi_api.h | 2 +- include/efi_loader.h | 2 +- lib/efi_loader/efi_disk.c | 54 +- lib/efi_loader/efi_freestanding.c | 2 +- lib/efi_loader/efi_runtime.c | 4 +- lib/efi_loader/efi_variable.c | 19 lib/efi_selftest/Makefile | 1 + lib/efi_selftest/efi_selftest_mem.c | 77 +++ lib/efi_selftest/efi_selftest_variables.c | 10 +++- 9 files changed, 132 insertions(+), 39 deletions(-) create mode 100644 lib/efi_selftest/efi_selftest_mem.c
Re: Pull request for UEFI sub-system for efi-2020-04-rc4 (4)
On Wed, Mar 18, 2020 at 10:34:44AM +0100, Heinrich Schuchardt wrote: > The following changes since commit a4df9d8ab848ea4ff10b247ae435b0a14bbbd066: > > Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvell > (2020-03-16 12:33:24 -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git > tags/efi-2020-04-rc4-4 > > for you to fetch changes up to 74b44875357378c83e4bd150c0b759ca6ae6563a: > > efi_loader: correct a definition of struct efi_capsule_header > (2020-03-17 08:29:52 +0100) > > No errors were reported by Gitlab: > https://gitlab.denx.de/u-boot/custodians/u-boot-efi/pipelines/2454 > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature
Pull request for UEFI sub-system for efi-2020-04-rc4 (4)
The following changes since commit a4df9d8ab848ea4ff10b247ae435b0a14bbbd066: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvell (2020-03-16 12:33:24 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-04-rc4-4 for you to fetch changes up to 74b44875357378c83e4bd150c0b759ca6ae6563a: efi_loader: correct a definition of struct efi_capsule_header (2020-03-17 08:29:52 +0100) No errors were reported by Gitlab: https://gitlab.denx.de/u-boot/custodians/u-boot-efi/pipelines/2454 Pull request for UEFI sub-system for efi-2020-04-rc4 (4) This series fixes several bugs: * consider the /reserved-memory node in the device tree * consider memory reservations created in ft_board_setup() * correct output of 'efidebug memmap' on the sandbox * correct the definition of efi_capsule_header() Furthermore some definitions needed for future patches are added to header files. AKASHI Takahiro (4): efi_loader: define OsIndicationsSupported flags efi_loader: define System Resource Table macros efi_loader: export a couple of protocol related functions efi_loader: correct a definition of struct efi_capsule_header Atish Patra (1): cmd: bootefi: Parse reserved-memory node from DT Heinrich Schuchardt (2): efi_loader: create reservations after ft_board_setup cmd: map addresses to sysmem in efidebug memmap cmd/bootefi.c | 49 --- cmd/efidebug.c| 6 -- include/efi_api.h | 41 ++-- include/efi_loader.h | 14 + lib/efi_loader/efi_boottime.c | 16 +++--- 5 files changed, 102 insertions(+), 24 deletions(-)
Re: Pull request for UEFI sub-system for efi-2020-04-rc4 (3)
On Wed, Mar 11, 2020 at 06:11:38PM +0100, Heinrich Schuchardt wrote: > The following changes since commit db41d985f6bbf42f83a91b1e4a321a97d72aa843: > > arm: mediatek: remove unused binman config (2020-03-10 17:08:13 -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git > tags/efi-2020-04-rc4-3 > > for you to fetch changes up to bc40eb278b0c14b990556eab34a57b2b8ed598f4: > > drivers/rng: add Amlogic hardware RNG driver (2020-03-11 08:29:58 +0100) > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature
Pull request for UEFI sub-system for efi-2020-04-rc4 (3)
The following changes since commit db41d985f6bbf42f83a91b1e4a321a97d72aa843: arm: mediatek: remove unused binman config (2020-03-10 17:08:13 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-04-rc4-3 for you to fetch changes up to bc40eb278b0c14b990556eab34a57b2b8ed598f4: drivers/rng: add Amlogic hardware RNG driver (2020-03-11 08:29:58 +0100) Pull request for UEFI sub-system for efi-2020-04-rc4 (3) This pull request provides the hardware RNG driver for Amlogic systems needed for the EFI_RNG_PROTOCOL. Furthermore bug fixes are provided: * correct an error message in the efidebug command * correct an error in the 'efidebug rm' command * remove an unnecessary assignment in efi_queue_event() No problems were reported by Gitlab CI and Travis CI: https://gitlab.denx.de/u-boot/custodians/u-boot-efi/pipelines/2409 https://travis-ci.org/github/xypron2/u-boot/builds/660960360 AKASHI Takahiro (2): efi_loader: get_memory_map: return parameters whenever possible cmd: efidebug: fix a failure of "boot rm" sub-command Heinrich Schuchardt (4): cmd: efidebug: correct error message efi_loader: unnecessary assignment in efi_queue_event drivers/rng: simplify Kconfig drivers/rng: add Amlogic hardware RNG driver cmd/efidebug.c| 7 +-- configs/sandbox64_defconfig | 1 - configs/sandbox_defconfig | 1 - drivers/rng/Kconfig | 17 +- drivers/rng/Makefile | 1 + drivers/rng/meson-rng.c | 120 ++ lib/efi_loader/efi_boottime.c | 2 +- lib/efi_loader/efi_memory.c | 12 ++--- 8 files changed, 147 insertions(+), 14 deletions(-) create mode 100644 drivers/rng/meson-rng.c
Re: Pull request for UEFI sub-system for efi-2020-04-rc4 (2)
On Sat, Feb 29, 2020 at 10:13:52AM +0100, Heinrich Schuchardt wrote: > The following changes since commit 12fdbbe860f395575f360f0c03d84bce61a9a212: > > Merge tag 'ti-v2020.04-rc4' of > https://gitlab.denx.de/u-boot/custodians/u-boot-ti (2020-02-27 08:51:01 > -0500) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git > tags/efi-2020-04-rc4-2 > > for you to fetch changes up to 71a7de4467030362ef2582c355c086eb5fc4143f: > > doc/efi: add load file 2 protocol to HTML documentation (2020-02-28 > 19:37:14 +0100) > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature
Pull request for UEFI sub-system for efi-2020-04-rc4 (2)
The following changes since commit 12fdbbe860f395575f360f0c03d84bce61a9a212: Merge tag 'ti-v2020.04-rc4' of https://gitlab.denx.de/u-boot/custodians/u-boot-ti (2020-02-27 08:51:01 -0500) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-04-rc4-2 for you to fetch changes up to 71a7de4467030362ef2582c355c086eb5fc4143f: doc/efi: add load file 2 protocol to HTML documentation (2020-02-28 19:37:14 +0100) Pull request for UEFI sub-system for efi-2020-04-rc4 (2) In Linux next-20200228 patches have been merged to load an initial ramdisk using an EFI_LOAD_FILE2_PROTOCOL provided by the firmware. See commit ec93fc371f01 ("efi/libstub: Add support for loading the initrd from a device path"). The idea behind it is that the firmware should be responsible for validating the initrd in a secure boot setup. This pull-request comprises a patch series which let's U-Boot provide an initial implementation of the EFI_LOAD_FILE2_PROTOCOL providing the initrd. Heinrich Schuchardt (1): doc/efi: add load file 2 protocol to HTML documentation Ilias Apalodimas (2): efi_loader: Implement FileLoad2 for initramfs loading efi_selftest: add selftests for loadfile2 used to load initramfs cmd/efidebug.c | 4 + doc/api/efi.rst | 9 ++ doc/uefi/uefi.rst | 12 ++ include/efi_api.h | 17 +++ include/efi_load_initrd.h | 25 include/efi_loader.h| 1 + lib/efi_loader/Kconfig | 15 ++ lib/efi_loader/Makefile | 1 + lib/efi_loader/efi_load_initrd.c| 198 + lib/efi_loader/efi_setup.c | 5 + lib/efi_selftest/Makefile | 1 + lib/efi_selftest/efi_selftest_load_initrd.c | 220 12 files changed, 508 insertions(+) create mode 100644 include/efi_load_initrd.h create mode 100644 lib/efi_loader/efi_load_initrd.c create mode 100644 lib/efi_selftest/efi_selftest_load_initrd.c
Re: Pull request for UEFI sub-system for efi-2020-04-rc4
On Wed, Feb 26, 2020 at 07:40:52PM +0100, Heinrich Schuchardt wrote: > The following changes since commit 548ce227d3d852455c6395c0cec30af0cda77b09: > > Prepare v2020.04-rc3 (2020-02-26 07:53:20 -0500) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git > tags/efi-2020-04-rc4 > > for you to fetch changes up to 76be687288dc618eabd1ef643488cd5bd93f84ff: > > efi_loader: implement EFI_RT_PROPERTIES_TABLE (2020-02-26 19:32:09 +0100) > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature
Pull request for UEFI sub-system for efi-2020-04-rc4
The following changes since commit 548ce227d3d852455c6395c0cec30af0cda77b09: Prepare v2020.04-rc3 (2020-02-26 07:53:20 -0500) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-04-rc4 for you to fetch changes up to 76be687288dc618eabd1ef643488cd5bd93f84ff: efi_loader: implement EFI_RT_PROPERTIES_TABLE (2020-02-26 19:32:09 +0100) Pull request for UEFI sub-system for efi-2020-04-rc4 UEFI spec 2.8 errata A replaces the RuntimeServicesSupported variable defined in UEFI spec 2.8 by the configuration table EFI_RT_PROPERTIES_TABLE. So let's follow suit. Heinrich Schuchardt (1): efi_loader: implement EFI_RT_PROPERTIES_TABLE cmd/efidebug.c | 4 include/efi_api.h| 12 lib/efi_loader/efi_runtime.c | 36 lib/efi_loader/efi_setup.c | 8 4 files changed, 48 insertions(+), 12 deletions(-)