[PATCH v3] cmd: pxe: add support for FDT overlays
Tom Rini
trini at konsulko.com
Wed Jan 27 20:22:22 CET 2021
On Wed, Jan 20, 2021 at 09:54:53AM +0100, Neil Armstrong wrote:
> 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: Tom Rini <trini at konsulko.com>
> Cc: Andre Heider <a.heider at gmail.com>
> Cc: Jernej Škrabec <jernej.skrabec at siol.net>
> Cc: Jonas Karlman <jonas at kwiboo.se>
> Tested-by: Jernej Škrabec <jernej.skrabec at siol.net>
> Reviewed-by: Jernej Škrabec <jernej.skrabec at siol.net>
> Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210127/cce8d716/attachment.sig>
More information about the U-Boot
mailing list