From: Peng Fan <peng.fan@oss.nxp.com>
To: Jonas Karlman <jonas@kwiboo.se>
Cc: Tom Rini <trini@konsulko.com>, u-boot@lists.denx.de
Subject: Re: [PATCH v2] armv8: u-boot-spl.lds: Place binman symbols at end of binary
Date: Mon, 26 Jan 2026 10:13:27 +0800 [thread overview]
Message-ID: <aXbNxxNqePSlVUeq@shlinux89> (raw)
In-Reply-To: <20260122172057.3212673-1-jonas@kwiboo.se>
Hi Jonas,
On Thu, Jan 22, 2026 at 05:20:54PM +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.
Would you please disclose more details? What it will be used for?
Thanks,
Peng
>
>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@kwiboo.se>
>---
>v2: Rebase on master after "arm: Update linker scripts to ensure
> appended device tree is aligned".
>---
> arch/arm/cpu/armv8/u-boot-spl.lds | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
>diff --git a/arch/arm/cpu/armv8/u-boot-spl.lds b/arch/arm/cpu/armv8/u-boot-spl.lds
>index d9963846c4f4..b732133ce76d 100644
>--- a/arch/arm/cpu/armv8/u-boot-spl.lds
>+++ b/arch/arm/cpu/armv8/u-boot-spl.lds
>@@ -55,6 +55,14 @@ SECTIONS
> . = ALIGN(8);
> } >.sram
>
>+ .binman_sym_table : {
>+ . = ALIGN(8);
>+ __binman_sym_start = .;
>+ KEEP(*(SORT(.binman_sym*)));
>+ __binman_sym_end = .;
>+ . = ALIGN(8);
>+ } > .sram
>+
> __image_copy_end = .;
> _end = .;
> _image_binary_end = .;
>--
>2.52.0
>
next prev parent reply other threads:[~2026-01-26 2:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-22 17:20 [PATCH v2] armv8: u-boot-spl.lds: Place binman symbols at end of binary Jonas Karlman
2026-01-26 2:13 ` Peng Fan [this message]
2026-01-26 22:15 ` Jonas Karlman
2026-01-26 5:15 ` Simon Glass
2026-01-28 21:54 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aXbNxxNqePSlVUeq@shlinux89 \
--to=peng.fan@oss.nxp.com \
--cc=jonas@kwiboo.se \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.