[PATCH 02/10] arm: Update linker scripts to ensure appended device tree is aligned
Tom Rini
trini at konsulko.com
Thu Jan 22 15:23:23 CET 2026
On Thu, Jan 22, 2026 at 12:22:01PM +0100, Marek Vasut wrote:
> On 1/22/26 4:33 AM, Fabio Estevam wrote:
> > On Thu, Jan 22, 2026 at 12:08 AM Fabio Estevam <festevam at gmail.com> wrote:
> >
> > > RV1108 is also an ARMv7 without SPL_SEPARATE_BSS, so I believe it is
> > > also affected by this change.
> >
> > The change below restores the boot:
> >
> > diff --git a/arch/arm/cpu/u-boot-spl.lds b/arch/arm/cpu/u-boot-spl.lds
> > index d780a5060774..fc2b7fcb969f 100644
> > --- a/arch/arm/cpu/u-boot-spl.lds
> > +++ b/arch/arm/cpu/u-boot-spl.lds
> > @@ -40,6 +40,7 @@ SECTIONS
> > .binman_sym_table : {
> > __binman_sym_start = .;
> > KEEP(*(SORT(.binman_sym*)));
> > + . = ALIGN(8);
> > __binman_sym_end = .;
> > }
> >
> > If you agree, I can send a formal patch.
>
> Shouldn't we instead find a way to surely align ONLY the _image_binary_end
> or __bss_end symbols instead of adding random ALIGN(8) into the linker
> scripts ?
We did that, yes. I'm not sure what Fabio is running in to here..
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260122/8ad764dc/attachment.sig>
More information about the U-Boot
mailing list