[U-Boot] sun50i blocking SPL changes
Dr. Philipp Tomsich
philipp.tomsich at theobroma-systems.com
Fri Nov 24 19:47:41 UTC 2017
Jagan, Maxime & Tom,
I have a couple of changes to spl_fit.c queued that we need to get merged to fix some issues for ATF support on Rockchip platforms.
However, due to internal alignment before the ARMv8 vectors, this breaks the sun50i builds (all exceeding their SPL size by up to approx. 1KB), even though I am adding only about a 100 bytes to the size of spl_fit.c.
The change that triggers this is:
https://patchwork.ozlabs.org/patch/813598/
However, the root cause lies in the “.align 11” in exceptions.c, which generates a ‘*fill*’ similar to this one (and we have been lucky enough that this came out as a rather small number up until me increasing the size of spl_fit.o):
*fill* 0x0000000000011214 0x5ec
.text.vectors 0x0000000000011800 0x838 arch/arm/cpu/armv8/built-in.o
The quickest way to resolve would be to drop support for exception vectors on sun50i.
Any other suggestions are also welcome.
Regards,
Philipp.
More information about the U-Boot
mailing list