/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ld: u-boot: warning: allocated section `.bss' not in segment
/bin/bash: line 1: 21220 Segmentation fault /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-non ... none-linux-gnueabi/4.1.2 -lgcc -Map u-boot.map -o u-boot
make: *** [u-boot] Error 139
How fix ?
Follow doc/README.imximage steps.
Make sure your MX51EVK has the boot jumper set correctly to boot from SD card and that the SD card in inserted in the slot at the bottom of the board.
When you select "make mx51evk_config" , it means that U-boot code will generate code specific to MX51EVK hardware.
If you use MX51-3stack or other hardware you will need to add support for it.
There is mx51_3stack support in the U-boot release done by FSL.
Since you are using a mainline U-boot I have two suggestions:
1. Use a more recent toolchain (GCC4.4, GCC4.5)
2. Build as: