From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Cavallini Date: Thu, 24 Jan 2008 00:03:12 +0100 Subject: [U-Boot-Users] M5282EVB compilation errors In-Reply-To: <4791E710007FEB4BBF83775D787F462F0603E170@az33exm22.fsl.freescale.net> References: <47975AC6.3050307@koansoftware.com> <4791E710007FEB4BBF83775D787F462F0603E170@az33exm22.fsl.freescale.net> Message-ID: <4797C7B0.1040801@koansoftware.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Liew Tsi Chung ha scritto: > Marco, > >> I'm trying to build u-boot-1.1.6 for ColdFire 5282 but I face to >> the following error ( using gcc version 2.95.3 20010315 m68k-elf- >> tools-20031003.sh ) > > Your compiler is out-of-date, please goto > http://www.codesourcery.com/gnu_toolchains/coldfire/download.html to > download the latest compiler. > > >> Seems that everybody use dBUG+CoLilo with this cpu, so I wonder >> if it is u-boot-1.1.6 for ColdFire 5282 a good choice because I'd >> like to use it. > > No. Please use the latest u-boot version. There are many changes since > then. > > Thanks. > > Regards, > TsiChung Thank you for answering. Now Im'using u-boot-1.3.1 and freescale-coldfire-4.2-47-m68k-elf-i686-pc-linux-gnu.tar.bz2 (or freescale-coldfire-4.2-47-m68k-uclinux-i686-pc-linux-gnu.tar.bz2) I have again errors. Which u-boot and m68k-uclinux version are you using ? make -C cpu/mcf52x2 start.o make[1]: Entering directory `/home/koan/u-boot/u-boot-1.3.1/cpu/mcf52x2' /opt/ktch/freescale-coldfire-4.2/bin/m68k-elf-gcc -D__ASSEMBLY__ -g -Os -ffixed-d7 -msep-data -D__KERNEL__ -DTEXT_BASE=0xFFE00000 -I/home/koan/u-boot/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/ktch/freescale-coldfire-4.2/bin/../lib/gcc/m68k-elf/4.2.1/include -pipe -DCONFIG_M68K -D__M68K__ -mcpu=5282 -c -o start.o start.S start.S: Assembler messages: start.S:171: Error: operands mismatch -- statement `movec %d0,%RAMBAR0' ignored make[1]: *** [start.o] Error 1 make[1]: Leaving directory `/home/koan/u-boot/u-boot-1.3.1/cpu/mcf52x2' make: *** [cpu/mcf52x2/start.o] Error 2 TIA /marco