diff options
author | Simon Glass <sjg@chromium.org> | 2016-11-07 18:47:08 +0300 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2016-11-15 01:24:03 +0300 |
commit | c7ae3dfdccc171543804d6577ee41ab03e7a09bc (patch) | |
tree | ec3307e4f3a686ba6972b1785e6a3f9d488e5af1 /doc | |
parent | bb1ae55948377b6b75d2230fd8fea69106477d81 (diff) | |
download | u-boot-c7ae3dfdccc171543804d6577ee41ab03e7a09bc.tar.xz |
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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.efi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/README.efi b/doc/README.efi index 1fd3f004c3..66259f3e26 100644 --- a/doc/README.efi +++ b/doc/README.efi @@ -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 ----------- |