[PATCH v2] cmd: pxe: add support for FDT overlays

Neil Armstrong narmstrong at baylibre.com
Wed Jan 20 09:47:23 CET 2021


Hi Tom,

On 15/01/2021 00:30, Tom Rini wrote:
> On Tue, Jan 05, 2021 at 09:14:24AM +0100, Neil Armstrong wrote:
>> On 04/01/2021 17:21, Jernej Škrabec wrote:
>>> Dne ponedeljek, 04. januar 2021 ob 15:41:17 CET je Tom Rini napisal(a):
>>>> On Mon, Jan 04, 2021 at 03:33:43PM +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
>>>>>     devicetree /soc-board.dtb
>>>
>>> This should be "fdt /soc-board.dtb",
>>
>>
>> Indeed, thx
>>
>>>
>>>>>     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>
>>>>> Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
>>>
>>> Tested-by: Jernej Skrabec <jernej.skrabec at siol.net>
>>>
>>> With above fix:
>>> Reviewed-by: Jernej Skrabec <jernej.skrabec at siol.net>
> 
> Since I'll almost certainly forget when applying, can I get a v3 with
> the change?  Thanks!
> 

Sure !

Neil

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210120/193d44b3/attachment.sig>


More information about the U-Boot mailing list