<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 19, 2020 at 1:13 PM Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@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 Thu, Mar 19, 2020 at 11:56 AM Niteesh G. S. <<a href="mailto:niteesh.gs@gmail.com" target="_blank">niteesh.gs@gmail.com</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> While looking for small tasks to take up, Gedare mentioned about adding GDB BSPs<br>
> to rtems-tester. Can some please explain a bit more of what has to be done? I guess<br>
> we have to write configuration files for BSPs that support simulation in GDB. If so, how<br>
> could I find those BSPs, do I have to individually look at all the BSPs?<br>
><br>
As I said off-list, I don't know if there's a list of GDB BSPs, but I<br>
know of at least:<br>
powerpc/psim<br>
mips/jmr3904<br>
moxie/moxiesim<br>
arm/gdbarmsim<br>
sh/shsim<br></blockquote><div><br></div><div>I consider psim and jmr3904 to be top tier BSPs even though they are simulators.</div><div>jmr3904 has more failures but that's because some support like TLS is missing</div><div>on the MIPS.</div><div><br></div><div>moxiesim and shsim (multiple variants there) should work but I don't recall. </div><div><br></div><div>I would like to remove gdbarmsim. It has a lot of variants which increases</div><div>load on the RTEMS BSP Builder, it has not worked since some rework on</div><div>the ARM at least 2 years ago which didn't get done to this BSP, and </div><div>we have at least two ARM Qemu targets which are better. </div><div><br></div><div>IMO ARM simulator testing should ensure that Qemu for Zynq, realview,</div><div>and one of the STM variants works.</div><div><br></div><div>I have a script that I use on Centos, Ubuntu and FreeBSD to test a LOT.</div><div>It takes 18-30+ hours depending on the computer. Please make sure I</div><div>know if something gets added so I can add it to that script and results</div><div>begin to show up on the build results list.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I have no idea what any of their statuses are or if they are expected<br>
to work. The first step would be building them and see if they run<br>
anything. After that, you should look at the existing tester scripts for<br>
some targets:<br>
  rtems-tools.git/tester/rtems/testing/bsps<br>
I see scripts for most of what I listed above, so the next step would<br>
be trying to run them via tester and see if it works.<br>
<br>
BTW: Did I mention adding these to tester, or did I mention creating<br>
build sets for them? Anyway, I think the GDB simulator builds by<br>
default with the toolchain, so there is no difference between a BSP<br>
buildset (such as for jmr3904) and one that supports running on GDB.<br>
At least, I think so. It is worth verifying.<br>
<br>
Gedare<br>
<br>
> Thank you,<br>
> Niteesh.<br>
> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div>