EtherCAT SOEM - RTEMS Integration

Nikolaos Tsiogkas niko at
Tue Sep 5 10:19:55 UTC 2017

Thanks for the input Chris!

I have no idea on rtems-libbsd. My RTEMS experience is limited for now. The
original idea was to have ethercat running on a LEON3 by Gaisler. Another
partner is developing the ethernet driver for that and I will have to
consult with him.

For now I read on how the build system works. Built the toolchain for
sparc/erc32 with the RSB on the 4.11 branch.

I agree that it is better to develop upstream and then build via the RSB
pulling the source from github or some other repo. That way you don't
replicate work and get all the patches. I will contact the SOEM maintainers
about it.

So I'll open a ticket and post any questions on the devel list.


On Tue, Sep 5, 2017 at 12:27 AM, Chris Johns <chrisj at> wrote:

> On 04/09/2017 20:34, Nikolaos Tsiogkas wrote:
> > Hi,
> >
> > I'm working currently on porting the EtherCAT SOEM, an opensource
> ethercat
> > master implementation, to RTEMS.
> Excellent. I have an interest in EtherCAT running on RTEMS and I know other
> RTEMS users also do.
> Is this with rtems-libbsd?
> > From what I have read and understood it should be as a 3rd party library.
> We prefer to work with the upstream package where we can. If we bring code
> into
> the RTEMS repo or we create a local repo the RTEMS project and the
> community is
> choosing to take on the maintenance. Upstream support has proved over time
> to be
> the best solution.
> > I have installed RTEMS and successfully compiled the NTP package.
> Is this with the RSB?
> > My question is what would be the formal way to go forward with that?
> A Trac ticket as a task with details of the work to be done as well as
> posting
> to the devel list. Patches for the various repos are reviewed on the devel
> list.
> > I have
> > already forked SOEM so I can work independently and provide patches that
> would
> > make the project work with RTEMS and get them merged on their side.
> Working with the upstream maintainers is important so this is perfect.
> The RSB can build the package if you can build it from the command line. If
> there are upstream patches under review you can have the RSB fetch those
> patches
> and patch the source. Once the patches are merged upstream we can update
> the RSB
> to no use this patches.
> > What would the RTEMS procedure be to include a package?
> As stated create a Trac ticket as a task and assign to me and we can work
> together. Interact with us on the devel list, this can be questions, status
> updates and then patches.
> > I don't know if the users or the devel list is more appropriate
> actually. If it
> > should be moved on devel just let me know and I'll post there.
> This is a development so I think the devel list is fine to use.
> Chris

Nikolaos Tsiogkas, Robotics Engineer
+32 16 584 180
Intermodalics - Gaston Geenslaan 9, 3001 Heverlee - BELGIUM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list