u-boot pre-loader and bdm helper files for M5282EVB
A message that is not in the archive (sent off-list or not yet received): [email protected]
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
Quoted 6 lines · Bernhard Kuhn
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
Quoted 1 line · Stuart Wood
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.
Quoted 3 lines
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