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

Tom Rini trini at konsulko.com
Mon May 5 20:09:16 CEST 2025


On Fri, May 02, 2025 at 08:10:33PM -0600, Simon Glass wrote:
> Hi Eric,
> 
> On Fri, 2 May 2025 at 14:06, Eric Schikschneit
> <eric.schikschneit at novatechautomation.com> wrote:
> >
> > This will allow arch(s) that use device tree blobs to pad the end of the
> > device tree so they can be modified by board files at run time. This will
> > help prevent errors such as FDT_ERR_NOSPACE from occuring.
> >
> > Signed-off-by: Eric Schikschneit <eric.schikschneit at novatechautomation.com>
> > ---
> >  arch/Kconfig                 | 11 +++++++++++
> >  arch/arc/dts/Makefile        |  6 +++++-
> >  arch/arm/dts/Makefile        |  4 ++++
> >  arch/m68k/dts/Makefile       |  6 +++++-
> >  arch/microblaze/dts/Makefile |  6 +++++-
> >  arch/nios2/dts/Makefile      |  6 +++++-
> >  arch/powerpc/dts/Makefile    |  4 ++++
> >  arch/riscv/dts/Makefile      |  6 +++++-
> >  arch/sandbox/dts/Makefile    |  6 +++++-
> >  arch/x86/dts/Makefile        |  8 +++++++-
> >  10 files changed, 56 insertions(+), 7 deletions(-)
> >
> 
> This is not a board-specific feature. You could try this:
> 
> https://patchwork.ozlabs.org/project/uboot/patch/20241206131113.2865416-3-sjg@chromium.org/

Simon, can you please read your links before sending them to other
people? There's several things wrong with that patch so suggesting
someone else try it and see is not helpful.

Eric, for your platform can you expand the value used by SYS_FDT_PAD or
is that not updating things in the correct spot for your use case?

-- 
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/20250505/252d72d8/attachment.sig>


More information about the U-Boot mailing list