[meta-xilinx] U-Boot compilation problems using external toolchain

Martin Townsend martin.townsend at xsilon.com
Wed Dec 11 04:27:53 PST 2013


Hi,

The current toolchain that comes with SDK 2013.3 builds a U-Boot image 
that always fails to pass the CRC when loading the environment from 
flash.  After taking out the checks the environment is loaded and there 
is nothing wrong with it but U-Boot still fails to read certain 
variables out of the environment.  After hacking the U-Boot config.mk 
file to replace the -Os with -O2 everything works as expected so I 
assume there is a problem with the compiler optimising for speed.

My question is what external toolchain should I by using? I tried the 
toolchain that gets built within the latest Poky distribution but this 
had similar problems with other packages.

Cheers,
Martin.



More information about the meta-xilinx mailing list