Installing Linuxcnc in resberrypi

More
2 years 4 months ago #303398 by seyad
Hi guys ,
I am working on one cnc project that require linuxcnc , How can I install linuxcnc in resberry pi5. Below i given my system configration. i want install linuxcnc without using sdcard mode. is there any posssible way for this? 

System Information

Raspberry Pi 5 Model B Rev 1.0
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"

Raspberry Pi reference 2024-03-15
Generated using pi-gen, github.com/RPi-Distro/pi-gen , f19ee211ddafcae300827f953d143de92a5c6624, stage4

Linux raspberrypi 6.6.20+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linux
Revision    : c04170
Serial        : a064e408d3a64e09
Model        : Raspberry Pi 5 Model B Rev 1.0
Throttled flag  : throttled=0x50005
Camera          : vc_gencmd_read_response returned -1 error=1 error_msg="Command not registered"

Please Log in to join the conversation.

More
2 years 4 months ago #303399 by Cant do this anymore bye all
linuxcnc is part of mainline debian. Your usual method of installing packages should be ok. There are premade images but for SD card, I would try these out first to see if the RPi5 is suitable for your project.

Be warned at the moment the SPI is not a viable option for the RPi5 currently, unless you want to try via the spidev interface, but that has be found not to suitable for Realtime operation. I've attempted with Mesa hardware and it is not.

None of the projects that use the RPi4 bcxxx headers will work due to SPI now being on the RP1 chip on the PCIe bus. The only real options are direct use of the GPIO or etherent.

To use the GPIOs you will have to try this driver:
linuxcnc.org/docs/stable/html/drivers/hal_gpio.html

No drivers that can be currently used on the RPi4 (apart from the mesa ethernet drivers) can be used on the RPi5.

Even tho the Downloads page states that the RPi5 image is suitable for SPI this is not the case.

Please Log in to join the conversation.

More
2 years 4 months ago #303408 by seyad
are mentioning SPI won't work when boot image using sdcard. Actually i want know it is possible to install linuxcnc using terminal.i am using this Debian GNU/Linux 12 (bookworm in my raspberry pi

Please Log in to join the conversation.

More
2 years 4 months ago #303409 by Cant do this anymore bye all
As linuxcnc is in the debian repos
Code:
sudo apt-get linuxcnc-uspace

No, what I am saying is that Linuxcnc does not support SPI interface on the RPi5. Too many hardware changes from RPi4, no new drivers written for the RPi5.

Please Log in to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum