[U-Boot] orangepi_pc2: Build error

André Przywara andre.przywara at arm.com
Fri Apr 7 23:31:59 UTC 2017


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.

Cheers,
Andre.



More information about the U-Boot mailing list