LinuxCNC on Raspberry Pi 5

More
2 years 11 months ago #285747 by elovalvo
Replied by elovalvo on topic LinuxCNC on Raspberry Pi 5
For those who want to use the Raspberry Pi 5 with RaspiOS 64bit containing PREEMPT_RT, an image is available at this link: drive.google.com/file/d/16kKamxMKPdYAeJp...KLf/view?usp=sharing

On this image you can easily install a version of LinuxCNC with the installer script
www.linuxcnc.org/linuxcnc-install.sh
or by downloading the latest version 2.9.1 .deb packages from here
ftp.debian.org/debian/pool/main/l/linuxcnc/?C=M;O=D
Unfortunately, packages for bookworm and arm64 are not available at buildbot.linuxcnc.org/ .

Finally you can create the latest version of LinuxCNC as reported here:
linuxcnc.org/docs/devel/html/code/building-linuxcnc.html
The following user(s) said Thank You: Calysto

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

More
2 years 11 months ago #285774 by rodw
Replied by rodw on topic LinuxCNC on Raspberry Pi 5
I reported on another thread.
Yesterday, I built a Pi5 version of the Official Linuxcnc image and shared it here
drive.google.com/file/d/1H_q0Ra-27ZDOhqu...x1f/view?usp=sharing
Upstream have included support for the pi5 but its untested due to lack hardware
Please give it a go and report back.
user = cnc 
password = cnc
run sudo menu-config to congigure wifi, locales, and user credentials
This time I added network-manager which should allow networks to be configured from the desktop

My concern here is I had to use the Raspberry 6.61 kernel to get Pi5 support but the latest RT patch is only for 6.54 so this could introduce bugs.

 

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

More
2 years 11 months ago - 2 years 11 months ago #285778 by Cant do this anymore bye all
The patches haven't been causing any issues yet. My Pi has been on for hours at a time, compileda few kernels and did a 6 minute RIP build of Linuxcnc.
Once I sort the driver out I can run a few Configs. Sims seem to be ok.

Once I've sorted my issues out I'll test your image Rod. I'm not ignoring your efforts just need to sort things out at my end.
Last edit: 2 years 11 months ago by Cant do this anymore bye all.
The following user(s) said Thank You: rodw

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

More
2 years 11 months ago #285802 by Calysto
Replied by Calysto on topic LinuxCNC on Raspberry Pi 5
I have a Mesa 7C80, I will test SPI. Are there certain test-commands?
My Pi5 will arrive soon. I hope the 7C80 will give enough power for it. Only 2.5A according to the manual, and there is an SSD connected to it.

And then there are the Elo Touch drivers, hope they work too....

I didn't make life easy by buying a 7C80............... but it looks cool :-)

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

More
2 years 11 months ago #285805 by Cant do this anymore bye all
Going by my experience the Linuxcnc hm2_rpspi driver needs a rework. So far I haven't been able to get it to work. Hopefully it shouldn't be too much or require a major rewrite.

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

More
2 years 11 months ago - 2 years 11 months ago #285809 by Calysto
Replied by Calysto on topic LinuxCNC on Raspberry Pi 5
What's the difference between hm2_rpspi and hm2_spi? As far as I know I only use hm2_spi.

edit:
answer:"The hm2_rpspi HAL driver does not use /dev/spi, instead it enables and
talks to the SPI hardware directly, so it works even if the Linux kernel
doesn't know about the SPI hardware."

But why shouldn't you use the linux-kernel for talking to your mesa card? Speed?
Last edit: 2 years 11 months ago by Calysto.

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

Time to create page: 0.084 seconds
Powered by Kunena Forum