From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 16 Mar 2016 22:02:33 -0400 Subject: [U-Boot] [U-Boot, v6, 24/30] efi_loader: Add distro boot script for removable media In-Reply-To: <1457565975-178721-1-git-send-email-agraf@suse.de> References: <1457565975-178721-1-git-send-email-agraf@suse.de> Message-ID: <20160317020233.GF23166@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Mar 10, 2016 at 12:26:15AM +0100, 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 > Reviewed-by: Simon Glass 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: