LinuxCNC on Raspberry Pi 5
- cornholio
- Offline
- Platinum Member
- Posts: 991
- Thank you received: 346
Please Log in or Create an account to join the conversation.
- Salame
- Offline
- New Member
- Posts: 4
- Thank you received: 2
Please Log in or Create an account to join the conversation.
- cornholio
- Offline
- Platinum Member
- Posts: 991
- Thank you received: 346
Please Log in or Create an account to join the conversation.
- Deje63
- Offline
- New Member
- Posts: 6
- Thank you received: 0
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.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
- Posts: 10737
- Thank you received: 3541
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 or Create an account to join the conversation.
- Deje63
- Offline
- New Member
- Posts: 6
- Thank you received: 0
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 or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
- Posts: 10737
- Thank you received: 3541
Can you try this version? It should fix the screen issue
drive.google.com/file/d/103AY24a8eZ18pRH...ge2/view?usp=sharing
Please Log in or Create an account to join the conversation.
- Deje63
- Offline
- New Member
- Posts: 6
- Thank you received: 0
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 or Create an account to join the conversation.
- resmond
- Away
- New Member
- Posts: 15
- Thank you received: 3
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 or Create an account to join the conversation.
- ChriRas
- Offline
- New Member
- Posts: 1
- Thank you received: 0
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 or Create an account to join the conversation.