How build Linuxcnc with xenomai3?
04 Sep 2023 09:01 #279803
by andypugh
Replied by andypugh on topic How build Linuxcnc with xenomai3?
To run with Xenomai you need to install the uspace-xenomai helper package.
Which I have definitely seen, but can't currently find.
buildbot.linuxcnc.org/dists/buster/2.8-rtpreempt/binary-amd64/
For example has the RTA version (linuxcnc-uspace-rtai_2.8.4....deb)
I think that if you compile from source and then build packages you should end up with the Xenomai helper.
Which LinuxCNC version are you using? I can try to look into this.
Which I have definitely seen, but can't currently find.
buildbot.linuxcnc.org/dists/buster/2.8-rtpreempt/binary-amd64/
For example has the RTA version (linuxcnc-uspace-rtai_2.8.4....deb)
I think that if you compile from source and then build packages you should end up with the Xenomai helper.
Which LinuxCNC version are you using? I can try to look into this.
Please Log in or Create an account to join the conversation.
04 Sep 2023 09:07 #279804
by andypugh
Replied by andypugh on topic How build Linuxcnc with xenomai3?
Incidentally, I think that you want to end up with the info line saying
"Note: Using XENOMAI (posix-skin) realtime"
github.com/LinuxCNC/linuxcnc/blob/2.8/sr...pace_xenomai.cc#L171
"Note: Using XENOMAI (posix-skin) realtime"
github.com/LinuxCNC/linuxcnc/blob/2.8/sr...pace_xenomai.cc#L171
Please Log in or Create an account to join the conversation.
- shaying526
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 1
10 Oct 2023 07:20 #282666
by shaying526
Replied by shaying526 on topic How build Linuxcnc with xenomai3?
hi
I encountered the same problem as you
I found the reason by looking at the source code of LinuxCNC, but I'm not sure if you have the same problem
The source code relies on identifying the complete character '- xenomai' in the string returned by 'uname(&u)' to determine if you are using the xenomai system
'uspace_common.h' line 365: return strcasestr (u.release, "-xenomai") != 0;
and I set 'append to kernel release' to '-xeno' at the beginning
Confirm if you have such a problem
I encountered other issues later, are you Chinese? Add WeChat or my email address
wechat:shaying526
email:solo526@126.com
I encountered the same problem as you
I found the reason by looking at the source code of LinuxCNC, but I'm not sure if you have the same problem
The source code relies on identifying the complete character '- xenomai' in the string returned by 'uname(&u)' to determine if you are using the xenomai system
'uspace_common.h' line 365: return strcasestr (u.release, "-xenomai") != 0;
and I set 'append to kernel release' to '-xeno' at the beginning
Confirm if you have such a problem
I encountered other issues later, are you Chinese? Add WeChat or my email address
wechat:shaying526
email:solo526@126.com
Please Log in or Create an account to join the conversation.
Time to create page: 0.073 seconds