Compile Linux Kernel ,RTAI and LinuxCNC from Source Code

More
5 years 5 months ago #209470 by Arthur_L
maybe IGH EtherCAT Master

Please Log in to join the conversation.

More
5 years 5 months ago #209532 by Bari
RTAI, LinuxCNC and the test suite all have to be built against each other.

Please use the LinuxCNC install ISO to build your controller.

Please Log in to join the conversation.

More
5 years 5 months ago #209573 by andypugh

Arthur_L wrote: bodor@bodor:~/Downloads/linuxcnc-2.8.1/src$ ./configure --with-realtime=/usr/realtime --with-kernel-headers=/usr/src/linux-headers-4.19.152-rtai-amd64


What is the actual path to the rtai modules? It is typically not /usr/realtime. Mine is (today) /usr/realtime-4.14.174-rtai-amd64

But, the fact is, that I spent weeks of my time doing this so you didn't have to. If you are doing it for fun, then that's great, and the more folk building RTAI from scratch the better (especially as a new RTAI version was released _today_)

Following the NTULINUX instructions normally goes smoothly (following the RTAI ones, less so)

Please Log in to join the conversation.

More
5 years 5 months ago #209589 by Arthur_L
I am simply interested, because I found that there are very few documentation about compiling from source code (including compiling linux kernel, compiling RTAI (compatible with linuxcnc), and finally compiling linuxcnc)

Please Log in to join the conversation.

More
5 years 5 months ago #209591 by Arthur_L
I used the default path to compile and install RTAI, isn't it /usr/realtime? How to find the actual path to the rtai modules?As the same time ,thank all of you very much for the contribution, I feel linuxcnc is very very great!

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
5 years 5 months ago #209594 by BeagleBrainz
just have a look around /usr/realtime

Please Log in to join the conversation.

More
5 years 5 months ago #209599 by Arthur_L
This is the linuxcnc configuration information and compilation information

Please Log in to join the conversation.

More
5 years 5 months ago #209600 by Arthur_L
This is the linuxcnc configuration information and compilation information? Is my rtai still incorrect? Why is there such a thing as pcl720?

Please Log in to join the conversation.

More
5 years 5 months ago #209603 by phillc54

Arthur_L wrote: This is the linuxcnc configuration information and compilation information? Is my rtai still incorrect? Why is there such a thing as pcl720?


github.com/LinuxCNC/linuxcnc/blob/master.../drivers/pcl720.comp

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
5 years 5 months ago #209604 by BeagleBrainz
It's a card supported by Linuxcnc.
From
"your_linuxcnc_base_dir"/src/hal/drivers/pcl720.comp

component pcl720 """Driver for the Advantech PCL 720 card.""";
description """This driver supports the Advantech PCL720 ISA card. It might
work with the PCI version too, but this is untested.
It creates hal pins corresonding to the digital inputs and outputs, but does
not support the the counters/timers.""";

It wouldn't be a gcc 5.4 issue ?

Please Log in to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum