[PATCH] [RFC]: dtc: Add Kconfig option to pad device tree blob

Tom Rini trini at konsulko.com
Tue May 6 18:58:00 CEST 2025


On Tue, May 06, 2025 at 12:49:55PM +0000, Eric Schikschneit wrote:

> Hello Tom,
> 
> The link that Simon sent does not add padding at the end. I have tried
> the approach with SYS_FDT_PAD first and my platform (imx6) still has
> issues when trying to modify the device tree from the board file. It
> still returns FDT_ERR_NOSPACE with that option. The commit I sent
> simply adds a Kconfig option to something we are already doing
> (passing the -p flag) on multiple platforms behind the scenes to the
> device tree compiler. I have tested and proven on my platform that
> this allows live modification of the device tree in the board file.

Ah, that's a good data point, thanks. Simon has a good follow-up
question about fdt_high being set to 0xffffffff and that being the root
cause (and so, undo that) being the other solution. And then in turn it
perhaps being past time for me to forcefully undo that on the boards
that snuck in that setting ages ago.

-- 
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/20250506/2ca04f0a/attachment.sig>


More information about the U-Boot mailing list