From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heinrich Schuchardt Date: Tue, 7 Jan 2020 18:22:29 +0100 Subject: Pull request for UEFI sub-system for efi-2020-04-rc1 Message-ID: <3e482154-278d-328f-9f65-6f33cfdbf47c@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The following changes since commit 5a8fa095cb848c60c630a83edf30d4fc46101e90: Merge branch 'next' (2020-01-06 17:07:49 -0500) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-04-rc1 for you to fetch changes up to 7d6f16fbde9a03adc7d85b8809cb16dbc5e311f9: efi_selftest: unit test for EFI_RNG_PROTOCOL (2020-01-07 18:08:22 +0100) ---------------------------------------------------------------- Pull request for UEFI sub-system for efi-2020-04-rc1 This pull request provides: * support for FIT images for UEFI binaries * drivers for hardware random number generators * an implementation of the EFI_RNG_PROTOCOL * a sub-command for efidebug to display configuration tables ---------------------------------------------------------------- AKASHI Takahiro (1): include: pe.h: add signature-related definitions Cristian Ciocaltea (6): test/py: Fix broken 'notbuildconfigspec' marker image: Add IH_OS_EFI for EFI chain-load boot bootm: Add a bootm command for type IH_OS_EFI doc: Add sample uefi.its image description file doc: uefi.rst: Document launching UEFI binaries from FIT images test/py: Create a test for launching UEFI binaries from FIT images Heinrich Schuchardt (19): configs: qemu: enable FIT images on qemu_arm(64)_defconfig efi_loader: imply USB_KEYBOARD_FN_KEYS efi_loader: adjust file system info efi_loader: pass address to efi_install_fdt() efi_loader: use hardware device tree by default efi_loader: carve out efi_run_image() efi_loader: export efi_install_fdt() efi_loader: git ignore helloworld_efi.S test/py: describe env__efi_loader_helloworld_file efi_loader: clear screen should move cursor to home part: efi: comment for GPT_HEADER_SIGNATURE_UBOOT efi_loader: __cyg_profile_func_enter/_exit efi_loader: free load options after execution efi_loader: define all known warning status codes cmd: efidebug: simplify get_guid_text() cmd: efidebug: new sub-command tables cmd: efidebug: capitalize UEFI cmd: add rng command efi_selftest: unit test for EFI_RNG_PROTOCOL Sughosh Ganu (12): efi_selftest: Update .gitignore efi_loader: Add guidcpy function dm: rng: Add random number generator(rng) uclass clk: stm32mp1: Add a clock entry for RNG1 device stm32mp1: rng: Add a driver for random number generator(rng) device configs: stm32mp15: Enable random number generator(rng) device sandbox: rng: Add a random number generator(rng) driver configs: sandbox: Enable random number generator(rng) device test: rng: Add basic test for random number generator(rng) uclass virtio: rng: Add a random number generator(rng) driver efi: qemu: arm64: Add efi_rng_protocol implementation for the platform efi_rng_protocol: Install the efi_rng_protocol on the root node arch/sandbox/dts/test.dts | 4 + board/emulation/qemu-arm/qemu-arm.c | 42 ++++ cmd/Kconfig | 14 ++ cmd/Makefile | 1 + cmd/bootefi.c | 135 ++++++----- cmd/efidebug.c | 78 ++++-- cmd/rng.c | 56 +++++ common/bootm_os.c | 56 +++++ common/image-fit.c | 3 +- common/image.c | 1 + configs/qemu_arm64_defconfig | 5 + configs/qemu_arm_defconfig | 5 + configs/sandbox64_defconfig | 2 + configs/sandbox_defconfig | 2 + configs/stm32mp15_basic_defconfig | 2 + configs/stm32mp15_optee_defconfig | 2 + configs/stm32mp15_trusted_defconfig | 2 + doc/uImage.FIT/uefi.its | 67 ++++++ doc/uefi/uefi.rst | 34 +++ drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/clk/clk_stm32mp1.c | 1 + drivers/rng/Kconfig | 22 ++ drivers/rng/Makefile | 8 + drivers/rng/rng-uclass.c | 23 ++ drivers/rng/sandbox_rng.c | 56 +++++ drivers/rng/stm32mp1_rng.c | 160 +++++++++++++ drivers/virtio/Kconfig | 6 + drivers/virtio/Makefile | 1 + drivers/virtio/virtio-uclass.c | 1 + drivers/virtio/virtio_rng.c | 88 +++++++ include/dm/uclass-id.h | 1 + include/efi.h | 8 +- include/efi_loader.h | 16 ++ include/efi_rng.h | 32 +++ include/image.h | 1 + include/part_efi.h | 2 +- include/pe.h | 18 ++ include/rng.h | 33 +++ include/virtio.h | 4 +- lib/efi_loader/.gitignore | 1 + lib/efi_loader/Kconfig | 9 + lib/efi_loader/Makefile | 1 + lib/efi_loader/efi_boottime.c | 4 +- lib/efi_loader/efi_console.c | 16 +- lib/efi_loader/efi_file.c | 11 +- lib/efi_loader/efi_freestanding.c | 32 +++ lib/efi_loader/efi_rng.c | 114 +++++++++ lib/efi_loader/efi_root_node.c | 4 + lib/efi_selftest/.gitignore | 3 +- lib/efi_selftest/Makefile | 1 + lib/efi_selftest/efi_selftest_rng.c | 117 +++++++++ test/dm/Makefile | 1 + test/dm/rng.c | 26 ++ test/py/conftest.py | 2 +- test/py/tests/test_efi_fit.py | 458 ++++++++++++++++++++++++++++++++++++ test/py/tests/test_efi_loader.py | 7 +- 57 files changed, 1719 insertions(+), 83 deletions(-) create mode 100644 cmd/rng.c create mode 100644 doc/uImage.FIT/uefi.its create mode 100644 drivers/rng/Kconfig create mode 100644 drivers/rng/Makefile create mode 100644 drivers/rng/rng-uclass.c create mode 100644 drivers/rng/sandbox_rng.c create mode 100644 drivers/rng/stm32mp1_rng.c create mode 100644 drivers/virtio/virtio_rng.c create mode 100644 include/efi_rng.h create mode 100644 include/rng.h create mode 100644 lib/efi_loader/efi_rng.c create mode 100644 lib/efi_selftest/efi_selftest_rng.c create mode 100644 test/dm/rng.c create mode 100644 test/py/tests/test_efi_fit.py