- Posts: 66
- Thank you received: 1
Ethercat HAL driver
- REEEN
- Offline
- Senior Member
-
Less
More
10 years 2 months ago - 10 years 2 months ago #78653
by REEEN
Replied by REEEN on topic Ethercat HAL driver
Hello Sirop,
I just tried what you told me to install linuxcnc ethercat with rt preempt.
I always get "no realtime kernels found!"
Iam testing from virtual box.
This must be because of this block:
What can I do now ?
I just tried what you told me to install linuxcnc ethercat with rt preempt.
I always get "no realtime kernels found!"
Iam testing from virtual box.
This must be because of this block:
Code:
if [ $1 = "-r" ]; then
set -- `uname -r`
elif [ $1 = "-a" ]; then
KERNEL="$(uname -r)"
if [ ! -d "/usr/realtime-$KERNEL" ]; then
KERNEL=$(ls -1d /usr/realtime-* 2> /dev/null | cut -d - -f 2- | head -1)
if [ -z "$KERNEL" ]; then
echo "no realtime kernels found!"
exit 1
fi
fi
set -- $KERNEL
fi
What can I do now ?
Last edit: 10 years 2 months ago by REEEN.
Please Log in or Create an account to join the conversation.
- sirop
- Offline
- Elite Member
-
Less
More
- Posts: 193
- Thank you received: 57
10 years 2 months ago #78661
by sirop
Replied by sirop on topic Ethercat HAL driver
Try
if you want to use the kernel currently running
according to github.com/sittner/ec-debianize/blob/mas...an/configure#L23-L24 .
Code:
./configure -r
according to github.com/sittner/ec-debianize/blob/mas...an/configure#L23-L24 .
Please Log in or Create an account to join the conversation.
- REEEN
- Offline
- Senior Member
-
Less
More
- Posts: 66
- Thank you received: 1
10 years 2 months ago - 10 years 2 months ago #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: 10 years 2 months ago by REEEN.
Please Log in or Create an account to join the conversation.
- sirop
- Offline
- Elite Member
-
Less
More
- Posts: 193
- Thank you received: 57
10 years 2 months ago #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.
- REEEN
- Offline
- Senior Member
-
Less
More
- Posts: 66
- Thank you received: 1
10 years 2 months ago #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.
- sirop
- Offline
- Elite Member
-
Less
More
- Posts: 193
- Thank you received: 57
10 years 2 months ago #78683
by sirop
Replied by sirop on topic Ethercat HAL driver
Change
to
in configure .
Code:
CONF_EXTRA=" --enable-8139too --enable-e100 --enable-e1000 --enable-e1000e --enable-r8169"
Code:
CONF_EXTRA="--enable-generic"
in configure .
Please Log in or Create an account to join the conversation.
Time to create page: 2.661 seconds