Linuxcnc Image for Raspberry Pi 3
29 Nov 2021 17:24 #227928
by tsewell
Linuxcnc Image for Raspberry Pi 3 was created 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
Thanks,
Travis
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
29 Nov 2021 19:32 #227939
by tommylight
Replied by tommylight on topic Linuxcnc Image for Raspberry Pi 3
Did you try the one found here:
linuxcnc.org/downloads/
linuxcnc.org/downloads/
Please Log in or Create an account to join the conversation.
29 Nov 2021 20:03 #227941
by tsewell
Replied by tsewell on topic Linuxcnc Image for Raspberry Pi 3
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!
Thanks though!
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
29 Nov 2021 22:28 #227955
by tommylight
Replied by tommylight on topic Linuxcnc Image for Raspberry Pi 3
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.
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.
07 Dec 2021 09:41 #228520
by rodw
Replied by rodw on topic Linuxcnc Image for Raspberry Pi 3
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)
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.
07 Dec 2021 10:34 #228524
by slc
Replied by slc on topic Linuxcnc Image for Raspberry Pi 3
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.
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.
10 Dec 2021 20:00 #228800
by tsewell
Replied by tsewell on topic Linuxcnc Image for Raspberry Pi 3
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.
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.
10 Dec 2021 20:50 #228816
by tsewell
Replied by tsewell on topic Linuxcnc Image for Raspberry Pi 3
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.073 seconds