RTAI 5.3.3 Delta release for LinuxCNC (kernel 5.4 debs available)

More
3 years 11 months ago #257123 by Bari
RTAI kernel 5.4 Debian packages are up!

github.com/NTULINUX/RTAI/releases/tag/v5.3.3-delta

If these check out OK, they will be marked as stable.
 

Please Log in to join the conversation.

More
3 years 11 months ago #257366 by tommylight
Sorry for not having time to test.

Please Log in to join the conversation.

More
3 years 11 months ago #258022 by DomCa
Dear Bari,

I currently have a LinuxCNC2.8 RTAI setup from 2 years ago and would like to test 2.9 with RTAI. I want to use RTAI because it gives me the best latency on my PC and I use the Parport for stepper signal generation.

Is there a tutorial/documentation on how to install a LinuxCNC 2.9 from scratch and then add your RTAI kernel?

Thanks!
Dom

Please Log in to join the conversation.

More
3 years 11 months ago #258025 by NTULINUX

Dear Bari,

I currently have a LinuxCNC2.8 RTAI setup from 2 years ago and would like to test 2.9 with RTAI. I want to use RTAI because it gives me the best latency on my PC and I use the Parport for stepper signal generation.

Is there a tutorial/documentation on how to install a LinuxCNC 2.9 from scratch and then add your RTAI kernel?

Thanks!
Dom

 
Hi Dom,

So there are no LinuxCNC packages built right now against my latest RTAI 5.3.3 Delta release yet, to my knowledge. Building LinuxCNC though once you have RTAI installed is very easy.

For simplicity sake, let's stick with just the 5.4 kernel packages.

Download the RTAI 5.4 kernel debian packages:

github.com/NTULINUX/RTAI/releases/tag/v5.3.3-delta

You need linux-image, linux-headers and rtai-modules:

github.com/NTULINUX/RTAI/releases/downlo...ai-amd64-1_amd64.deb

github.com/NTULINUX/RTAI/releases/downlo...ai-amd64-1_amd64.deb

github.com/NTULINUX/RTAI/releases/downlo...xcnc-delta_amd64.deb

Once you have those downloaded, in command line:

Code:
sudo dpkg -i linux-image-5.4.224-rtai-amd64_5.4.224-rtai-amd64-1_amd64.deb sudo dpkg -i linux-headers-5.4.224-rtai-amd64_5.4.224-rtai-amd64-1_amd64.deb sudo dpkg -i rtai-modules-5.4.224_5.3.3-linuxcnc-delta_amd64.deb

Specify the full path to the Debian packages after the `-i` if you are not currently in the directory of the .deb files.

After that, build LinuxCNC master branch from source:

Code:
git clone https://github.com/LinuxCNC/linuxcnc cd linuxcnc/src ./autogen.sh ./configure --enable-non-distributable=yes make sudo make setuid cd .. . ./scripts/rip-environment

You should now be able to launch LinuxCNC, latency-test and latency-histogram via the following commands:

Code:
linuxcnc latency-test latency-histogram


The build dependencies for LinuxCNC must be installed before running the above `./configure` command.

Refer to this page for more info:

linuxcnc.org/docs/master/html/code/build...g-Build-Dependencies

To match that documentation page, you can use this `git clone` command instead of the one I listed above:


Code:
git clone https://github.com/LinuxCNC/linuxcnc linuxcnc-dev

Please Log in to join the conversation.

More
3 years 11 months ago #258026 by NTULINUX
I'm never posting commands on this forum again, you guys have the absolute worst post editor imaginable.

Forgot to mention,

After you install the kernels, reboot into your new RTAI (5.4) kernel before building LinuxCNC. Select the RTAI kernel via the GRUB menu on boot.

Editing this post instead lol.

Please Log in to join the conversation.

More
3 years 10 months ago #258193 by DomCa
Hi NTULINUX,

Thanks a lot for your guide! I will give it a try this weekend.

Regards,
Dom

Please Log in to join the conversation.

More
3 years 10 months ago #258254 by NTULINUX

Hi NTULINUX,

Thanks a lot for your guide! I will give it a try this weekend.

Regards,
Dom
Awesome! I used Debian Bullseye/11 for my testing, but Bookworm/Testing/12 should also work. The LinuxCNC 2.8 branch does not have the latest RTAI fixes.

Please Log in to join the conversation.

Time to create page: 0.139 seconds
Powered by Kunena Forum