Re: SMP related question

2018-08-22 Thread Sebastian Huber
Hello Stavros, On 22/08/18 12:43, Passas, Stavros wrote: Hi all, My main objective was to have a way to run the rtems testsuite and have a script auto-compare the results with the corresponding scn file. Currently, just because core0 starts core1, seems like core1 always starts Init(),

RE: SMP related question

2018-08-22 Thread Passas, Stavros
From: users [mailto:users-boun...@rtems.org] On Behalf Of Joel Sherrill Sent: Monday, August 20, 2018 5:39 PM To: Sebastian Huber Cc: rtems-us...@rtems.org Subject: Re: SMP related question On Mon, Aug 20, 2018 at 1:23 AM, Sebastian Huber mailto:sebastian.hu...@embedded-brains.de>>

Re: SMP related question

2018-08-20 Thread Joel Sherrill
On Mon, Aug 20, 2018 at 1:23 AM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > > > On 12/08/18 00:41, Chris Johns wrote: > >> On 10/08/2018 22:30, Sebastian Huber wrote: >> >>> Hello Stavros, >>> >>> you can do this with a custom clustered scheduler configuration: >>> >>>

Re: SMP related question

2018-08-20 Thread Sebastian Huber
On 12/08/18 00:41, Chris Johns wrote: On 10/08/2018 22:30, Sebastian Huber wrote: Hello Stavros, you can do this with a custom clustered scheduler configuration: https://docs.rtems.org/branches/master/c-user/configuring_a_system.html#clustered-scheduler-configuration I had a brief look

Re: SMP related question

2018-08-11 Thread Chris Johns
On 10/08/2018 22:30, Sebastian Huber wrote: > Hello Stavros, > > you can do this with a custom clustered scheduler configuration: > > https://docs.rtems.org/branches/master/c-user/configuring_a_system.html#clustered-scheduler-configuration > I had a brief look over the documentation you

Re: SMP related question

2018-08-10 Thread Sebastian Huber
Hello Stavros, you can do this with a custom clustered scheduler configuration: https://docs.rtems.org/branches/master/c-user/configuring_a_system.html#clustered-scheduler-configuration Alternatively, on a recent version the default SMP scheduler supports a one-to-one affinity. You can set it

Re: SMP related question

2018-08-10 Thread Joel Sherrill
On Fri, Aug 10, 2018, 7:11 AM Passas, Stavros wrote: > Hi, > > > > In my local SMP enabled RTEMS, I notice core1 starting the Init() function > of the user application. > I assume the boot processor is on core 0. How many cores? > Is there a way to enforce RTEMS to run the Init() in the boot