<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 18 Jul 2019 at 19:18, Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 18/7/19 7:11 pm, Nils Hölscher wrote:<br>
> @<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a> <mailto:<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>>  but where do we place the shell<br>
> part, which exists between BSD and RTEMS?<br>
<br>
LibBSD has a number of shell commands so this should not be a problem.<br>
<br>
> However this doesn't have priority right now, does it?<br>
<br>
I think the shell command support is good to have. A user wanting to develop and<br>
run a PRU piece of code with an RTEMS app will need all the support we can provide.<br></blockquote><div><br></div><div>Yes you are definitely right and I think it is pretty easy to port the pructrl repo I posted before. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Chris<br></blockquote><div><br></div><div>I am currently adding more and more libbsd deps to my build, that are not in rtems or rtems-libbsd.</div><div>Now I have been touching these to files of the BSD kernel:</div><div><a href="https://github.com/freebsd/freebsd/blob/0966ce5cd477cd7c8b63b0f9de75396aa5939032/sys/arm/include/cpu-v4.h">https://github.com/freebsd/freebsd/blob/0966ce5cd477cd7c8b63b0f9de75396aa5939032/sys/arm/include/cpu-v4.h</a></div><div><a href="https://github.com/freebsd/freebsd/blob/0966ce5cd477cd7c8b63b0f9de75396aa5939032/sys/arm/include/atomic-v6.h">https://github.com/freebsd/freebsd/blob/0966ce5cd477cd7c8b63b0f9de75396aa5939032/sys/arm/include/atomic-v6.h</a><br></div><div>Throwing a good dozen of warning when compiling and I only need one call from these files.</div><div>This is needed in the pru driver to distinguish between prussv1 and prussv2, a feature I definitely want.</div><div>FYI: prussv1 is on the TI Sitara AM18xx SoCs and v2 on the AM35xx.</div><div><br></div><div>So the question is should I try to resolve those warnings and try to port the whole files to rtems or should I try to just pick  what I need and be done?</div><div><br></div><div>Best,</div><div>Nils</div><div> </div></div></div>