BSP support question

Yuke Tian ytian at bnl.gov
Mon Sep 22 21:44:15 UTC 2008


Hello,

I am trying to make RTEMS for MPC8313E-RDB board, which is a special
version of gen83xx. The src/lib/libbsp/powerpc shows that this BSP is
supported:

--"ls" from libbsp/powerpc:
acinclude.m4  configure.ac  gen83xx      mbx8xx            psim       virtex
aclocal.m4    ep1a          helas403     motorola_powerpc  score603e
ChangeLog     gen405        Makefile.am  mpc8260ads        shared
configure     gen5200       Makefile.in  mvme5500          ss555

The configure option I used is: --enable-rtemsbsp=gen83xx

I always got "C compiler cannot create executables" error during the
make.   The same error message for gen5200 bsp.  However, with the same
tools/configure, I can make mvme2100, mvme5500, ss555, mvme2307 and psim
without any problems. I tried different versions of toolset and RTEMS
and got the same results.

Then, I just do configure without --enable-rtemsbsp and suppose to get
the all the available BSP for powerpc (I used --target=powerpc-rtems4.8
to limit to ppc BSPs). Surprisingly, I found the BSP list given from
configure is NOT the same as the above one, and gen83xx and gen5200 are
NOT available BSP.

--list from configure without enable-rtemsbsp:
target architecture: powerpc.
available BSPs: ep1a gen405 pm520_cr825 pm520_ze30 brs5l mpc8349eamds
hsc_cm01 helas403 mbx821_001 mbx860_001b mbx821_002 mbx821_002b
mbx860_002 mbx860_005b mvme2307 mcp750 mtx603e mvme2100 mpc8260ads
mvme5500 psim score603e ss555 virtex.
'make all' will build the following BSPs: ep1a gen405 pm520_cr825
pm520_ze30 brs5l mpc8349eamds hsc_cm01 helas403 mbx821_001 mbx860_001b
mbx821_002 mbx821_002b mbx860_002 mbx860_005b mvme2307 mcp750 mtx603e
mvme2100 mpc8260ads mvme5500 psim score603e ss555 virtex.
other BSPs can be built with 'make RTEMS_BSP="bsp1 bsp2 ..."'

It seems all the listed BSP from configure can be built without any
problems. So, what about the gen83xx and gen5200 ? How do I build RTEMS
for them ?

By the way, the /make/custom seems give a list that combined the above two.

Thank you,

Yuke Tian
NSLS-II
Brookhaven National Lab



More information about the users mailing list