[PATCH] armv8: u-boot-spl.lds: Place binman symbols at end of binary
Tom Rini
trini at konsulko.com
Wed Jan 21 16:16:50 CET 2026
On Mon, Jan 12, 2026 at 11:58:29PM +0000, Jonas Karlman wrote:
> It can be useful in xPL to access symbols from binman, such as the
> offset/position and size of a binman entry.
>
> Place these binman symbols together at the end of the xPL binary for
> ARMv8, similar to ARM and RISC-V.
>
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
> ---
> arch/arm/cpu/armv8/u-boot-spl.lds | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/cpu/armv8/u-boot-spl.lds b/arch/arm/cpu/armv8/u-boot-spl.lds
> index c4f83ec9cfc4..4c7252f942c9 100644
> --- a/arch/arm/cpu/armv8/u-boot-spl.lds
> +++ b/arch/arm/cpu/armv8/u-boot-spl.lds
> @@ -54,6 +54,13 @@ SECTIONS
> KEEP(*(SORT(__u_boot_list*)));
> } >.sram
>
> + .binman_sym_table : {
> + . = ALIGN(8);
> + __binman_sym_start = .;
> + KEEP(*(SORT(.binman_sym*)));
> + __binman_sym_end = .;
> + } > .sram
> +
> . = ALIGN(8);
> __image_copy_end = .;
> _end = .;
This needs to be rebased and reworked to take in to account commit
8b0ebe054bb3 ("arm: Update linker scripts to ensure appended device tree
is aligned"), thanks.
--
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/20260121/3203df0d/attachment.sig>
More information about the U-Boot
mailing list