u-boot-brain/lib/efi_loader
Rob Clark 9975fe96b6 efi_loader: add bootmgr
Similar to a "real" UEFI implementation, the bootmgr looks at the
BootOrder and BootXXXX variables to try to find an EFI payload to load
and boot.  This is added as a sub-command of bootefi.

The idea is that the distro bootcmd would first try loading a payload
via the bootmgr, and then if that fails (ie. first boot or corrupted
EFI variables) it would fallback to loading bootaa64.efi.  (Which
would then load fallback.efi which would look for \EFI\*\boot.csv and
populate BootOrder and BootXXXX based on what it found.)

Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2017-09-20 11:08:01 +02:00
..
.gitignore lib: gitignore *.elf and *.so generated by efi_loader 2017-01-09 10:30:24 -05:00
efi_bootmgr.c efi_loader: add bootmgr 2017-09-20 11:08:01 +02:00
efi_boottime.c efi_loader: add bootmgr 2017-09-20 11:08:01 +02:00
efi_console.c efi_loader: implement queueing of the notification function 2017-09-18 23:53:57 +02:00
efi_device_path_to_text.c efi_loader: flesh out device-path to text 2017-09-20 10:32:54 +02:00
efi_device_path.c efi_loader: add device-path utils 2017-09-20 10:31:55 +02:00
efi_disk.c efi_loader: add file/filesys support 2017-09-20 10:43:54 +02:00
efi_file.c efi_loader: add file/filesys support 2017-09-20 10:43:54 +02:00
efi_gop.c efi_loader: GOP fix for no display 2017-08-11 13:49:23 +02:00
efi_image_loader.c efi_loader: add bootmgr 2017-09-20 11:08:01 +02:00
efi_memory.c efi_loader: make pool allocations cacheline aligned 2017-09-20 10:48:09 +02:00
efi_net.c efi_loader: refactor boot device and loaded_image handling 2017-09-20 10:36:56 +02:00
efi_runtime.c efi_loader: efi variable support 2017-09-20 11:00:57 +02:00
efi_smbios.c smbios: Expose in efi_loader as table 2016-10-19 09:01:52 +02:00
efi_variable.c efi_loader: efi variable support 2017-09-20 11:00:57 +02:00
helloworld.c efi: Add support for a hello world test program 2016-11-14 23:24:03 +01:00
Kconfig x86: Enable EFI loader support 2016-11-14 23:24:04 +01:00
Makefile efi_loader: add bootmgr 2017-09-20 11:08:01 +02:00