All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH v3] cmd: pxe: add support for FDT overlays
Date: Wed, 27 Jan 2021 14:22:22 -0500	[thread overview]
Message-ID: <20210127192222.GL7530@bill-the-cat> (raw)
In-Reply-To: <20210120085453.2783678-1-narmstrong@baylibre.com>

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@konsulko.com>
> Cc: Andre Heider <a.heider@gmail.com>
> Cc: Jernej ?krabec <jernej.skrabec@siol.net>
> Cc: Jonas Karlman <jonas@kwiboo.se>
> Tested-by: Jernej ?krabec <jernej.skrabec@siol.net>
> Reviewed-by: Jernej ?krabec <jernej.skrabec@siol.net>
> Signed-off-by: Neil Armstrong <narmstrong@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>

      reply	other threads:[~2021-01-27 19:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20  8:54 [PATCH v3] cmd: pxe: add support for FDT overlays Neil Armstrong
2021-01-27 19:22 ` Tom Rini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210127192222.GL7530@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.