- Posts: 1199
- Thank you received: 0
LinuxCNC on Raspberry Pi 5
- Cant do this anymore bye all
- Offline
- Platinum Member
-
Less
More
1 year 10 months ago #315756
by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic LinuxCNC on Raspberry Pi 5
Start with the official raspberry pi image, disable wayland, install the real time kernel and then the linuxcnc packages.
Please Log in to join the conversation.
1 year 10 months ago #316007
by Salame
Replied by Salame on topic LinuxCNC on Raspberry Pi 5
Was looking for info about raspberry, do you suggest to make a new buil on pi 4 because it's more stable? Or it's worth go with the 5?
Please Log in to join the conversation.
- Cant do this anymore bye all
- Offline
- Platinum Member
-
Less
More
- Posts: 1199
- Thank you received: 0
1 year 10 months ago #316037
by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic LinuxCNC on Raspberry Pi 5
Ex corporate pc is cheaper, more powerful, easier to setup than either the 4 or 5.
Please Log in to join the conversation.
1 year 10 months ago #316094
by Deje63
Replied by Deje63 on topic LinuxCNC on Raspberry Pi 5
I would say in general it is not hard to setup, you need to know how. wink
I got it finally working very well with very low latency on my RPI 5
short description:
- take Raspberry OS 64bit Lite
- install Xfce4
- build the RT kernel the usual way
- install it
- install linuxcnc
It takes some time on the RPI.
As I am writing this in Firefox on this machine, latency-histogram (was started befor starting Firefox!) is running and 17 glxgears.
To be honest, so far I am very happy with.
Attached please also find a somewhat "script" to build from scratch.
I got it finally working very well with very low latency on my RPI 5
short description:
- take Raspberry OS 64bit Lite
- install Xfce4
- build the RT kernel the usual way
- install it
- install linuxcnc
It takes some time on the RPI.
As I am writing this in Firefox on this machine, latency-histogram (was started befor starting Firefox!) is running and 17 glxgears.
To be honest, so far I am very happy with.

