Building RTAI 5.2 Packages, some questions
- macsddau@linuxcnc
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 142
- Thank you received: 28
26 Oct 2019 09:31 #148822
by macsddau@linuxcnc
Building RTAI 5.2 Packages, some questions was created by macsddau@linuxcnc
Hi,
In one of my post I'm complain with latency. DomCa tell me that he's got best result with RTai.
Now, I'm trying to make a partition for LinuxCNC with RTai 5.2.
For this purpose I'm following this .
I start with the current LinuxCNC live install because I don't know from where to go.
For this time every things looks like good.
I'm about to "Make RTAI application packages". I don't what to do with these instructions :
Can you explain what to do ?
In one of my post I'm complain with latency. DomCa tell me that he's got best result with RTai.
Now, I'm trying to make a partition for LinuxCNC with RTai 5.2.
For this purpose I'm following this .
I start with the current LinuxCNC live install because I don't know from where to go.
For this time every things looks like good.
I'm about to "Make RTAI application packages". I don't what to do with these instructions :
Now set up debian. The NTULINUX repo now contains the magic sauce from: https://github.com/SebKuzminsky/rtai/tree/old-3.9-debs/debian
Consider changing the maintainer name in configure.in Create a git tag to have a release number: git tag -a 5.2.2-linuxcnc -m "experimental RTAI debs for LinuxCNC"
Can you explain what to do ?
Please Log in or Create an account to join the conversation.
- macsddau@linuxcnc
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 142
- Thank you received: 28
26 Oct 2019 14:57 - 26 Oct 2019 15:00 #148832
by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic Building RTAI 5.2 Packages, some questions
Get this error :
solved with
cnc@R883CNC:~/RTAI$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
Error running autoreconf.
solved with
sudo ./autogen.sh
Last edit: 26 Oct 2019 15:00 by macsddau@linuxcnc.
Please Log in or Create an account to join the conversation.
- macsddau@linuxcnc
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 142
- Thank you received: 28
26 Oct 2019 15:38 #148836
by macsddau@linuxcnc
Not a error. RTAI directory was were under root user. A chmod restore the normal situation.
Replied by macsddau@linuxcnc on topic Building RTAI 5.2 Packages, some questions
Get this error :
cnc@R883CNC:~/RTAI$ ./autogen.sh autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 autom4te: cannot create autom4te.cache: No such file or directory aclocal: error: echo failed with exit status: 1 autoreconf: aclocal failed with exit status: 1 Error running autoreconf.
solved withsudo ./autogen.sh
Not a error. RTAI directory was were under root user. A chmod restore the normal situation.
Please Log in or Create an account to join the conversation.
- macsddau@linuxcnc
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 142
- Thank you received: 28
26 Oct 2019 15:45 #148837
by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic Building RTAI 5.2 Packages, some questions
Step by step ...
return this :I take a look on
github.com/SebKuzminsky/rtai/tree/old-3.9-debs/debian
. This git contains a directory named "base" that cannot be found in my RTAI directory.
Is it the origin of the error ?
Did I have to copy it from git and how to ?
debian/update-dch-from-git
+ '[' '!' -d debian -o '!' -d base -o '!' -d testsuite ']'
+ echo 'this script must be run from the root of the source tree (the directory with debian and src in it)'
this script must be run from the root of the source tree (the directory with debian and src in it)
+ exit 1
Is it the origin of the error ?
Did I have to copy it from git and how to ?
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23294
- Thank you received: 4938
29 Oct 2019 15:49 #149058
by andypugh
Replied by andypugh on topic Building RTAI 5.2 Packages, some questions
Are you aware of my precompiled RTAI repository?
github.com/andypugh/RTAI/releases
You need to expand "assets" to see the files.
That should get you straight to a working RTAI + LinuxCNC 2.8
github.com/andypugh/RTAI/releases
You need to expand "assets" to see the files.
That should get you straight to a working RTAI + LinuxCNC 2.8
The following user(s) said Thank You: macsddau@linuxcnc
Please Log in or Create an account to join the conversation.
- macsddau@linuxcnc
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 142
- Thank you received: 28
20 Sep 2022 06:46 #252381
by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic Building RTAI 5.2 Packages, some questions
Hi
A long time ago (2019), due to my lack of Linux knowlege, I wath thought it was necessary to compile RTAI for using it.
Reading again and again the LCNC documentation I found the simple way to get RTAI. All was writing in the manual.
linuxcnc.org/docs/stable/html/getting-st...#cha:Installing-RTAI
Now LinuxCNC works with RTAI !
A long time ago (2019), due to my lack of Linux knowlege, I wath thought it was necessary to compile RTAI for using it.
Reading again and again the LCNC documentation I found the simple way to get RTAI. All was writing in the manual.
linuxcnc.org/docs/stable/html/getting-st...#cha:Installing-RTAI
Now LinuxCNC works with RTAI !
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23294
- Thank you received: 4938
20 Sep 2022 08:45 #252386
by andypugh
Replied by andypugh on topic Building RTAI 5.2 Packages, some questions
It is also possible to run the normal (uspace) version of LinuxCNC on an RTAI kernel.
If you install linuxcnc-uspace (which will be an officlal Debian package in the next Debian release) then also install the package linuxcnc-uspace-rtai (deb package here: www.linuxcnc.org/dists/buster/2.8-rtpreempt/binary-amd64/ ) then LinuxCNC will run using LXRT realtime in user space on the RTAI kernel.
This combination seems to give good latency in my testing, but does not support the Mesa ethernet cards (I have not investigated if this is a real issue or simply the driver running a too-naive check)
If you install linuxcnc-uspace (which will be an officlal Debian package in the next Debian release) then also install the package linuxcnc-uspace-rtai (deb package here: www.linuxcnc.org/dists/buster/2.8-rtpreempt/binary-amd64/ ) then LinuxCNC will run using LXRT realtime in user space on the RTAI kernel.
This combination seems to give good latency in my testing, but does not support the Mesa ethernet cards (I have not investigated if this is a real issue or simply the driver running a too-naive check)
The following user(s) said Thank You: macsddau@linuxcnc
Please Log in or Create an account to join the conversation.
- macsddau@linuxcnc
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 142
- Thank you received: 28
21 Sep 2022 05:25 #252471
by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic Building RTAI 5.2 Packages, some questions
after yesterday announcement, downloaded and installed 2.8.4 rtai. Works fine!
Please Log in or Create an account to join the conversation.
Time to create page: 0.087 seconds