[PATCH v2 8/8] armv8: u-boot-spl.lds: mark __image_copy_start as symbol

Simon Glass sjg at chromium.org
Tue Jun 28 15:37:41 CEST 2022


From: Peng Fan <peng.fan at nxp.com>

In arch/arm/lib/sections.c there is below code:
char __image_copy_start[0] __section(".__image_copy_start");
But actually 'objdump -t spl/u-boot-spl' not able to find out
symbol '__image_copy_start' for binman update image-pos/size.

So update link file

Signed-off-by: Peng Fan <peng.fan at nxp.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak at gmail.com>
---
This is from Peng's i.MX8M binman symbols series [1], picked it onto
this series because it made more sense as a binman symbols fix.

[1] armv8: u-boot-spl.lds: mark __image_copy_start as symbol
https://lore.kernel.org/u-boot/20220603071715.15212-5-peng.fan@oss.nxp.com/

Changes in v2:
- Pick Peng's __image_copy_start fix

 arch/arm/cpu/armv8/u-boot-spl.lds | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list