[PATCH 2/2] Add MIPS arch support to barebox

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Jun 28 01:11:34 EDT 2011


On 21:13 Mon 27 Jun     , Antony Pavlov wrote:
> Only supported board is qemu malta:
>   * barebox works in uncached memory;
>   * no peripherals support, but serial port.
Hi

I try to compile but does not work on mipsel toolchains

please take a look on here
http://git.jcrosoft.org/git?p=barebox.git;a=shortlog;h=refs/heads/mips

the work start by Shinya Kuribayashi to support mips and barebox

maybe you can merge both

# make O=build/malta -j9 -s
  GEN     /opt/work/barebox/build/malta/Makefile
common/Kconfig:91:warning: 'TEXT_BASE': number is invalid
  GEN     /opt/work/barebox/build/malta/Makefile
  CHK     include/generated/version.h
  UPD     include/generated/version.h
  CHK     include/generated/utsrelease.h
  SYMLINK include/config.h -> arch/mips/boards/malta//config.h
  SYMLINK include/asm -> include/asm-mips
  UPD     include/generated/utsrelease.h
  Using /opt/work/barebox as source for kernel
/opt/work/barebox/common/memory.c:33: warning: no previous prototype for 'mem_malloc_start'
/opt/work/barebox/common/memory.c:38: warning: no previous prototype for 'mem_malloc_end'
/opt/work/barebox/common/memory.c:43: warning: no previous prototype for 'mem_malloc_init'
/opt/work/barebox/common/memory.c:63: warning: no previous prototype for 'sbrk'
/opt/work/barebox/lib/string.c:437: warning: no previous prototype for 'bcopy'
mipsel-unknown-linux-gnu-ld: drivers/serial/serial_ns16550.o: compiled for a big endian system and target is little endian
mipsel-unknown-linux-gnu-ld: drivers/serial/serial_ns16550.o: endianness incompatible with that of the selected emulation
mipsel-unknown-linux-gnu-ld: failed to merge target specific data of file drivers/serial/serial_ns16550.o
make[3]: *** [drivers/serial/built-in.o] Error 1
make[2]: *** [drivers/serial] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [drivers] Error 2
make[1]: *** Waiting for unfinished jobs....
mipsel-unknown-linux-gnu-ld: net/dhcp.o: compiled for a big endian system and target is little endian
mipsel-unknown-linux-gnu-ld: net/dhcp.o: endianness incompatible with that of the selected emulation
mipsel-unknown-linux-gnu-ld: failed to merge target specific data of file net/dhcp.o
mipsel-unknown-linux-gnu-ld: net/eth.o: compiled for a big endian system and target is little endian
mipsel-unknown-linux-gnu-ld: net/eth.o: endianness incompatible with that of the selected emulation
mipsel-unknown-linux-gnu-ld: failed to merge target specific data of file net/eth.o
mipsel-unknown-linux-gnu-ld: net/net.o: compiled for a big endian system and target is little endian
mipsel-unknown-linux-gnu-ld: net/net.o: endianness incompatible with that of the selected emulation
mipsel-unknown-linux-gnu-ld: failed to merge target specific data of file net/net.o
mipsel-unknown-linux-gnu-ld: net/tftp.o: compiled for a big endian system and target is little endian
mipsel-unknown-linux-gnu-ld: net/tftp.o: endianness incompatible with that of the selected emulation
mipsel-unknown-linux-gnu-ld: failed to merge target specific data of file net/tftp.o
mipsel-unknown-linux-gnu-ld: net/ping.o: compiled for a big endian system and target is little endian
mipsel-unknown-linux-gnu-ld: net/ping.o: endianness incompatible with that of the selected emulation
mipsel-unknown-linux-gnu-ld: failed to merge target specific data of file net/ping.o
mipsel-unknown-linux-gnu-ld: net/netconsole.o: compiled for a big endian system and target is little endian
mipsel-unknown-linux-gnu-ld: net/netconsole.o: endianness incompatible with that of the selected emulation
mipsel-unknown-linux-gnu-ld: failed to merge target specific data of file net/netconsole.o
make[2]: *** [net/built-in.o] Error 1
make[1]: *** [net] Error 2
mipsel-unknown-linux-gnu-ld: common/hush.o: compiled for a big endian system and target is little endian
mipsel-unknown-linux-gnu-ld: common/hush.o: endianness incompatible with that of the selected emulation
mipsel-unknown-linux-gnu-ld: failed to merge target specific data of file common/hush.o
mipsel-unknown-linux-gnu-ld: common/date.o: compiled for a big endian system and target is little endian
mipsel-unknown-linux-gnu-ld: common/date.o: endianness incompatible with that of the selected emulation
mipsel-unknown-linux-gnu-ld: failed to merge target specific data of file common/date.o
mipsel-unknown-linux-gnu-ld: common/environment.o: compiled for a big endian system and target is little endian
mipsel-unknown-linux-gnu-ld: common/environment.o: endianness incompatible with that of the selected emulation
mipsel-unknown-linux-gnu-ld: failed to merge target specific data of file common/environment.o
mipsel-unknown-linux-gnu-ld: common/complete.o: compiled for a big endian system and target is little endian
mipsel-unknown-linux-gnu-ld: common/complete.o: endianness incompatible with that of the selected emulation
mipsel-unknown-linux-gnu-ld: failed to merge target specific data of file common/complete.o
mipsel-unknown-linux-gnu-ld: common/poller.o: compiled for a big endian system and target is little endian
mipsel-unknown-linux-gnu-ld: common/poller.o: endianness incompatible with that of the selected emulation
mipsel-unknown-linux-gnu-ld: failed to merge target specific data of file common/poller.o
mipsel-unknown-linux-gnu-ld: common/memory.o: compiled for a big endian system and target is little endian
mipsel-unknown-linux-gnu-ld: common/memory.o: endianness incompatible with that of the selected emulation
mipsel-unknown-linux-gnu-ld: failed to merge target specific data of file common/memory.o
mipsel-unknown-linux-gnu-ld: common/dlmalloc.o: compiled for a big endian system and target is little endian
mipsel-unknown-linux-gnu-ld: common/dlmalloc.o: endianness incompatible with that of the selected emulation
mipsel-unknown-linux-gnu-ld: failed to merge target specific data of file common/dlmalloc.o
mipsel-unknown-linux-gnu-ld: common/clock.o: compiled for a big endian system and target is little endian
mipsel-unknown-linux-gnu-ld: common/clock.o: endianness incompatible with that of the selected emulation
mipsel-unknown-linux-gnu-ld: failed to merge target specific data of file common/clock.o

Best Regards,
J.



More information about the barebox mailing list