All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Re: [uClinux-dev] u-boot pre-loader and bdm helper files for M5282EVB
       [not found] <3FF1A717.2090602@metrowerks.com>
@ 2004-01-06  2:26 ` Stuart Wood
  2004-01-06 16:10   ` Bernhard Kuhn
  0 siblings, 1 reply; 3+ messages in thread
From: Stuart Wood @ 2004-01-06  2:26 UTC (permalink / raw)
  To: u-boot

Bernhard, 

How did you adapt the templet files so they could compile under gcc?
Specifically the assembly files. I'm trying to use the modified templet
files provided by Arrow for their M5282ARB board, but the assembler 
gives errors like;

mcf5xxx.S:72: Error: operands mismatch -- statement `move.l sp,al' ignored

Also what goes the -r option mean in 

m68k-elf-gcc -r -o mcf5xxx.o mcf5xxx.s

Thanks for any help.

Stuart Wood


On Tuesday 30 December 2003 11:25 am, Bernhard Kuhn wrote:

> Attached, you will find the pre-bootloader and the bdm related
> helper files as described in doc/README.coldfire for the M5282EVB.
>
> Please note that some files in the attached tarballs are taken from
> the "MCF5282/MCF5280 processor initalization templates" package
> provided by Motorola at

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] Re: [uClinux-dev] u-boot pre-loader and bdm helper files for M5282EVB
  2004-01-06  2:26 ` [U-Boot-Users] Re: [uClinux-dev] u-boot pre-loader and bdm helper files for M5282EVB Stuart Wood
@ 2004-01-06 16:10   ` Bernhard Kuhn
  0 siblings, 0 replies; 3+ messages in thread
From: Bernhard Kuhn @ 2004-01-06 16:10 UTC (permalink / raw)
  To: u-boot

Stuart Wood wrote:

> mcf5xxx.S:72: Error: operands mismatch -- statement `move.l sp,al' ignored

I didn't used that file for the 5282 pre-bootloader. I adopted
boot.S from the 5272 pre-bootloader, instead.


> Also what goes the -r option mean in 
> 
> m68k-elf-gcc -r -o mcf5xxx.o mcf5xxx.s

"-o" would add startfiles and libc (which is
certainly not what you want in this context),
so you need to add "-r" to prevent that.

regards

Bernhard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] Re: [uClinux-dev] u-boot pre-loader and bdm helper files for M5282EVB
@ 2004-01-06 20:34 liang a lei
  0 siblings, 0 replies; 3+ messages in thread
From: liang a lei @ 2004-01-06 20:34 UTC (permalink / raw)
  To: u-boot

>mcf5xxx.S:72: Error: operands mismatch -- statement `move.l sp,al' ignored
it's "a1"(a-one) or "al", do you have typing mistake
>
>Also what goes the -r option mean in 
>
>m68k-elf-gcc -r -o mcf5xxx.o mcf5xxx.s
"-r(elocation)" means object file mcf5xxx.o will be able to be relocated 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-01-06 20:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <3FF1A717.2090602@metrowerks.com>
2004-01-06  2:26 ` [U-Boot-Users] Re: [uClinux-dev] u-boot pre-loader and bdm helper files for M5282EVB Stuart Wood
2004-01-06 16:10   ` Bernhard Kuhn
2004-01-06 20:34 liang a lei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.