summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2022-06-15 20:32:10 -0500
committerAnand Gadiyar <gadiyar@ti.com>2022-06-27 15:37:23 -0500
commitd30d4edc0102e8b9f3c2df0e6f7c4157eabab147 (patch)
tree06205c912dc5e8ccd2a8e7f3fa85672b8899a8c4 /doc
parentcdf5ccde2824cea5f8538f5712a9a6c7afe1a40c (diff)
cmd: pxe: add support for FDT overlays
Upstream commit 69076dff2284ed099cc0583e5e64bd8012d1ab5c This adds support for specifying FDT overlays in an extlinux/pxelinux configuration file. Without this, there is no simple way to apply overlays when the kernel and fdt is loaded by the pxe command. This change adds the 'fdtoverlays' keyword for a label, supporting multiple overlay files to be applied on top of the fdt specified in the 'fdt' or 'devicetree' keyword. Example: label linux kernel /Image fdt /soc-board.dtb fdtoverlays /soc-board-function.dtbo append console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait This code makes usage of a new variable called fdtoverlay_addr_r used to load the overlay files without overwritting anything important. Cc: Jernej Å krabec <jernej.skrabec@siol.net> Cc: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://lists.denx.de/pipermail/u-boot/2019-May/368388.html [robertcnelson@gmail.com: Backport to TI u-boot] Signed-off-by: Robert Nelson <robertcnelson@gmail.com> Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/README.pxe9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/README.pxe b/doc/README.pxe
index 42f913c61f..b67151ca51 100644
--- a/doc/README.pxe
+++ b/doc/README.pxe
@@ -89,6 +89,9 @@ pxe boot
fdt_addr - the location of a fdt blob. 'fdt_addr' will be passed to bootm
command if it is set and 'fdt_addr_r' is not passed to bootm command.
+ fdtoverlay_addr_r - location in RAM at which 'pxe boot' will temporarily store
+ fdt overlay(s) before applying them to the fdt blob stored at 'fdt_addr_r'.
+
pxe file format
===============
The pxe file format is nearly a subset of the PXELINUX file format; see
@@ -148,6 +151,12 @@ kernel <path> - if this label is chosen, use tftp to retrieve the kernel
It useful for overlay selection in pxe file
(see: doc/uImage.FIT/overlay-fdt-boot.txt)
+fdtoverlays <path> [...] - if this label is chosen, use tftp to retrieve the DT
+ overlay(s) at <path>. it will be temporarily stored at the
+ address indicated in the fdtoverlay_addr_r environment variable,
+ and then applied in the load order to the fdt blob stored at the
+ address indicated in the fdt_addr_r environment variable.
+
append <string> - use <string> as the kernel command line when booting this
label.