Home
last modified time | relevance | path

Searched hist:"74522 c898b35e641cde9ea6a20625a3d80e56e53" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dconfig_distro_bootcmd.h74522c898b35e641cde9ea6a20625a3d80e56e53 Wed Mar 09 23:26:15 UTC 2016 Alexander Graf <agraf@suse.de> efi_loader: Add distro boot script for removable media

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@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>