public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marco Cavallini <arm.linux@koansoftware.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] M5282EVB compilation errors
Date: Thu, 24 Jan 2008 00:03:12 +0100	[thread overview]
Message-ID: <4797C7B0.1040801@koansoftware.com> (raw)
In-Reply-To: <4791E710007FEB4BBF83775D787F462F0603E170@az33exm22.fsl.freescale.net>

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

  reply	other threads:[~2008-01-23 23:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-23 15:18 [U-Boot-Users] M5282EVB compilation errors Marco Cavallini
2008-01-23 17:30 ` Liew Tsi Chung
2008-01-23 23:03   ` Marco Cavallini [this message]
2008-01-23 23:18     ` Liew Tsi Chung
2008-01-23 23:24       ` Marco Cavallini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4797C7B0.1040801@koansoftware.com \
    --to=arm.linux@koansoftware.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox