diff options
author | Simon Glass <sjg@chromium.org> | 2022-04-24 23:31:16 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-25 10:00:04 -0400 |
commit | dab2c2859b68ad04f276555812ecfbb25680cc61 (patch) | |
tree | 634bbacc3713cc4f31a203b271d4d16e8403a84e /boot/Kconfig | |
parent | 4fd8d077cb6986385fa8af1b9b11f0fb2cdeb609 (diff) | |
download | u-boot-dab2c2859b68ad04f276555812ecfbb25680cc61.tar.gz |
bootstd: Add an implementation of distro PXE boot
Add a bootmeth driver which handles distro boot from a network device, so
we can boot a bootflow using this commonly used mechanism.
In effect, this provides the same functionality as the 'pxe' command
and shares the same code. But the interface into it is via a bootmeth.
For now this requires the 'pxe' command be enabled. Future work may tidy
this up so that it can be used without CONFIG_CMDLINE being enabled.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/Kconfig')
-rw-r--r-- | boot/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index d34c31303dc..9e02a7549af 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -339,6 +339,16 @@ config BOOTMETH_DISTRO This provides a way to try out standard boot on an existing boot flow. +config BOOTMETH_DISTRO_PXE + bool "Bootdev support for distro boot over network" + depends on CMD_PXE && CMD_NET && DM_ETH + default y + help + Enables support for distro boot using bootdevs. This makes the + bootdevs look for a 'extlinux/extlinux.conf' on the tftp server. + + This provides a way to try out standard boot on an existing boot flow. + endif config LEGACY_IMAGE_FORMAT |