please choosego to mobile | Continue to access the PC version
View: 10662|Reply: 7

LinuxCNC and RTAI

[Copy link]

1

threads

2

posts

19

credits

Novice

Rank: 1

credits
19
Published in 2016-10-14 18:32:36 | Show all floors |Read mode
Hi, people!

I have an idea to setup a linuxCNC on OrangePI to control a 5-axis machine via GPIO.I've read that there was positive experiance in building the linuxCNC for ARM (but didn't see any details in the internet yet).
The first problem I've faced just before even linuxCNC code download is that it needs a real time kernel extension - RTAI.
Can some body route a path for me where to dig to reach any results with it please? I mean - how to set RTAI for any OrangePI linux image and how to build linuxCNC for ARM.

Thank you!

0

threads

1

posts

19

credits

Novice

Rank: 1

credits
19
Published in 2016-12-24 12:17:13 | Show all floors
I installed Linuxcnc from here . It does run fine in sim mode.
I have built rt kernel for OrangePi PC Plus running  Debian Jessie from here using information from hereI needed to:
Copy the original kernel config from from /boot on the OPI and put it in ~/userpatches as linux-sun8i-default.config on the build platform
On the build platform rename ~/lib/patch/kernel/sun8i-default/30-real-time143-full-plus-rt-fixes.patch.disabled to ~/lib/patch/kernel/sun8i-default/30-real-time143-full-plus-rt-fixes.patch then run ./compile.sh
After installing the kernel in the OPI and rebooting I ran latency-test and was very disappointed, latency was terrible.





1

threads

3

posts

65

credits

Registered member

Rank: 2

credits
65
Published in 2016-12-28 23:59:19 | Show all floors
Well, from what I've experienced RT kernel for OrangePi is not a possible thing, at least not now.
When you simple apply the RT patch, if you do not change nothing when build scripit prompts you, it will produce a kernel with Server preemptive model (No forced Preemption) and this one really do not have a good latency. You need a Fully Preemptive Kernel mode and I recommend to not use desktop distributions for that. But when you try to run it as Full RT it will crash. Well, at least until now, they made no fix for that. Look here https://forum.armbian.com/index. ... th-orangepi-plus-2/
I made a topic in Armbian forum and nothing was made to correct it. So, I think you better get one Atmega microcontroller and burn it with GRBL that you get it nice and working.
Published in 2025-1-11 18:43:53 | Show all floors
Quickly this particular excellent website will definitely irrefutably continually be famous among the majority of composing the weblog women and men, simply because persistent content material in addition to recommendations.        nano defense pro
Published in 2025-1-11 20:10:19 | Show all floors
Quickly this particular site may irrefutably gain popularity in between just about all running a blog as well as site-building people, in order to it's diligent articles or maybe evaluations.        LOTTERY DEFEATER
Published in 2025-1-18 22:34:16 | Show all floors
You might be allowed to submit brands, however, not back links, except if they may be accepted and also about matter.        https://foottraffic.co.za/
Published in 5 daybefore | Show all floors
Fantastic submit, Many thanks regarding revealing This kind of information. Fantasticly composed write-up, only if almost all people supplied the identical amount of articles when you, the net would have been a greater spot. You should keep writing!        https://webness.co.za/
Published in 3 daybefore | Show all floors
Thanks a lot for the purpose of rendering up to date update versions about the challenge, I just await read through further.        Bonnes pratiques de la fidélisation B2B
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list