Ethercat HAL driver
12 Aug 2016 16:09 - 12 Aug 2016 16:13 #78673
by REEEN
Replied by REEEN on topic Ethercat HAL driver
Hello Sirop
I tried this steps in Debian Jessie with RT-Preempt:
1st Download ethercat master from IgH from here:
www.etherlab.org/download/ethercat/ethercat-1.5.2.tar.bz2
2nd Open a shellTerminal, and go to the folder that contains the ethercat master, and Untar the file
3rd download debian folder from sittner from here:
github.com/sittner/ec-debianize/archive/master.zip
4th Unzip the file "ec-debianize-master.zip"
5th copy debian folder (the was produced in 4th step) to /ethercat-1.5.2/ (that was produced 2nd step)
6th Now I edited the configure File as you told me
7th now in the shell terminal, use the following instructions:
cd ethercat-1.5.2
cd debian
./configure -r -> configuration succesfull !!
cd ..
sudo apt-get update
dpkg-checkbuilddeps -> everything here
(I was missing dpatch package)
dpkg-buildpackage
with buildpackage following error occurs:
Sorry I could not copy past this ..
I think I need to reconfigure something else ?
I tried this steps in Debian Jessie with RT-Preempt:
1st Download ethercat master from IgH from here:
www.etherlab.org/download/ethercat/ethercat-1.5.2.tar.bz2
2nd Open a shellTerminal, and go to the folder that contains the ethercat master, and Untar the file
3rd download debian folder from sittner from here:
github.com/sittner/ec-debianize/archive/master.zip
4th Unzip the file "ec-debianize-master.zip"
5th copy debian folder (the was produced in 4th step) to /ethercat-1.5.2/ (that was produced 2nd step)
6th Now I edited the configure File as you told me
7th now in the shell terminal, use the following instructions:
cd ethercat-1.5.2
cd debian
./configure -r -> configuration succesfull !!
cd ..
sudo apt-get update
dpkg-checkbuilddeps -> everything here
(I was missing dpatch package)
dpkg-buildpackage
with buildpackage following error occurs:
Sorry I could not copy past this ..
I think I need to reconfigure something else ?
Last edit: 12 Aug 2016 16:13 by REEEN.
Please Log in or Create an account to join the conversation.
12 Aug 2016 18:04 #78681
by sirop
Replied by sirop on topic Ethercat HAL driver
Seems to be that there are no drivers yet for 3.18:
sourceforge.net/p/etherlabmaster/code/ci/default/tree/devices/
sourceforge.net/p/etherlabmaster/code/ci/default/tree/devices/
The following user(s) said Thank You: REEEN
Please Log in or Create an account to join the conversation.
12 Aug 2016 18:11 #78682
by REEEN
Replied by REEEN on topic Ethercat HAL driver
I need to use generic driver for my network source anyway, on igh homepage I found out that generic works with preempt. Can I somehow disable them and only enable generic ?
Please Log in or Create an account to join the conversation.
12 Aug 2016 18:19 #78683
by sirop
Replied by sirop on topic Ethercat HAL driver
Changeto
in configure .
CONF_EXTRA=" --enable-8139too --enable-e100 --enable-e1000 --enable-e1000e --enable-r8169"
CONF_EXTRA="--enable-generic"
in configure .
Please Log in or Create an account to join the conversation.
12 Aug 2016 18:53 #78685
by REEEN
Replied by REEEN on topic Ethercat HAL driver
Thank you really much Sirop, I will try this out
Iam really happy that there are people willing to help so much.
Iam really happy that there are people willing to help so much.
Please Log in or Create an account to join the conversation.
13 Aug 2016 12:13 #78702
by REEEN
Replied by REEEN on topic Ethercat HAL driver
Hi again,
Sirop, I just tried out what you told me I only enabled generic in configure script.
I got the same error again.
This is how the configure-stamp in rules script looks like:
configure: configure-stamp
configure-stamp: unpack-stamp patch-stamp
dh_testdir
./bootstrap
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-linux-dir=/lib/modules/3.18.13-rt10mah+/build --enable-generic
touch $@
He is somehow trying to enable the others anyway.
Do you find out why ?
is configure -r okay or should it be configure -a ?
If you need any further information just tell me.
Thank you !
Sirop, I just tried out what you told me I only enabled generic in configure script.
I got the same error again.
This is how the configure-stamp in rules script looks like:
configure: configure-stamp
configure-stamp: unpack-stamp patch-stamp
dh_testdir
./bootstrap
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-linux-dir=/lib/modules/3.18.13-rt10mah+/build --enable-generic
touch $@
He is somehow trying to enable the others anyway.
Do you find out why ?
is configure -r okay or should it be configure -a ?
If you need any further information just tell me.
Thank you !
Please Log in or Create an account to join the conversation.
13 Aug 2016 14:22 #78708
by sirop
Replied by sirop on topic Ethercat HAL driver
configure -r should be ok, but I do not know what to tell you now
but advise to build the master following etherlab.org/download/ethercat/ethercat-1.5.2.pdf , Chapter 9.
but advise to build the master following etherlab.org/download/ethercat/ethercat-1.5.2.pdf , Chapter 9.
Please Log in or Create an account to join the conversation.
14 Aug 2016 14:37 - 14 Aug 2016 14:38 #78741
by REEEN
Replied by REEEN on topic Ethercat HAL driver
Thank you Sirop,
I did the following to install etherlab:
# hg clone hg.code.sf.net/p/etherlabmaster/code ethercat-hg
# cd ethercat-hg/
# hg update stable-1.5
# ./bootstrap
# ./configure --disable-8139too --enable-generic
# make
# make modules
# sudo make install
# sudo make modules_install
# sudo /sbin/depmod
# sudo ln -s /usr/local/etherlab/bin/ethercat /usr/local/bin/
#
--disable-8139too this was the key !
But Iam not sure what to do now ?
Can you help me ?
I did the following to install etherlab:
# hg clone hg.code.sf.net/p/etherlabmaster/code ethercat-hg
# cd ethercat-hg/
# hg update stable-1.5
# ./bootstrap
# ./configure --disable-8139too --enable-generic
# make
# make modules
# sudo make install
# sudo make modules_install
# sudo /sbin/depmod
# sudo ln -s /usr/local/etherlab/bin/ethercat /usr/local/bin/
#
--disable-8139too this was the key !
But Iam not sure what to do now ?
Can you help me ?
Last edit: 14 Aug 2016 14:38 by REEEN.
Please Log in or Create an account to join the conversation.
14 Aug 2016 14:50 - 14 Aug 2016 14:50 #78745
by sirop
Replied by sirop on topic Ethercat HAL driver
1. Make a simple test with a slave you have just to know that the master works.
2. Proceed with github.com/sittner/linuxcnc-ethercat .
2. Proceed with github.com/sittner/linuxcnc-ethercat .
Last edit: 14 Aug 2016 14:50 by sirop. Reason: typo
Please Log in or Create an account to join the conversation.
14 Aug 2016 14:54 - 14 Aug 2016 14:54 #78746
by REEEN
Replied by REEEN on topic Ethercat HAL driver
Didn't I miss anything ?
how can I run the master ?
how can I run the master ?
Last edit: 14 Aug 2016 14:54 by REEEN.
Please Log in or Create an account to join the conversation.
Time to create page: 0.168 seconds