[U-Boot] support for the coldfire M5234BCC

Richard Cochran richardcochran at gmail.com
Wed Nov 23 07:34:15 CET 2011


On Tue, Nov 22, 2011 at 07:34:01AM +0100, Christian Riesch wrote:
> Hi Richard,
> Freescale's website [1] states that this board was similar to the
> M5235BCCKIT and there is a M5235EVB configuration in boards.cfg. Could this
> be your board?

Yes that looks close enough, but it does not compile:

$ export CROSS_COMPILE=/home/richard/uClinux/usr/local/bin/m68k-uclinux-
$ ${CROSS_COMPILE}gcc -v

  Using built-in specs.
  Target: m68k-uclinux
  Configured with: /home/gerg/src/gnu/m68k-elf/autobuild/gcc-4.2.4/configure --target=m68k-uclinux --with-headers=/home/gerg/src/gnu/m68k-elf/autobuild/linux-2.6.25/include --enable-multilib --disable-shared --enable-languages=c,c++
  Thread model: single
  gcc version 4.2.4

$ make M5235EVB_config

  Configuring for M5235EVB - Board: M5235EVB, Options: SYS_TEXT_BASE=0xFFE00000

$ make
  ...
  make -C arch/m68k/cpu/mcf523x start.o
  make[1]: Entering directory `/home/richard/git/u-boot/arch/m68k/cpu/mcf523x'
  /home/richard/uClinux/usr/local/bin/m68k-uclinux-gcc   -D__ASSEMBLY__ -g  -Os   -ffunction-sections -fdata-sections -ffixed-d7 -msep-data -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0xFFE00000 -I/home/richard/git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /home/richard/uClinux/usr/local/bin/../lib/gcc/m68k-uclinux/4.2.4/include -pipe  -DCONFIG_M68K -D__M68K__ -fPIC -DCONFIG_SYS_TEXT_BASE=0xFFE00000   -o start.o start.S -c
  start.S: Assembler messages:
  start.S:136: Error: operands mismatch -- statement `movec %d0,%RAMBAR1' ignored
  start.S:143: Error: operands mismatch -- statement `movec %d0,%ACR0' ignored
  start.S:144: Error: operands mismatch -- statement `movec %d0,%ACR1' ignored
  make[1]: *** [start.o] Error 1
  make[1]: Leaving directory `/home/richard/git/u-boot/arch/m68k/cpu/mcf523x'
  make: *** [arch/m68k/cpu/mcf523x/start.o] Error 2


Anyone know what this means?

Thanks,
Richard



More information about the U-Boot mailing list