[U-Boot-Users] Re: [uClinux-dev] u-boot pre-loader and bdm helper files for M5282EVB

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

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
participants (2)
-
Bernhard Kuhn
-
Stuart Wood