EMC2 running on Raspberry Pi?

More
14 years 2 months ago - 14 years 2 months ago #23126 by cmorley
As I said, look in the make file:

setuid:
chown root ../bin/linuxcnc_module_helper
chmod 4750 ../bin/linuxcnc_module_helper
chown root ../bin/pci_write
chmod 4750 ../bin/pci_write
chown root ../bin/pci_read
chmod 4750 ../bin/pci_read
Last edit: 14 years 2 months ago by cmorley.

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

More
14 years 2 months ago #23405 by mungkie
cmorley wrote:

As I said, look in the make file:

setuid:
chown root ../bin/linuxcnc_module_helper
chmod 4750 ../bin/linuxcnc_module_helper
chown root ../bin/pci_write
chmod 4750 ../bin/pci_write
chown root ../bin/pci_read
chmod 4750 ../bin/pci_read



Thanks for the reply, I will get round to looking at all that stuff eventually, but am putting off any further work until I have worked out what to do about real time kernel support.

I pretty much finished up with hardware and driver hacking and put a youtube video of the RPI running a stepper system without realtime kernel support.



I get the feeling realtime kernel hacking could be a little bit too taxing for me, but will give it a try when I get the free time.

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

More
14 years 2 months ago #23449 by andypugh
mungkie wrote:

I get the feeling realtime kernel hacking could be a little bit too taxing for me, but will give it a try when I get the free time.

I hope to have a fiddle when my Pi arrives. Should be less than 8 weeks now <grrr>

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

More
14 years 2 months ago #23541 by andypugh
powet.eu/2012/07/25/raspberry-pi-xenomai/

Seems to indicate that Xenomai works. I am unclear what the relationship of rtai and xenomai is.

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

More
14 years 2 months ago #23543 by ArcEye
Andy Pugh wrote:

powet.eu/2012/07/25/raspberry-pi-xenomai/

Seems to indicate that Xenomai works. I am unclear what the relationship of rtai and xenomai is.


Well its interesting enough for me to order one through Farnells. I can spend my time trying to build real time kernels for something else, now the NCBOX is sorted!

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

More
14 years 2 months ago #23571 by mungkie
I think RTAI and xenomai merged and then split again at some point in the past and the two systems have slightly different goals, RTAI attempts to have the best latency, xenomai attempts to be extensible and have wide compatability. xenomai used to have a RTAI compatability skin but apparently this is buggy and deprecated speedwise RTAI is best followed by xenomai followed by RT_PREEMPT.

I have not been able to get xenomai to boot on my pi, but I think this maybe due to my own stupidity and problems with my cross compile environment.

I just the other day managed to get RT_PREEMPT with the newest kernel to compile and boot on my pi, so I hope to compile the RT_PREEMPT version of linuxcnc this weekend.

Please note I am very much a newbie with RT systems and know nothing about the lower level kernel stuff, I am just hacking things together and seeing what happens.

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

Time to create page: 0.094 seconds
Powered by Kunena Forum