summaryrefslogtreecommitdiff
path: root/doc/uefi
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-02-29 08:01:07 -0500
committerTom Rini <trini@konsulko.com>2020-02-29 08:01:07 -0500
commit5045289820835ce0baf5d7cea86f9fdc6170d189 (patch)
tree5461a194898326e044d0087345aeea59d7220190 /doc/uefi
parent1e85aaf3723f0ecd06fcf62e2d2482749e1995d6 (diff)
parent71a7de4467030362ef2582c355c086eb5fc4143f (diff)
Merge tag 'efi-2020-04-rc4-2' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
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.
Diffstat (limited to 'doc/uefi')
-rw-r--r--doc/uefi/uefi.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/uefi/uefi.rst b/doc/uefi/uefi.rst
index a8fd886d6b..cfe2d84a4c 100644
--- a/doc/uefi/uefi.rst
+++ b/doc/uefi/uefi.rst
@@ -356,6 +356,18 @@ This driver is only available if U-Boot is configured with::
CONFIG_BLK=y
CONFIG_PARTITIONS=y
+Miscellaneous
+-------------
+
+Load file 2 protocol
+~~~~~~~~~~~~~~~~~~~~
+
+The load file 2 protocol can be used by the Linux kernel to load the initial
+RAM disk. U-Boot can be configured to provide an implementation with::
+
+ EFI_LOAD_FILE2_INITRD=y
+ EFI_INITRD_FILESPEC=interface dev:part path_to_initrd
+
Links
-----