Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
19 May 2021 09:27 #209470
by Arthur_L
Replied by Arthur_L on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
maybe IGH EtherCAT Master
Please Log in or Create an account to join the conversation.
19 May 2021 18:09 - 19 May 2021 18:12 #209532
by Bari
Replied by Bari on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
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 use the LinuxCNC install ISO to build your controller.
Last edit: 19 May 2021 18:12 by Bari.
Please Log in or Create an account to join the conversation.
19 May 2021 22:57 #209573
by andypugh
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)
Replied by andypugh on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
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 or Create an account to join the conversation.
20 May 2021 00:47 #209589
by Arthur_L
Replied by Arthur_L on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
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 or Create an account to join the conversation.
20 May 2021 00:57 #209591
by Arthur_L
Replied by Arthur_L on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
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 or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
20 May 2021 01:40 #209594
by BeagleBrainz
Replied by BeagleBrainz on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
just have a look around /usr/realtime
Please Log in or Create an account to join the conversation.
20 May 2021 02:00 #209599
by Arthur_L
Replied by Arthur_L on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
This is the linuxcnc configuration information and compilation information
Please Log in or Create an account to join the conversation.
20 May 2021 02:02 - 20 May 2021 02:02 #209600
by Arthur_L
Replied by Arthur_L on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
This is the linuxcnc configuration information and compilation information? Is my rtai still incorrect? Why is there such a thing as pcl720?
Last edit: 20 May 2021 02:02 by Arthur_L.
Please Log in or Create an account to join the conversation.
20 May 2021 02:53 #209603
by phillc54
github.com/LinuxCNC/linuxcnc/blob/master.../drivers/pcl720.comp
Replied by phillc54 on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
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
The following user(s) said Thank You: Arthur_L
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
20 May 2021 03:02 - 20 May 2021 03:04 #209604
by BeagleBrainz
Replied by BeagleBrainz on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
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 ?
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 ?
Last edit: 20 May 2021 03:04 by BeagleBrainz.
Please Log in or Create an account to join the conversation.
Time to create page: 0.100 seconds