[PATCH 02/10] arm: Update linker scripts to ensure appended device tree is aligned
Fabio Estevam
festevam at gmail.com
Fri Jan 23 01:25:52 CET 2026
On Thu, Jan 22, 2026 at 8:24 PM Tom Rini <trini at konsulko.com> wrote:
> So with SEPARATE_BSS the dtb is found where it's expected to be? But
> that then brings us back to what I'm saying..
I retried with SEPARATE_BSS, and it also does not boot. Sorry for the confusion.
> What's appending the dtb there? With SPL_SEPARATE_BSS off it needs to be
> at __bss_end, and that's the same location for me, in both cases.
Correct: spl/u-boot-spl.map shows:
0x0000000000015f10 __bss_end = .
So the dtb should be present at 0x15f10.
The commit in the Subject is what appends 4 bytes, and the binary is
now shifted, causing the boot failure:
hexdump -Cv spl/u-boot-spl.bin | grep 'd0 0d fe ed'
00015f10 00 00 00 00 d0 0d fe ed 00 00 0a 43 00 00 00 38 |...........C...8|
More information about the U-Boot
mailing list