[U-Boot] [U-Boot, v5, 30/30] efi_loader: Pass proper device path in on boot

Tom Rini trini at konsulko.com
Thu Mar 17 03:03:18 CET 2016


On Fri, Mar 04, 2016 at 01:10:14AM +0100, Alexander Graf wrote:

> 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 at suse.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160316/be3ca1a1/attachment.sig>


More information about the U-Boot mailing list