This directory contain files that are needed to build a debian package of the IgH EtherCAT-Master. In contrast to IgH's method to start the master via an init script (and unloading existing standard ethernet drivers before statup), the config file (/etc/default/ethercat) is used by a script named update-ethercat-config that should be called after config changes. The script updates /etc/modules-load.d/ethercat.conf and /etc/modprobe.d/ethercat.conf to reflect the configuration so that unneeded/unwanted standard drivers get blacklisted and the EtherCAT drivers and master are automatically loaded at system startup with the right parameters.
The build process was testet unter Debian 9 (stretch) with RT-Kernel.
to build the packages:
Just do a 'sudo dpkg -i ethercat
To build the LinuxCNC EtherCAT HAL driver you also need to install the
development package with 'sudo dpkg -i ethercat-dev
I've decided to drop support for RTAI to be able to move quickly to recent Debian versions and because the master code is not heavily tested against RTAI anymore. Latency seems to be OK (at least for me) with linux-rt and the generic driver. On the other hand you'll get a cleaner build process with DKMS support.