Skip to contentSkip to conversation

imx8: Jump from alias to OCRAM address at SPL init

PATCH New sbabic at denx.de 1 participant 1 message Oct 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 imx8: Jump from alias to OCRAM address at SPL init

Quoted 10 lines

When running SPL on iMX8, the A core starts at address 0
which is a alias to OCRAM 0x100000.
The alias only map first 96KB of OCRAM, so this require the
SPL size can't beyond 96KB. But when using SPL DM, the size increase significantly and may exceed 96KB.
So to fix the problem, we will change SPL linker address to OCRAM address 0x100000. And then jump to the absolute address not the PC relative address for entering OCRAM.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================