<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 18, 2016 at 9:57 AM, Badr El Hiouel <span dir="ltr"><<a href="mailto:elh.badr@gmail.com" target="_blank">elh.badr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:trebuchet ms,sans-serif;font-size:small;color:#0b5394">Hi, </div><div style="font-family:trebuchet ms,sans-serif;font-size:small;color:#0b5394">Is the default mode AMP or SMP for RTEMS ? How can the AMP configuration of RTEMS be enabled ? <br></div></div></blockquote><div><br></div><div>The default configuration is uniprocessor. You have to add --enable-smp to get SMP. </div><div><br></div><div>For your configuration, I am assuming that you would configure the SMP scheduler in a clustered</div><div>manner and tell it to ignore the Linux cores.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:trebuchet ms,sans-serif;font-size:small;color:#0b5394"></div><div class="gmail_extra"><div style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">​The OpenAMP framework doesn't support RTEMS. </div></div></div></blockquote><div><br></div><div>That can always be fixed. :)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">I'm thinking to configure Petalinux on "maxcpu = 1" and to launch RTEMS on​ second cpu. I'm just afraid from memory and adresses problems.<br>What do you think about this ? </div></div></div></blockquote><div> </div><div>If you can write down the address map, you can ensure that RTEMS and Linux don't</div><div>conflict. That should be relatively straightforward. Check symbol tables, etc.</div><div><br></div><div>Just be warned that a simple mistake will lead to them clobbering each other.</div><div><br></div><div>And you have to decide which OS owns which devices. They need to stay away</div><div>from each other. I can imagine that interrupts are an issue.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">Has anybody tried to launch RTEMS via Petalinux ? </div><div style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"><br></div></div></div></blockquote><div><br></div><div>I have no idea on this.</div><div><br></div><div>--joel</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"></div><div style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">Thank you </div><div style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font face="verdana, sans-serif" color="#073763">________<span class="HOEnZb"><font color="#888888"><br></font></span></font></div><span class="HOEnZb"><font color="#888888"><div><font face="verdana, sans-serif" color="#073763"><br></font></div><font face="verdana, sans-serif" color="#073763"><b>Badr EL HIOUEL</b> </font><div><div><font face="verdana, sans-serif" color="#073763">Mail :<a href="mailto:elh.badr@gmail.com" target="_blank"> elh.badr@gmail.com</a></font></div><div><br></div></div></font></span></div></div></div></div></div></div></div><div><div class="h5">
<br><div class="gmail_quote">2016-04-15 2:07 GMT+02:00 Joel Sherrill <span dir="ltr"><<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><p dir="ltr"><br>
On Apr 14, 2016 6:30 PM, "Chris Johns" <<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>> wrote:<br>
><br>
> On 15/04/2016 07:24, Badr El Hiouel wrote:<br>
>><br>
>><br>
>> I have RTEMS working on my Zedboard<br>
><br>
><br>
> Well done.<br>
><br>
><br>
>> and now I want to run RTEMS with an<br>
>> AMP configuration : Petalinux on cpu 0 & RTEMS app on cpu 1.<br>
><br>
><br>
> Oh nice.<br>
><br>
><br>
>> Has anybody managed to get this working on zedboard ?<br>
>> Do you have any suggestion to this issue?<br>
><br>
><br>
> I suggest you reference the Linux kernel support and see what is needed. Coping GPL code means the code will not be accepted into RTEMS so you need to implement things yourself. I think the Xilinx demos are based around FreeRTOS so again be careful of the licenses for this code. If the license here is not suitable then I suggest you do not reference or follow that code so any work you do is not tainted. Also please send me a private email if there are license issues and we can take this off list.</p>
</span><p dir="ltr"></p><div style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148);display:inline">​​</div>The OpenAMP project may be of interest although it is not directly applicable here.<p></p>
<p dir="ltr"><a href="https://github.com/OpenAMP/open-amp" target="_blank">https://github.com/OpenAMP/open-amp</a></p>
<p dir="ltr">There may be some expertise in that community anyway.</p>
<p dir="ltr">--Joel</p>
<p dir="ltr">> Chris<br>
><br>
><br>
> _______________________________________________<br>
> users mailing list<br>
> <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/users" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
</p>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>