mx51evk+u-boot+Error 139

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mx51evk+u-boot+Error 139

1,277 Views
Mt_
Contributor I

u-boot-2011.09-rc2.tar.bz2

make mx51evk

make

...

/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 ?

Tags (1)
0 Kudos
6 Replies

931 Views
fabio_estevam
NXP Employee
NXP Employee

make mx51evk_config

make u-boot.imx

 

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.

0 Kudos

931 Views
Mt_
Contributor I

I have Freescale Evalution Kit and use mx51_bbg software. How i can make u-boot-2011.09-rc2 for this configuration ?

0 Kudos

931 Views
fabio_estevam
NXP Employee
NXP Employee

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.

 

Regards,

 

Fabio Estevam

0 Kudos

931 Views
Mt_
Contributor I

thanks. U-boot build is success, but not work. Power does not remain in turn on. And no data tramsmit to UART.

As you know, how difference boars mx51evk and mx51-3stack

0 Kudos

931 Views
fabio_estevam
NXP Employee
NXP Employee

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:

make mx51evk_config

make u-boot.imx

 

Regards,

 

Fabio Estevam

0 Kudos

931 Views
daiane_angolini
NXP Employee
NXP Employee

what´s tool chain version you are using?

 

Please, try with 4.4.0

0 Kudos