Attachment not found
Attached please also find a somewhat "script" to build from scratch.
Please Log in to join the conversation.
1 year 10 months ago #316147
by rodw
The builder that made it It gets the official Pi kernel code, applies the RT patch
Builds the lernel
Installs Debian and XFCE4
Install Linuxcnc from the repo at Linuxcnc.org
It should be quicker because it runs on a desktop PC and cross compiles for the Pi.
Replied by rodw on topic LinuxCNC on Raspberry Pi 5
How is that any different to the Linuxcnc image on the downloads page?I would say in general it is not hard to setup, you need to know how. wink
I got it finally working very well with very low latency on my RPI 5
short description:
- take Raspberry OS 64bit Lite
- install Xfce4
- build the RT kernel the usual way
- install it
- install linuxcnc
The builder that made it It gets the official Pi kernel code, applies the RT patch
Builds the lernel
Installs Debian and XFCE4
Install Linuxcnc from the repo at Linuxcnc.org
It should be quicker because it runs on a desktop PC and cross compiles for the Pi.
Please Log in to join the conversation.
1 year 10 months ago #316165
by Deje63
Replied by Deje63 on topic LinuxCNC on Raspberry Pi 5
I do not see Images for LinuxCNC 2.9.3 on the Download page, am I blind?
With the ones provided I ended up in 640x480 display resolution, no idea why. But I could not use it.
To me, this is a big difference.
btw. build time is no issue on the RPI5.
With the ones provided I ended up in 640x480 display resolution, no idea why. But I could not use it.
To me, this is a big difference.
btw. build time is no issue on the RPI5.
Please Log in to join the conversation.
1 year 10 months ago #316204
by rodw
Replied by rodw on topic LinuxCNC on Raspberry Pi 5
I did give them a new IMG, maybe they did not deploy it.
Can you try this version? It should fix the screen issue
drive.google.com/file/d/103AY24a8eZ18pRH...ge2/view?usp=sharing
Can you try this version? It should fix the screen issue
drive.google.com/file/d/103AY24a8eZ18pRH...ge2/view?usp=sharing
Please Log in to join the conversation.
1 year 10 months ago #316272
by Deje63
Replied by Deje63 on topic LinuxCNC on Raspberry Pi 5
Yes, this image looks much better.
As of now I did not dig deeper than display and did a short latency tests (which looks good). May be I'll try this week.
Need to adapt Byte2Bot Hat and get the Breakout board to work.
As of now I did not dig deeper than display and did a short latency tests (which looks good). May be I'll try this week.
Need to adapt Byte2Bot Hat and get the Breakout board to work.
Please Log in to join the conversation.
1 year 10 months ago #316290
by resmond
Replied by resmond on topic LinuxCNC on Raspberry Pi 5
Hi everyone
I'm new but I've been reading every scrap of info on this forum, raspberrypi.org, raspian.org and youtube on getting my Pi 5/Mesa 7i95T setup working.
I'm a bit rusty on Linux but it's coming back.
I ran though the full install a few times with the RPI5 download from the download page and got most things working - screen, network, apt updates, etc.
But I had trouble getting my 52PI m.2 NVME hat working with my drive (which is not a SATA)
I started looking through the journalctl boot files and saw quite a few bcm2835 and bcm2708 entries, so my first question shouldn't the drivers in question be bcm2712?
I see a few bcm2712 along with the others but I began to worry that I may have 'updated' my system to some older drivers for pi0/3/4 etc.
So I just downloaded:
rpi-5-debian-bookworm-6.6.54-rt39-arm64-ext4-2024-11-06-2037_qtpyvcp_stable_networkmanager.img.xz
I tried to burn it with the Raspberry image burner and it gives me an error:
Input file is not a valid disk image.
File size 6700000000 bytes is not a multiple of 512.
Did I download it incorrectly from Google Drive?
Is my 32Gb eNVME drive to small or an off brand?
Having read hundreds of posts on this WIKI over the last six weeks I'm blown away by time and effort everyone has put into this project.
Thanks for everything,
Richard
I'm new but I've been reading every scrap of info on this forum, raspberrypi.org, raspian.org and youtube on getting my Pi 5/Mesa 7i95T setup working.
I'm a bit rusty on Linux but it's coming back.
I ran though the full install a few times with the RPI5 download from the download page and got most things working - screen, network, apt updates, etc.
But I had trouble getting my 52PI m.2 NVME hat working with my drive (which is not a SATA)
I started looking through the journalctl boot files and saw quite a few bcm2835 and bcm2708 entries, so my first question shouldn't the drivers in question be bcm2712?
I see a few bcm2712 along with the others but I began to worry that I may have 'updated' my system to some older drivers for pi0/3/4 etc.
So I just downloaded:
rpi-5-debian-bookworm-6.6.54-rt39-arm64-ext4-2024-11-06-2037_qtpyvcp_stable_networkmanager.img.xz
I tried to burn it with the Raspberry image burner and it gives me an error:
Input file is not a valid disk image.
File size 6700000000 bytes is not a multiple of 512.
Did I download it incorrectly from Google Drive?
Is my 32Gb eNVME drive to small or an off brand?
Having read hundreds of posts on this WIKI over the last six weeks I'm blown away by time and effort everyone has put into this project.
Thanks for everything,
Richard
Please Log in to join the conversation.
1 year 10 months ago #316328
by ChriRas
Hello Richard,
I have the same issue with this image. I used the Raspberry Pi Imager 1.8.5 on the latest MacOS. I think it's not your setup.
Regards
Christoph
Replied by ChriRas on topic LinuxCNC on Raspberry Pi 5
So I just downloaded:
rpi-5-debian-bookworm-6.6.54-rt39-arm64-ext4-2024-11-06-2037_qtpyvcp_stable_networkmanager.img.xz
I tried to burn it with the Raspberry image burner and it gives me an error:
Input file is not a valid disk image.
File size 6700000000 bytes is not a multiple of 512.
Hello Richard,
I have the same issue with this image. I used the Raspberry Pi Imager 1.8.5 on the latest MacOS. I think it's not your setup.
Regards
Christoph
Please Log in to join the conversation.
Time to create page: 0.597 seconds
