[PATCH 02/10] arm: Update linker scripts to ensure appended device tree is aligned
Fabio Estevam
festevam at gmail.com
Thu Jan 22 20:19:55 CET 2026
On Thu, Jan 22, 2026 at 4:10 PM Tom Rini <trini at konsulko.com> wrote:
> Can you please share it with my off-list maybe? I'm still confused as to
My work-in-progress tree is at:
https://github.com/fabioestevam/u-boot/commits/rv1103_prep/
This tree boots fine. After rebasing these patches to the top of the
tree, it fails to boot.
> Well, where is the dtb ending up in the resulting binary? The addresses
> are aligned correctly, but the dtb isn't where it's supposed to be,
> where is it instead? A challenge here is that I could only check the
> linker script used by about half of the 32bit ARM boards
> (arch/arm/mach-omap2/u-boot-spl.lds) and not the one used by the other
> half (arch/arm/cpu/u-boot-spl.lds). The initial error you reported makes
> me wonder if we can somehow unify these two afterall, which would be
> good in general to do.
The spl/u-boot-spl.bin file is 4 bytes longer in the failing case.
Let me know if you need any further clarification or if you'd like me
to test something.
Thanks
More information about the U-Boot
mailing list