efi: Add support for a hello world test program
It is useful to have a basic sanity check for EFI loader support. Add a 'bootefi hello' command which loads HelloWord.efi and runs it under U-Boot. Signed-off-by: Simon Glass <sjg@chromium.org> [agraf: Fix documentation, add unfulfilled kconfig dep] Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
committed by
Alexander Graf
parent
bb1ae55948
commit
c7ae3dfdcc
@@ -310,6 +310,20 @@ Removable media booting (search for /efi/boot/boota{a64,arm}.efi) is supported.
|
||||
Simple use cases like "Plug this SD card into my ARM device and it just
|
||||
boots into grub which boots into Linux", work very well.
|
||||
|
||||
|
||||
Running HelloWord.efi
|
||||
---------------------
|
||||
|
||||
You can run a simple 'hello world' EFI program in U-Boot.
|
||||
Enable the option CONFIG_CMD_BOOTEFI_HELLO.
|
||||
|
||||
Then you can boot into U-Boot and type:
|
||||
|
||||
> bootefi hello
|
||||
|
||||
The 'hello world EFI' program will then run, print a message and exit.
|
||||
|
||||
|
||||
Future work
|
||||
-----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user