BSP requests.

Chris Johns chrisj at rtems.org
Tue Feb 10 03:24:12 UTC 2015


On 10/02/2015 2:16 pm, Alan Cudmore wrote:
> Thanks for getting the BSPs in.
>
> I wanted to try to compare the old and new build systems on the
> raspberry Pi 2, but I'm still working on getting the tools to build.
> Chris may have a clue about this:
> The compiler build finishes ( much faster than the RPI 1 ) but the rtems
> tools build fails. This can be reproduced with just the rtems tools repo
> without trying a complete RSB toolchain build.
> I suspect that something is not getting defined for the ARM host in the
> configure step:
> pi at raspberrypi ~/rtems-tools.git $ ./waf build
> Waf: Entering directory `/home/pi/rtems-tools.git/build'
> [  1/142] libelf_convert.c:
> rtemstoolkit/elftoolchain/libelf/libelf_convert.m4 ->
> build/rtemstoolkit/libelf_convert.c
> [  3/142] libelf_fsize.c:
> rtemstoolkit/elftoolchain/libelf/libelf_fsize.m4 ->
> build/rtemstoolkit/libelf_fsize.c
> [  3/142] libelf_msize.c:
> rtemstoolkit/elftoolchain/libelf/libelf_msize.m4 ->
> build/rtemstoolkit/libelf_msize.c
> [  4/142] native-elf-format:
> rtemstoolkit/elftoolchain/common/native-elf-format ->
> build/rtemstoolkit/elftoolchain/common/native-elf-format.h
> [  5/142] c: rtemstoolkit/elftoolchain/libelf/elf.c ->
> build/rtemstoolkit/elftoolchain/libelf/elf.c.5.o
> [  6/142] c: rtemstoolkit/elftoolchain/libelf/elf_begin.c ->
> build/rtemstoolkit/elftoolchain/libelf/elf_begin.c.5.o
> [  7/142] c: rtemstoolkit/elftoolchain/libelf/elf_cntl.c ->
> build/rtemstoolkit/elftoolchain/libelf/elf_cntl.c.5.o
> [  8/142] c: rtemstoolkit/elftoolchain/libelf/elf_end.c ->
> build/rtemstoolkit/elftoolchain/libelf/elf_end.c.5.o
> ../rtemstoolkit/elftoolchain/libelf/elf.c:34:18: error: ‘unknown’
> undeclared here (not in a function)

This looks to me like the elftoolchain we have does not know how to 
handle the ARM you are on. Have a look at _libelf_config.h.

Are you able to have a look at this for me ?

I do not have a Rpi2 yet.

Thanks
Chris



More information about the devel mailing list