EMC2 running on Raspberry Pi?

More
03 Jan 2013 08:01 #28333 by mungkie
Replied by mungkie on topic EMC2 running on Raspberry Pi?
Just thought I should show the breadboard setup I have done, the mcp23017 is same as on my original soldered protoboard but there is also an atmega 168 which I have been experimenting with.

Attachments:

Please Log in or Create an account to join the conversation.

More
15 Jan 2013 05:41 #28706 by wyzarddoc
Replied by wyzarddoc on topic EMC2 running on Raspberry Pi?
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

Please Log in or Create an account to join the conversation.

More
15 Jan 2013 17:38 #28716 by awallin
Replied by awallin on topic EMC2 running on Raspberry Pi?

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.

More
15 Jan 2013 18:50 #28719 by mhaberler
Replied by mhaberler on topic EMC2 running on Raspberry Pi?

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.

More
15 Jan 2013 23:23 #28727 by wyzarddoc
Replied by wyzarddoc on topic EMC2 running on Raspberry Pi?
Thanks so much for the link. I'll check it out.

Please Log in or Create an account to join the conversation.

More
20 Jan 2013 09:50 #28849 by kinsa
Replied by kinsa on topic EMC2 running on Raspberry Pi?
Did anyone got to compile linuxcnc for the ARM platform besides the simulator mode?

Regards

Please Log in or Create an account to join the conversation.

More
21 Jan 2013 17:48 #28909 by ArcEye
Replied by ArcEye on topic EMC2 running on Raspberry Pi?
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.

Please Log in or Create an account to join the conversation.

More
21 Jan 2013 18:04 - 22 Jan 2013 11:30 #28912 by kinsa
Replied by kinsa on topic EMC2 running on Raspberry Pi?
I haven't found the instructions to compile under Beaglebone either. Only the simulator mode.

UPDATE:

Got it!
./configure --with-platform=beaglebone/raspberry
Last edit: 22 Jan 2013 11:30 by kinsa. Reason: Solved

Please Log in or Create an account to join the conversation.

More
24 Jan 2013 15:32 #29066 by kinsa
Replied by kinsa on topic EMC2 running on Raspberry Pi?

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.

More
24 Jan 2013 17:23 #29068 by mhaberler
Replied by mhaberler on topic EMC2 running on Raspberry Pi?
To build for Xenomai, 2 conditions must hold:

- 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.

Time to create page: 0.232 seconds
Powered by Kunena Forum