GSoC PRU: simplebus vs nexus

Nils Hölscher nilhoel1 at gmail.com
Mon Jul 22 11:30:24 UTC 2019


Hi,

On Thu, 18 Jul 2019 at 13:35, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 18/07/2019 12:58, Nils Hölscher wrote:
> > Hi,
> >
> > What is the state of simplebus in rtems-libbsd?
>
> It works fine.
>
> > I found the simplebus files in the rtems-libbsd repository, but when
> > building the compiler is not able to resolve the following include:
> > #include<dev/fdt/simplebus.h>
>
> Not all header files are installed with a "./waf install". You can add
> libbsd based drivers to "rtemsbsd/sys/dev".
>
This worked for simplebus.h, thank you.
But currently I need to add  tree/freebsd/sys/arm/ti/ti_prcm.h and other
files located here.
My include would be:" #include <arm/ti/ti_prcm.h>"
Simply copying them to "rtemsbsd/sys/dev" doesn't work for these files.
Any suggestions?

Thanks,
Nils

>
> >
> > Should I go with nexus instead as described in this Blog from 2015 or is
> > it outdated?
> >
> https://ragustechblog.blogspot.com/2015/06/porting-driver-from-freebsd-to-rtems.html
>
> Yes, device tree based BSPs should use the simplebus.
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
> _______________________________________________
> 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/20190722/7f8820b2/attachment-0002.html>


More information about the devel mailing list