Linuxcnc Image for Raspberry Pi 3

More
29 Nov 2021 17:24 #227928 by tsewell
Does anyone have an image they could share for Linuxcnc for a Pi 3? I know this Pi is not as preferred as the 4, but it should do fine with the 7C80 I have it mounted on (using SPI instead of ethernet). Most of the links I have found in this forum using the search no longer work.

Thanks,

Travis

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

More
29 Nov 2021 19:32 #227939 by tommylight
Did you try the one found here:
linuxcnc.org/downloads/

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

More
29 Nov 2021 20:03 #227941 by tsewell
My understanding is that that image is for the Pi4. I did try it however, and it did not boot on the Pi3- I got a rainbow screen with no progress from there.

Thanks though!

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

More
29 Nov 2021 22:28 #227955 by tommylight
Find an official image that works on PI3, then try to install one of these kernels:
github.com/kdoren/linux/releases
If that goes OK, follow the instructions on buildbot.linuxcnc.org to add the repositories and install LinuxCNC.
I could not find any ready made image.
The following user(s) said Thank You: tuzki

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

More
07 Dec 2021 09:41 #228520 by rodw
I think I'd try getting Debian 11 up and running. Then get the preempt_rt  kernel from the debian repos.
You will need to compile Linuxcnc from scratch but that is not overly hard (not sure on the Pi though)

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

More
07 Dec 2021 10:34 #228524 by slc
This just came up on Youtube yesterday.
It's not a link to a compiled image but worth a look.



I have just compiled linuxcnc on an Xubuntu system to use as a simulator for checking gcode files, it is not difficult just a bit of a faff managing dependencies.

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

More
10 Dec 2021 20:00 #228800 by tsewell
After some research and fiddling, I was able to get the 2.8.0 image to boot on my PI 3B!

In config-rt.txt file on the SD card (once the image was flashed to the SD using the Raspberry PI tool) I changed this:

[pi4]
kernel=vmlinuz-4.19.71-rt24-v7l+
force_turbo=1

to this:

[pi3b]
kernel=vmlinuz-4.19.71-rt24-v7l+
force_turbo=1

I still got the CPU 0 error on initial power up, but it seems to boot and work just fine. 

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

More
10 Dec 2021 20:50 #228816 by tsewell
On version 2.8.1, I did the above, plus renamed the kernel from kernel7l to kernel, and it booted just fine as well!

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

Time to create page: 0.259 seconds
Powered by Kunena Forum