Linuxcnc on Raspberry

More
8 years 10 months ago #103936 by goofy
Replied by goofy on topic Linuxcnc on Raspberry
Thanks a lot for your answer. Im a bit like a child, I have to try to get a LED turned on through Linuxcnc because I just want it;)

At the moment I try to get the machinekit gpio driver to Linuxcnc. Theres one user michael.oosten, he got it running. I don't know how to tell halcomp to use the needed cpuinfo.c and cpuinfo.h. I tried also to copy the relevant parts for generating hal_gpio while building from source from machinekit Makefile to Linuxcnc Makefile... it fails too.

Does anyone know how to do that?

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

  • ozzyrob
  • New Member
  • New Member
More
8 years 9 months ago #103946 by ozzyrob
Replied by ozzyrob on topic Linuxcnc on Raspberry
Stop wasting your time

Install machinekit then work out how to blink your LED, rather than trying to port a driver.

www.machinekit.io/docs/getting-started/installing-packages/

Or don't and waste time trying to port the MK driver to Linuxcnc

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

More
8 years 9 months ago #104349 by andypugh
Replied by andypugh on topic Linuxcnc on Raspberry

goofy wrote: Hi,

its probably the hundreds post to Linuxcnc on Raspberry. And I know, arm is not supported by Linuxcnc. But...


That isn't entirely true. LinuxCNC is routinely compiled on the Arm platform by the builedbot to check that is is possible, and there are even arm binary packages made:

buildbot.linuxcnc.org/dists/wheezy/maste...reempt/binary-armhf/

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

More
8 years 7 months ago #108160 by BrendaEM
Replied by BrendaEM on topic Linuxcnc on Raspberry
The Raspberry seems like it would make a wonderful computer for Raspberry PI (3). It would just need a small transistor and opto-isolator board, which there are some, but not specialized.

I am having unforeseen issues finding an old computer, and for all the hassle, I would just rather get a small modern fan-less computer, such as the Pi. Respectfully, the PI has more memory than the Beaglebone, so it seems that there is more potential.

BTW, someone has the code for a RP3 RT Kernel.
www.frank-durr.de/?p=203

"With this patched kernel, I could achieve bounded latency well below 200 microseconds on a fully loaded 700 MHz Raspberry Pi Model B (see results below). This should be safe for tasks with a cycle time of 1 ms."

Is there something about the Raspberri Pi that makes it heresy to support?

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

  • ozzyrob
  • New Member
  • New Member
More
8 years 7 months ago #108167 by ozzyrob
Replied by ozzyrob on topic Linuxcnc on Raspberry
Although not the favourite of the Hipster maker communties the BBB is a great SBC platform for CNC combined with Machinekit. The memory thing is a non issue.

The PRUSS makes hardware step\direction a doodle and superior to a Pi solution, MPG is supported by on board hardware.

I use a BBB myself, with a self designed modualr cape, and am more than happy with it.

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

More
8 years 7 months ago #108171 by andypugh
Replied by andypugh on topic Linuxcnc on Raspberry

BrendaEM wrote: Is there something about the Raspberri Pi that makes it heresy to support?


Not at all, and the Pi is supported to an extent. There is even a specific Raspberry Pi driver for the Mesa 7i90:
linuxcnc.org/docs/devel/html/man/man9/hm2_rpspi.9.html

Machinekit has a HAL driver for the RPi GPIO. I am not sure why LinuxCNC doesn't have it too. I have definitely run LinuxCNC on a Pi, and moved motors.

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

Time to create page: 0.124 seconds
Powered by Kunena Forum