]> git.ipfire.org Git - people/ms/u-boot.git/commit - net/bootp.c
distro: Add efi pxe boot code
authorAlexander Graf <agraf@suse.de>
Fri, 6 May 2016 19:01:07 +0000 (21:01 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 27 May 2016 19:39:45 +0000 (15:39 -0400)
commit20898ea9340a4fd1631a4057b8de011b9f166255
treed382080b46614d7b86b7aaf41a2eba406187094e
parent210be5c4cb0e1bf22bd0e0438cc8e52e3ccbcf5e
distro: Add efi pxe boot code

Now that we can expose network functionality to EFI applications,
the logical next step is to load them via pxe to execute them as
well.

This patch adds the necessary bits to the distro script to automatically
load and execute EFI payloads. It identifies the dhcp client as a uEFI
capable PXE client, hoping the server returns a tftp path to a workable
EFI binary that we can then execute.

To enable boards that don't come with a working device tree preloaded,
this patch also adds support to load a device tree from the /dtb directory
on the remote tftp server.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/config_distro_bootcmd.h
net/bootp.c