aboutsummaryrefslogtreecommitdiff
path: root/doc/uefi
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-01-14 08:50:23 -0500
committerTom Rini <trini@konsulko.com>2021-01-14 08:50:23 -0500
commit35772ff4f63a302e0b873096372c70292fb0af79 (patch)
treeffa00f958cf61d12a9348b27699e3980f9d9f15d /doc/uefi
parentab1a425524a79eeca61e7b67fdf382c7a499346f (diff)
parent8e70f1cb3f2c18d574b087d4fc1d79e68ce98fa9 (diff)
downloadu-boot-WIP/14Jan2021.zip
u-boot-WIP/14Jan2021.tar.gz
u-boot-WIP/14Jan2021.tar.bz2
Merge tag 'efi-2021-04-rc1' of https://gitlab.denx.de/u-boot/custodians/u-boot-efiWIP/14Jan2021
Pull request for UEFI sub-system for efi-2021-04-rc1 In the UEFI sub-system: * implement non-blocking file services * print boot device and file path in helloworld.efi * improve detection of boot device * correct argument handling in efivar.py * implement EFI_DT_FIXUP_PROTOCOL Bug fixes: * adjust conitrace command for low baud rates * check that FIT images are valid FDTs
Diffstat (limited to 'doc/uefi')
-rw-r--r--doc/uefi/uefi.rst11
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/uefi/uefi.rst b/doc/uefi/uefi.rst
index dc930d9..5a67737 100644
--- a/doc/uefi/uefi.rst
+++ b/doc/uefi/uefi.rst
@@ -59,13 +59,10 @@ Below you find the output of an example session starting GRUB::
120832 bytes read in 7 ms (16.5 MiB/s)
=> bootefi ${kernel_addr_r} ${fdt_addr_r}
-The bootefi command uses the device, the file name, and the file size
-(environment variable 'filesize') of the most recently loaded file when setting
-up the binary for execution. So the UEFI binary should be loaded last.
-
-The environment variable 'bootargs' is passed as load options in the UEFI system
-table. The Linux kernel EFI stub uses the load options as command line
-arguments.
+When booting from a memory location it is unknown from which file it was loaded.
+Therefore the bootefi command uses the device path of the block device partition
+or the network adapter and the file name of the most recently loaded PE-COFF
+file when setting up the loaded image protocol.
Launching a UEFI binary from a FIT image
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~