| #
6dce606b |
| 16-Feb-2019 |
Gervais, Francois <FGervais@distech-controls.com> |
UPSTREAM: cmd/fs: fix build if CMD_BOOTEFI is not set
Fixes: cmd/fs.c:29: undefined reference to `efi_set_bootdev'
Signed-off-by: Francois Gervais <fgervais@distech-controls.com> Change-Id: Ia4d669
UPSTREAM: cmd/fs: fix build if CMD_BOOTEFI is not set
Fixes: cmd/fs.c:29: undefined reference to `efi_set_bootdev'
Signed-off-by: Francois Gervais <fgervais@distech-controls.com> Change-Id: Ia4d6696dde0a95dc7d5a90ac286e94d2d9f06fb1
show more ...
|
| #
c07ad7c0 |
| 11-Apr-2016 |
Alexander Graf <agraf@suse.de> |
efi_loader: Pass file path to payload
The payload gets information on where it got loaded from. This includes the device as well as file path.
So far we've treated both as the same thing and always
efi_loader: Pass file path to payload
The payload gets information on where it got loaded from. This includes the device as well as file path.
So far we've treated both as the same thing and always gave it the device name. However, in some situations grub2 actually wants to find its loading path to find its configuration file.
So let's split the two semantically separte bits into separate structs and pass the loaded file name into our payload when we load it using "load".
Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
| #
0f4060eb |
| 04-Mar-2016 |
Alexander Graf <agraf@suse.de> |
efi_loader: Pass proper device path in on boot
EFI payloads can query for the device they were booted from. Because we have a disconnect between loading binaries and running binaries, we passed in a
efi_loader: Pass proper device path in on boot
EFI payloads can query for the device they were booted from. Because we have a disconnect between loading binaries and running binaries, we passed in a dummy device path so far.
Unfortunately that breaks grub2's logic to find its configuration file from the same device it was booted from.
This patch adds logic to have the "load" command call into our efi code to set the device path to the one we last loaded a binary from.
With this grub2 properly detects where we got booted from and can find its configuration file, even when searching by-partition.
Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
| #
2e192b24 |
| 18-Jan-2016 |
Simon Glass <sjg@chromium.org> |
Remove the cmd_ prefix from command files
Now that they are in their own directory, we can remove this prefix. This makes it easier to find a file since the prefix does not get in the way.
Signed-o
Remove the cmd_ prefix from command files
Now that they are in their own directory, we can remove this prefix. This makes it easier to find a file since the prefix does not get in the way.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Heiko Schocher <hs@denx.de> Acked-by: Stefan Roese <sr@denx.de> Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
show more ...
|