Skip to contentSkip to conversation

"Porting armboot epxa1db to u-boot question

U-Boot-Users Andrea Sorio 2 participants 2 messages Apr 29, 2003

lore
Share & tools
lore
#0 lore raw

Hi

I'm trying to port the armboot epxa1db version to U-Boot.

I made all the change necessary (I guess :-)). I can compile it but
i'm not able to link it. The linker reports these messages:

arm-linux-ld -Bstatic -T /home/sorio/Devel/UBoot/u-boot-0.3.0/board/epxa1db/u-boot.lds -Ttext
0x00000 cpu/epxa/start.o /home/sorio/Devel/UBoot/u-boot-0.3.0/tools/quartus/libraries/software/boot/libboot_xa_ads.a\
--start-group board/epxa1db/libepxa1db.a cpu/epxa/libepxa.a
lib_arm/libarm.a fs/jffs2/libjffs2.a fs/fdos/libfdos.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a
post/libpost.a post/cpu/libcpu.a common/libcommon.a
lib_generic/libgeneric.a --end-group \
-Map u-boot.map -o u-boot
arm-linux-ld: Error: interrupts.o compiled for EABI version 0, whereas
u-boot is compiled for version 1
File format not recognized: failed to merge target specific data of file cpu/epxa/libepxa.a(interrupts.o)
arm-linux-ld: Error: board.o compiled for EABI version 0, whereas u-boot
is compiled for version 1
File format not recognized: failed to merge target specific data of file lib_arm/libarm.a(board.o)
arm-linux-ld: Error: net.o compiled for EABI version 0, whereas u-boot
is compiled for version 1
File format not recognized: failed to merge target specific data of file net/libnet.a(net.o)
arm-linux-ld: Error: bootp.o compiled for EABI version 0, whereas u-boot
is compiled for version 1
File format not recognized: failed to merge target specific data of file net/libnet.a(bootp.o)
arm-linux-ld: Error: rarp.o compiled for EABI version 0, whereas u-boot
is compiled for version 1
File format not recognized: failed to merge target specific data of file net/libnet.a(rarp.o)
........

I'm not able to understand this error.
Could someone be so kind as to tell me a hint?

Thank you in advance

Andrea Sorio

Signature · 6 lines
Andrea Sorio
Hardware & Software Engineer
Free Consultant
http://www.cocay.it
email: a.sorio at cocay.it
Phone: 348 8703449
#1 lore raw

Dear Andrea,

Quoted 5 lines · in message <[email protected]> you wrote:

I'm trying to port the armboot epxa1db version to U-Boot.

I made all the change necessary (I guess :-)). I can compile it but
i'm not able to link it. The linker reports these messages:

Can you compile and link the code for any other ARM board using your tool chain? Try running "./MAKEALL arm" ...

If this works, you have to look at your own code. If this gives the same problems you can try using another set of tools (for example our ELDK :-)

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
He who hesitates is not only lost, but miles from the next exit.