1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00
Files
u-boot-megous/cmd
Alexander Graf b9939336d0 efi_loader: Add "bootefi" command
In order to execute an EFI application, we need to bridge the gap between
U-Boot's notion of executing images and EFI's notion of doing the same.

The best path forward IMHO here is to stick completely to the way U-Boot
deals with payloads. You manually load them using whatever method to RAM
and then have a simple boot command to execute them. So in our case, you
would do

  # load mmc 0:1 $loadaddr grub.efi
  # bootefi $loadaddr

which then gets you into a grub shell. Fdt information known to U-boot
via the fdt addr command is also passed to the EFI payload.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
[trini: Guard help text with CONFIG_SYS_LONGHELP]
Signed-off-by: Tom Rini <trini@konsulko.com>
2016-03-15 21:29:47 -04:00
..
2016-03-15 21:29:47 -04:00
2016-02-06 12:00:59 +01:00
2016-02-24 18:44:12 -05:00
2016-03-14 15:34:50 -06:00
2016-03-14 15:34:50 -06:00
2016-03-14 19:21:44 -04:00
2016-01-27 15:55:54 +01:00
2016-01-25 10:39:43 -05:00
2016-02-15 20:58:25 +00:00
2016-02-22 16:21:12 +01:00
2016-01-25 10:39:43 -05:00
2016-02-06 12:00:59 +01:00
2016-03-15 21:29:47 -04:00
2016-02-06 12:00:59 +01:00
2016-03-15 21:29:47 -04:00
2016-01-25 10:39:43 -05:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-01-25 10:39:43 -05:00
2016-02-06 12:00:59 +01:00
2016-02-26 08:53:10 -07:00