From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Tue, 2 Feb 2016 02:05:12 +0100 Subject: [U-Boot] [PATCH 14/14] efi_loader: Add distro boot script for removable media In-Reply-To: References: <1452834380-164453-1-git-send-email-agraf@suse.de> <1452834380-164453-15-git-send-email-agraf@suse.de> Message-ID: <56B000C8.10702@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 01/31/2016 04:24 PM, Simon Glass wrote: > Hi Alexander, > > On 14 January 2016 at 22:06, Alexander Graf 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 >> --- >> include/config_distro_bootcmd.h | 47 ++++++++++++++++++++++++++++++++++++++++- >> 1 file changed, 46 insertions(+), 1 deletion(-) > Reviewed-by: Simon Glass > > 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