[PATCH 02/10] arm: Update linker scripts to ensure appended device tree is aligned

Marek Vasut marek.vasut at mailbox.org
Thu Jan 22 12:22:01 CET 2026


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 ?


More information about the U-Boot mailing list