Problem building BSP for TMS570 HDK

Florian Feldbauer florian at ep1.rub.de
Thu Jun 9 11:29:33 UTC 2016


Hey all,

I'm currently trying to build RTEMS for my TMS570 HDK.
First I downloaded and build the source-builder package from
git://git.rtems.org/rtems-source-builder.git

Then I tried to build the TMS570-bsp from
https://github.com/AoLaD/rtems/tree/tms570-bsp

For configuration I used
./configure --target=arm-rtems4.12 
--enable-rtemsbsp=tms570ls3137_hdk_sdram --enable-tests=samples 
--enable-posix

But the build fails with

arm-rtems4.12-gcc --pipe -DHAVE_CONFIG_H   -I../../.. -I../../../../cpukit/../../../tms570ls3137_hdk_sdram/lib/include  -DASM -march=armv7-r -mthumb -mbig-endian -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -ggdb -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -march=armv7-r -mthumb -mbig-endian -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -ggdb -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT libscorecpu_a-cpu_asm.o -MD -MP -MF .deps/libscorecpu_a-cpu_asm.Tpo -c -o libscorecpu_a-cpu_asm.o `test -f 'cpu_asm.S' || echo '../../../../../../../../tms570-bsp/c/src/../../cpukit/score/cpu/arm/'`cpu_asm.S
In file included from /opt/rtems/4.12/arm-rtems4.12/include/sys/types.h:68:0,
                  from /opt/rtems/4.12/arm-rtems4.12/include/sys/time.h:43,
                  from ../../../../cpukit/../../../tms570ls3137_hdk_sdram/lib/include/rtems/score/timestamp.h:43,
                  from ../../../../cpukit/../../../tms570ls3137_hdk_sdram/lib/include/rtems/score/thread.h:87,
                  from ../../../../cpukit/../../../tms570ls3137_hdk_sdram/lib/include/rtems/score/threadimpl.h:24,
                  from ../../../../../../../../tms570-bsp/c/src/../../cpukit/score/cpu/arm/__tls_get_addr.c:19:
../../../../cpukit/../../../tms570ls3137_hdk_sdram/lib/include/sys/select.h:50:2: error: unknown type name 'pid_t'
   pid_t si_pid;  /* process to be notified */
   ^~~~~
../../../../cpukit/../../../tms570ls3137_hdk_sdram/lib/include/sys/select.h:60:32: error: unknown type name 'fd_set'
  extern int select (int __nfds, fd_set *__restrict __readfds,
                                 ^~~~~~
../../../../cpukit/../../../tms570ls3137_hdk_sdram/lib/include/sys/select.h:61:20: error: unknown type name 'fd_set'
                     fd_set *__restrict __writefds,
                     ^~~~~~
../../../../cpukit/../../../tms570ls3137_hdk_sdram/lib/include/sys/select.h:62:20: error: unknown type name 'fd_set'
                     fd_set *__restrict __exceptfds,
                     ^~~~~~

Can anyone tell me what am I doing wrong? I'm completely new to RTEMS...
The host-system is Fedora23 x64

I also tried to build the arm-rtems4.10 variant of the source builder, 
but this fails with

download:https://git.rtems.org/rtems-tools/plain/tools/4.12/binutils/binutils-2.20.1-rtems4.10-20100826.diff: error: HTTP Error 404: Not found
error: downloadinghttps://git.rtems.org/rtems-tools/plain/tools/4.12/binutils/binutils-2.20.1-rtems4.10-20100826.diff: all paths have failed, giving up
Build FAILED

Any help is appreciated!
Regards,
Florian

-- 
----------------------------------------
| Dr. Florian Feldbauer                |
|                                      |
| Helmholtz-Institut Mainz /           |
| Johannes Gutenberg-Universität Mainz |
| Johann-Joachim-Becher-Weg 36         |
| D-55128 Mainz                        |
|                                      |
| Office: SB1 / 00-213                 |
| Phone:  (+49)6131 / 39-29608         |
----------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160609/dde7cbf5/attachment.html>


More information about the users mailing list