BSP support question

Joel Sherrill joel.sherrill at OARcorp.com
Mon Sep 22 22:04:47 UTC 2008


Yuke Tian wrote:
> 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
>   
This is an example of a "BSP variant".  The base bsp is gen83xx and
it supports a variety of actual boards.  You want
--enable-rtemsbsp=mpc8313erdb
> 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.
>   
This sounds like you do not have the RTEMS tools installed
and at the head of your PATH.
> 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.
>
>   
Ahhh... 4.8 doesn't have this BSP.  You will have to check
out the 4.9 branch or head from CVS.

It should work nearly all of the time.  Thanks to Thomas
Doerfler sending me one, it gets tested fairly frequently.
> --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 ?
>   
You just happen to know that the mpc8313erdb is supported
but it was added after 4.8. :)
> By the way, the /make/custom seems give a list that combined the above two.
>
> Thank you,
>
> Yuke Tian
> NSLS-II
> Brookhaven National Lab
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>   


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985





More information about the users mailing list