Advanced Search

Search Results (Searched for: )

  • unknown
  • unknown
19 Oct 2025 07:00
Replied by unknown on topic Update LinuxCNC 2.9.5 on debian 13

Update LinuxCNC 2.9.5 on debian 13

Category: Installing LinuxCNC

After some testing and having my machine up for 39 days a network manager doesn't really affect latency, well at least on the RPi5 (I replaced the Odroid with the RPi5). And it does make it easier to turn wifi off when needed.
  • unknown
  • unknown
19 Oct 2025 06:55 - 19 Oct 2025 06:56

Proposal RPi Linuxcnc Image Based on Raspi OS All welcome/encoraged to comment

Category: Installing LinuxCNC

A couple of things related to choosing a Kernel for Linuxcnc.

For the RPi4 you require options for the bcm2711 in the config.
For the RPi5 you require options for the bcm2712 in the config.

The change of the SoC broke a lot of stuff that broke GPIO stuff. What previously worked on the RPi4 failed on the RPi5. In the context of Linuxcnc this required a rewrite of the SPI driver for the RPi5.

For both SoCs
CONFIG_PREEMPT_RT=y
must be set. Otherwise we dont get the real time model required.

In the link you gave for the configs only the bcm_2711 rt config has that option set. The bcm_2712 config does not.

With regards to the kernel version the one on the image is uname -a
Linux raspberrypi 6.12.11 #1 SMP PREEMPT_RT Mon Jan 27 00:10:15 AEDT 2025 aarch64 GNU/Linux

This was built from the 6.12.y branch in January. Whilst not to up to date 6 months later it was in January and has proved to be stable. With regards to the kernel itself there have been no reports of crashing, except one user whilst using GMOCCAPY but this was traced to zram swap issue.

This is the one running my RPi5 on the mill, it's been up for 39 odd days with no issues. Having the power saving stuff turned off on the wifi has been constantly connected for those 39 days. Usually it powers down after some time.
  • gravedigger
  • gravedigger
19 Oct 2025 05:58
7i96 sand Spindle Servo was created by gravedigger

7i96 sand Spindle Servo

Category: Driver Boards

I bought a spindle servo and i am unsure about the wiring on the 7i96s. Do I need 4 resistors for the 4 step/dir inputs or can I do it without them?

I connect 5V and 0V as well as step+, step-, dir+, and dir-. Which encoder outputs do I need for rigid tapping on the milling machine?
 
 
  • unknown
  • unknown
19 Oct 2025 05:51

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

The issue has been with the live-build prior to the Trixie release.

The function that installs the firmware prior to Trixie doesn't blacklist unneeded firmware packages depending on the architecture. So when you run the installer from the ISO it installs all firmware packages regardless of architecture. This could have been mitigated by removing the raspi-firmware at the final stage of the installer by adding a line to preseed that instructs the installer to remove the raspi-firmware package. Basically what a user is needs to do when the error pops it's head up during an update.
On my bookworm machine instead of using the package that is in the bookworm repo I built a live-build package on bookworm using the Trixie sources. An extra line is added to the config, indicating that it's amd64 we're building an ISO for and the "blacklist function" kicks in and the raspi-firmware (and some others unrelated to amd64) are never installed when the installer is run from the ISO.

So to conclude:
It comes down to the version of live-build being used.
Bookworm version of live-build is (1:20230502), this causes the issue.
Trixie version of live-build is (1:20250505+deb13u1), this has no issues as long as --architectures amd64 is in the config file used by live build.
To install live-build (1:20250505+deb13u1) on Bookworm you need to build the package from source and install the package you just built. Also the additional line in the config file.

Building an ISO of a machine running Trixie that was successful gave me an idea as what the issue maybe. Installing the package for Trixie on Bookworm was no help, it was required to build from source.

I pretty much describe the issue in this post:
forum.linuxcnc.org/9-installing-linuxcnc...-iso?start=20#336448
  • f355
  • f355's Avatar
19 Oct 2025 05:41

Proposal RPi Linuxcnc Image Based on Raspi OS All welcome/encoraged to comment

Category: Installing LinuxCNC

I've tried looking for a RT_PREEMPT kernel in the repos, but could only find kernels that were configured for Real time not Preemptive real time (which is what Linuxcnc requires).


the packages are on archive.raspberrypi.org . you want linux-image-6.12.34+rpt-rpi-v8-rt, it works for both RPi 4 and 5. there's a meta package linux-image-rpi-v8-rt that depends on the latest version of the RT kernel, but it gives you auto-updates with apt, which is not necessarily a good idea (e.g. the currently-latest 6.12.47 is hanging my Pi5 sometimes).

