
On Sat, Apr 8, 2017 at 5:01 AM, André Przywara andre.przywara@arm.com wrote:
On 07/04/17 06:10, Jagan Teki wrote:
Hi Jagan,
Can you check this error on master?
COPY spl/u-boot-spl.bin MKSUNXI spl/sunxi-spl.bin ERROR: File too large! make[1]: *** [spl/sunxi-spl.bin] Error 1 make: *** [spl/u-boot-spl] Error 2
Yeah, this is unfortunately a known issue with older compilers. I believe GCC 5.x and 6.x are fine, but 4.9.x generates too large code to fit in the 32KB. Can you state your compiler version? I believe both the distributions and Linaro should offer up-to-date (cross-)compilers these days.
We usually use buildman setup, so the compiler version is 4.9.0 ~/.buildman-toolchains/gcc-4.9.0-nolibc/
So, can you maintain/resize orangepi_pc2 wrt 4.9.0 ?
thanks!