EMC2 running on Raspberry Pi?
- mungkie
- Offline
- Premium Member
-
- Posts: 91
- Thank you received: 5
Please Log in or Create an account to join the conversation.
- wyzarddoc
- Offline
- New Member
-
- Posts: 5
- Thank you received: 0
thanks in advance
Doc
Please Log in or Create an account to join the conversation.
- awallin
- Offline
- New Member
-
- Posts: 15
- Thank you received: 1
I would like to install real time linux on a RPi and use it to schedule the gpio communication only. What software pieces do I need? I do not need the CNC portions of LinuxCNC, nor the HAL portion or do I to run the gpio? I just want a realtime version of raspbian with realtime gpio. Suggestions?
thanks in advance
Doc
see this wiki page
wiki.linuxcnc.org/cgi-bin/wiki.pl?NewRTInstall
There might be an existing GPIO-driver that works through HAL. If you code your own using xenomai real-time api/libs you don't need HAL, or even RTAPI - I think.
AW
Please Log in or Create an account to join the conversation.
- mhaberler
- Offline
- Moderator
-
- Posts: 76
- Thank you received: 4
see this wiki page
wiki.linuxcnc.org/cgi-bin/wiki.pl?NewRTInstall
There might be an existing GPIO-driver that works through HAL. If you code your own using xenomai real-time api/libs you don't need HAL, or even RTAPI - I think.
AW
there is a basic hal_gpio driver which works on the RPI in this branch. It would benefit from polishing, and speeding up.
- Michael
Please Log in or Create an account to join the conversation.
- wyzarddoc
- Offline
- New Member
-
- Posts: 5
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- kinsa
- Offline
- Junior Member
-
- Posts: 38
- Thank you received: 2
Regards
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
-
- Posts: 22
- Thank you received: 240
sourceforge.net/mailarchive/forum.php?forum_name=emc-developers
I think they dropped the RPi as being too low powered to make a realistic platform, but there was quite a lot of work on the Beagelbone.
Please Log in or Create an account to join the conversation.
- kinsa
- Offline
- Junior Member
-
- Posts: 38
- Thank you received: 2
UPDATE:
Got it!
./configure --with-platform=beaglebone/raspberryPlease Log in or Create an account to join the conversation.
- kinsa
- Offline
- Junior Member
-
- Posts: 38
- Thank you received: 2
All the discussion etc is on the developers list
sourceforge.net/mailarchive/forum.php?forum_name=emc-developers
I think they dropped the RPi as being too low powered to make a realistic platform, but there was quite a lot of work on the Beagelbone.
I've got it running under Xenomai. Initial results seems good but not suitable for sw stepgen. I'm planning to pair this with a low cost FPGA board and see how it goes.
Please Log in or Create an account to join the conversation.
- mhaberler
- Offline
- Moderator
-
- Posts: 76
- Thank you received: 4
- the Rpi must be running a Xenomai kernel
- the Xenomai userland support package must be installed (git.xenomai.org/?p=xenomai-2.6.git;a=summary)
configure.log will tell how that detection goes.
As far as I am concerned, the raspberry platform option will stay in the code, but I will not put any effort into packaging or usability; if somebody else does, I'm happy to integrate patches.
- Michael
Please Log in or Create an account to join the conversation.