Re: [U-Boot] mx51+ide+problem

On 09/26/2011 12:15 PM, Georgy Obraztsov wrote:
Ok. I do queston another words.
Please stop sending only private e-mails. You must *always* send your question to the ML, too.
I have i.mx51 processor with Compact Flash interface connected. How i can compile u-boot for this configuration. U-boot-2011.09-rc1 does not rules in make file for i.mx51.
If you have a custom board, you have to *port* u-boot to your board, taking as reference one of the boards officially maintained in u-boot that make use of this processor. If you simply grep into the include/configs directory, you will find 3 boards:
mx51evk vision2 efikamx
The last one uses the PATA driver to access an hardisk - as you need to access the CF. Do not expect everything is working without matching the code with your hardware.
Best regards, Stefano Babic

u-boot-2011.09-rc2.tar.bz2 make mx51evk (default config) 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 ?

On 09/28/2011 08:04 AM, Georgy Obraztsov wrote:
u-boot-2011.09-rc2.tar.bz2 make mx51evk (default config) 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
Your toolchain is too old, this could be a reason. However, you have not shown the full error message. I see the warning, but the real error war before.
Building mx51evk is successfully on my site:
./MAKEALL mx51evk Configuring for mx51evk - Board: mx51evk, Options: IMX_CONFIG=board/freescale/mx51evk/imximage.cfg text data bss dec hex filename 202684 4068 218468 425220 67d04 ./u-boot
--------------------- SUMMARY ---------------------------- Boards compiled: 1 ----------------------------------------------------------
Best regards, Stefano Babic
participants (2)
-
Georgy Obraztsov
-
Stefano Babic