[U-Boot] [PATCH 14/14] efi_loader: Add distro boot script for removable media

Simon Glass sjg at chromium.org
Sun Jan 31 16:24:08 CET 2016


Hi Alexander,

On 14 January 2016 at 22:06, Alexander Graf <agraf at suse.de> wrote:
> UEFI defines a simple boot protocol for removable media. There we should look
> at the EFI (first GPT FAT) partition and search for /efi/boot/bootXXX.efi with
> XXX being different between different platforms (x86, x64, arm, aa64, ...).
>
> This patch implements a simple version of that protocol for the default distro
> boot script. With this we can automatically boot from valid UEFI enabled
> removable media.
>
> Because from all I could see U-Boot by default doesn't deliver device tree
> blobs with its firmware, we also need to load the dtb from somewhere. Traverse
> the same EFI partition for an fdt file that fits our current board so that
> an OS receives a valid device tree when booted automatically.
>
> Signed-off-by: Alexander Graf <agraf at suse.de>
> ---
>  include/config_distro_bootcmd.h | 47 ++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 46 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

Will this work OK with FITs?

Also, can you add an entry to MAINTAINERS?

Regards,
Simon


More information about the U-Boot mailing list