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