it is a proper PREEMPT_RT kernel:
$ uname -a
Linux ratcage 6.12.34+rpt-rpi-v8-rt #1 SMP PREEMPT_RT Debian 1:6.12.34-1+rpt1 (2025-06-26) aarch64 GNU/Linux

in order for bootloader to use it, you need to add kernel=kernel8_rt.img to /boot/firmware/config.txt.

the kernel configs themselves are here .
  • rodw
  • rodw's Avatar
19 Oct 2025 02:44
Replied by rodw on topic WCS Problem with Linuxcnc/qtdragon

WCS Problem with Linuxcnc/qtdragon

Category: General LinuxCNC Questions

Normally you would home the machine and then touch off on the workpiece origin. the buttons are there to do this but you can do it in gcode with G54
Maybe with your machine you always machine a full sheet but you still need to set the part origin. 
  • rodw
  • rodw's Avatar
19 Oct 2025 02:30

Proposal RPi Linuxcnc Image Based on Raspi OS All welcome/encoraged to comment

Category: Installing LinuxCNC

Sorry, I have no idea about the Pi... but I did get the 4b working years ago.
  • rodw
  • rodw's Avatar
19 Oct 2025 02:29

New Probe Basic install - error during install.

Category: QtPyVCP

probe basic is not part of the linuxCNC project. You could look at qtdragon which is well documented and is part of the project. But as Tommy said, get a working system that uses axis first.
  • tommylight
  • tommylight's Avatar
19 Oct 2025 02:05

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

What am i missing? Seeing you all jump through so much hoops makes me wonder what are you using as a starting point?
Back when i tested Debian BookWorm 12.2 and 12.5, i downloaded the Live ISO with XFCE, remastered it and tested, it worked and did not have raspi issues. Did the same things with 12.2 Mate edition, also no raspi issues.
Granted i used the LinuxCNC version that was on Debian repos, but still, this should not matter.
Sorry, but i feel really bad seeing you go through all the trouble.
Is there something i can help with?
P.S.
Rob, sorry, i did download your ISO but did not get to testing it.
  • DavidR8
  • DavidR8
19 Oct 2025 00:29 - 19 Oct 2025 01:49

New Probe Basic install - error during install.

Category: QtPyVCP

Well I tried again with a fresh LCNC install and I got almost all the way through the Probe Basic install.

Got this error on the last installation command: sudo dpkg -i python3-probe-basic_0.6.0-118.dev_amd64.deb

I looked for the application and found it but not a debian version.
Surely something is wrong with the instructions if I'm having this many issues. 
 
  • rodw
  • rodw's Avatar
19 Oct 2025 00:14

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

Building on a system running Debian Trixie raspi-firmware IS NOT installed. (built twice on 2 different machines)
Building on a system running Debian Bookworm raspi-firmware IS installed. (single build only attempted)
This is because they fixed it (it's actually fixed in Debian 12.1) 

bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065640

They fixed the Debian release files it never pushed their changes to the Debian builder until Trixie. Very annoying.
  • rodw
  • rodw's Avatar
19 Oct 2025 00:08
Replied by rodw on topic Tutorials

Tutorials

Category: LinuxCNC Documents

Here is an installation tutorial for Debian Trixie fresh off the press today


But yes, the 1500 pages of documentation is my go to guide...
  • unknown
  • unknown
19 Oct 2025 00:05

Proposal RPi Linuxcnc Image Based on Raspi OS All welcome/encoraged to comment

Category: Installing LinuxCNC

Hiya Rod ;)

From memory the Debian Rpi kernels lacked support for overlays, which was a show stopper for SPI.

ATM I'm cross compiling a kernel from the 6.12.y branch, I think that was what was used in the January build.
  • rodw
  • rodw's Avatar
18 Oct 2025 23:54

Proposal RPi Linuxcnc Image Based on Raspi OS All welcome/encoraged to comment

Category: Installing LinuxCNC

Debian includes a RT kernel for the Pi 4b and it is possible to get a working RT linuxcnc install using the Debian images. But the RT kernel was not installed as a dependency from linuxcnc-uspace and needed installing separately with something like sudo apt install linux-image-rt-$uname -r) (might not have that correct. The only catch is that the images only install a text terminal with a root user. You needed to add a user, add sudo rights and then install xfce to get a working system ut it is quite doable. Sadly it does not appear support continued to the pi5.
Displaying 2206 - 2220 out of 22468 results.
Time to create page: 0.641 seconds
Powered by Kunena Forum