SMP support for Raspberry Pi 2

Rohini Kulkarni krohini1593 at gmail.com
Sat Jul 11 19:48:29 UTC 2015


Hi,

I am building with the --enable-smp option. But RTEMS_SMP is not getting
defined.
I have referred to the configure files of other BSPs which includes the
script for --enable-smp option and changed the configure script for
raspberry pi. What can be the reason, I am unable to understand what I am
missing.

Thanks.
On 3 Jul 2015 22:43, "Joel Sherrill" <joel.sherrill at oarcorp.com> wrote:

>
>
> On July 3, 2015 11:53:07 AM CDT, Rohini Kulkarni <krohini1593 at gmail.com>
> wrote:
> >Any help that I can with this?
> >
> >On 1 Jul 2015 16:59, "Rohini Kulkarni" <krohini1593 at gmail.com> wrote:
> >
> >Hi all,
> >
> >I wish to know where the maximum number of processors for a variant are
> >configured. I took a look at some configure scripts. I could see the
> >processor count defined for xilinx-zynq in its configuration file as
> >ZYNQ_CPUS=2.
>
> This looks to be BSP specific and could originate in configure.ac or a .h
> file.
>
> It is likely that each BSP has an underlying hardware limit.
>
> >
> >rtems_configuration_get_maximum_processors() called in gets this
> >configured number. But I don't know from where.
>
> This is set initially based on the confdefs.h parameter
> CONFIGURE_SMP_MAXIMUM_PROCESSORS or something close to that (on phone).
>
> Ultimately the maximum CPUs for an application is the lower of those
> available or RTEMS is configured for.
>
> >Also where is RTEMS_SMP defined for a bsp?
>
> A side-effect of building with --enable-smp.
>
>
> >Thanks.
> >
> >
> >--
> >
> >Rohini Kulkarni
>
> --joel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20150712/cfcb26a4/attachment-0002.html>


More information about the devel mailing list