All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] arm: s5p4418: fix relocation
@ 2023-11-12 14:38 Stefan Bosch
  2023-11-12 14:38 ` [PATCH v1 1/2] common: board_f: change calculation of gd->mon_len to fix s5p4418 reloc Stefan Bosch
  2023-11-12 14:38 ` [PATCH v1 2/2] arm: s5p4418: fix relocation of vectors Stefan Bosch
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Bosch @ 2023-11-12 14:38 UTC (permalink / raw)
  To: Tom Rini; +Cc: u-boot, Stefan Bosch


Fix relocation of u-boot for s5p4418-SoC. I.e. use __image_copy_start
instead of _start to calculate the monitor length. Furthermore use an
adapted version of relocate_vectors for the s5p4418-SoC. Background:
The header (NSIH) used by the 2nd-bootloader (included at the begin of
u-boot.bin) is not loaded into RAM. Therefore _start has to be after
the header and therefore is not equal to __image_copy_start which is
at the begin of the header.


Stefan Bosch (2):
  common: board_f: change calculation of gd->mon_len to fix s5p4418
    reloc
  arm: s5p4418: fix relocation of vectors

 arch/arm/cpu/armv7/s5p4418/Makefile   |  3 +++
 arch/arm/cpu/armv7/s5p4418/relocate.S | 24 ++++++++++++++++++++++++
 common/board_f.c                      |  2 +-
 3 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/cpu/armv7/s5p4418/relocate.S

-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-12 20:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-12 14:38 [PATCH v1 0/2] arm: s5p4418: fix relocation Stefan Bosch
2023-11-12 14:38 ` [PATCH v1 1/2] common: board_f: change calculation of gd->mon_len to fix s5p4418 reloc Stefan Bosch
2023-11-12 20:01   ` Simon Glass
2023-11-12 14:38 ` [PATCH v1 2/2] arm: s5p4418: fix relocation of vectors Stefan Bosch

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.