more bsp question (was Bsp and CPU porting )

Joel Sherrill joel.sherrill at OARcorp.com
Wed Nov 19 18:41:35 UTC 2003


Feng, Shuchen wrote:
> On  Wed, 5 Nov 2003 10:13:03 -0600  Jay Monkman  wrote :
> 
> 
>>Did you add your CPU to libcpu/sh/configure.ac and your BSP to
>>libbsp/sh/acinclude.m4? After modifying those files, you need to run
>>bootstrap.
>>Before running bootstrap, make sure you have the right versions of
> 
> automake
> 
>>and autoconf. Then, while in the libcpu/sh and libbsp/sh directories,
>>run '../../../../../bootstrap -c' and '../../../../../bootstrap'
> 
> 
> I  installed the autoconf-2.57 and  automake-1.7.6 on my RedaHat 7.3,
> which I got from the RTEMS site.  The RTEMS release is the
> rtems-4.6.0pre3.
> 
> It seems that it went  fine (no message)  with the  libcpu/powerpc.
> However,   '../../../../../bootstrap' only  ran through the original BSP
> 
> even though,  in the libbsp/powerpc/acinclude.m4, I had added  :
> 
>   mvme5500 )
>     AC_CONFIG_SUBDIRS([mvme5500]);;
> 
> Not knowing where RTEMS_BSP_FAMILY is defined.
> I  (blindly) added  "RTEMS_BSP_FAMILY + = mvme5500"
> in the  libbsp/powerpc/Makefile.am so that
> bootstrap can see it.  However, it seems that it does not make a
> difference.  I still got  the same error message :
> 
> gmake[6]: Entering directory
> `/usr/local/source/newRTEMS/build/ppc-rtems/c/mvme5500/exec'
> gmake[6]: Nothing to be done for `preinstall-am'.
> gmake[6]: Leaving directory
> `/usr/local/source/newRTEMS/build/ppc-rtems/c/mvme5500/exec'
> Making preinstall in include
> gmake[6]: Entering directory
> `/usr/local/source/newRTEMS/build/ppc-rtems/c/mvme5500/exec/include'
> ../../../../../../rtems-4.6.0pre3/c/src/../../cpukit/[]/mkinstalldirs:
> ../../../../../../rtems-4.6.0pre3/c/src/../../cpukit/[]/mkinstalldirs:
> No such file or directory
> gmake[6]: *** [../../../../mvme5500/lib/include] Error 127
> gmake[6]: Leaving directory
> `/usr/local/source/newRTEMS/build/ppc-rtems/c/mvme5500/exec/include'
> gmake[5]: *** [preinstall-recursive] Error 1
> gmake[5]: Leaving directory
> `/usr/local/source/newRTEMS/build/ppc-rtems/c/mvme5500/exec'
> gmake[4]: *** [preinstall-recursive] Error 1
> gmake[4]: Leaving directory
> `/usr/local/source/newRTEMS/build/ppc-rtems/c/mvme5500'
> gmake[3]: *** [preinstall-stamp] Error 2
> gmake[3]: Leaving directory
> `/usr/local/source/newRTEMS/build/ppc-rtems/c/mvme5500'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/local/source/newRTEMS/build/ppc-rtems/c/mvme5500'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/local/source/newRTEMS/build/ppc-rtems/c'
> gmake: *** [all-recursive] Error 1
> 
> 
> Did I miss any step ?

Did you create a make/custom/mvme5500.cfg?  That is one basic step that
you apparently missed.

Is the mvme5500 sufficiently different from the other motorola_powerpc
BSP variant's that it justifies a new BSP?  I thought it was just a new
memory/interrupt controller and maybe a new NIC.

> Thanks in advance,
> Kate
> 
> 
> 
> 
> 


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel 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