u-boot/arch/riscv/cpu
Yao Zi d3c597f08a riscv: Provide __image_copy_{start_end} symbols in linkerscript
Binman looks for __image_copy_start to determine the base address of an
entry if elf-base-sym isn't specified, which is missing in RISC-V port.
This causes binman skips RISC-V SPL entries without filling addresses
into its .binman_sym_table section.

This patch defines __image_copy_start in linkerscript of both SPL and
proper U-Boot to ensure binman_sym functions correctly with the default
binman.dtsi. The paired symbol, __image_copy_end, is introduced as well
for completeness.

Signed-off-by: Yao Zi <ziyao@disroot.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2025-04-25 16:31:29 +08:00
..
andes andes: Use UCCTLCOMMAND instead of MCCTLCOMMAND 2024-05-30 16:01:13 +08:00
ast2700 riscv: Add AST2700 SoC initial platform support 2024-09-11 20:35:03 +08:00
cv1800b riscv: cache: Implement dcache for cv1800b 2024-04-09 11:30:02 +08:00
fu540 arch: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:47 -06:00
fu740 arch: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:47 -06:00
generic riscv: cpu: generic: fallback to generic cleanup_before_linux() 2025-02-03 15:26:06 +08:00
jh7110 riscv: cpu: jh7110: fallback to generic cleanup_before_linux() 2025-02-03 15:26:06 +08:00
k1 Add reset config options for k1 2025-03-25 16:34:50 +08:00
k230 riscv: cpu: k230: Add support for Canaan Kendryte K230 SoC 2025-01-16 15:55:27 +08:00
cpu.c riscv: add a generic implementation for cleanup_before_linux() 2025-02-03 15:26:06 +08:00
Makefile riscv: Move trap handler codes to mtrap.S 2018-12-18 09:56:27 +08:00
mtrap.S riscv: Align the trap handler to 64 bytes 2023-11-02 15:15:46 +08:00
start.S spl: Use CONFIG_VAL() to obtain the SPL stack 2025-03-13 10:36:10 -06:00
u-boot-spl.lds riscv: Provide __image_copy_{start_end} symbols in linkerscript 2025-04-25 16:31:29 +08:00
u-boot.lds riscv: Provide __image_copy_{start_end} symbols in linkerscript 2025-04-25 16:31:29 +08:00