On 01/31/2016 04:24 PM, Simon Glass wrote:
Hi Alexander,

On 14 January 2016 at 22:06, Alexander Graf <ag...@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 <ag...@suse.de>
---
  include/config_distro_bootcmd.h | 47 ++++++++++++++++++++++++++++++++++++++++-
  1 file changed, 46 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass <s...@chromium.org>

Will this work OK with FITs?

Uh, why would it not work ok with FITs?

Also, can you add an entry to MAINTAINERS?

Sure :)

Btw, in your move of all cmd files into their own directory you forgot to update the MAINTAINERS file ;)


Alex

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to