RPI4 Raspbian 64 bit & LinuxCNC
- tommylight
- Away
- Moderator
Less
More
- Posts: 18794
- Thank you received: 6313
11 Sep 2023 20:58 #280497
by tommylight
But they do nothing else, so does not apply to RPI.
Most small motors, bigger ones will probably stall at 750RPM, depending on the drive and voltage being fed, and the inductance of the motor.
Replied by tommylight on topic RPI4 Raspbian 64 bit & LinuxCNC
Arduino Uno, Nano etc, the small crappy ones can do 1MHz when using interrupts.I have run steppers on an Arduino this way.......
.....MOst motors give up at 750 rpm
But they do nothing else, so does not apply to RPI.
Most small motors, bigger ones will probably stall at 750RPM, depending on the drive and voltage being fed, and the inductance of the motor.
Please Log in or Create an account to join the conversation.
11 Sep 2023 21:32 #280502
by rodw
The principles apply to any CPU, more so to the Pi which has the GPIO ports and a 64 bit CPU.
Replied by rodw on topic RPI4 Raspbian 64 bit & LinuxCNC
Tommy, the comments about the arduino has not been my experience driving steppers with arduinos.The interrupt is happening regardless so there is no performance hit if you code it right. I agree with the 750 RPM.
I have run steppers on an Arduino this way.......
.....MOst motors give up at 750 rpm
Arduino Uno, Nano etc, the small crappy ones can do 1MHz when using interrupts.
But they do nothing else, so does not apply to RPI.
Most small motors, bigger ones will probably stall at 750RPM, depending on the drive and voltage being fed, and the inductance of the motor.
The principles apply to any CPU, more so to the Pi which has the GPIO ports and a 64 bit CPU.
Please Log in or Create an account to join the conversation.
18 Sep 2023 11:59 #281070
by rodw
Replied by rodw on topic RPI4 Raspbian 64 bit & LinuxCNC
I am just finishing a final build after the release of a new real time kernel patch yesterday
You can find it here in a new thread
forum.linuxcnc.org/9-installing-linuxcnc...-raspberry-pi-4b-400
I will also update my repository as I've included a few cool Linuxcnc specific switches in userdata.txt for those who want to build different branches with/without the docs.
Man the docs take forever to build!
You can find it here in a new thread
forum.linuxcnc.org/9-installing-linuxcnc...-raspberry-pi-4b-400
I will also update my repository as I've included a few cool Linuxcnc specific switches in userdata.txt for those who want to build different branches with/without the docs.
Man the docs take forever to build!
Please Log in or Create an account to join the conversation.
19 Sep 2023 21:08 #281194
by rodw
Replied by rodw on topic RPI4 Raspbian 64 bit & LinuxCNC
The Pi has a new kernel 6.54 and also today a RT patch has become available for it
New commit number is: fad58933544bb2a7b7db92847c25c79a83171fa6
More work!
New commit number is: fad58933544bb2a7b7db92847c25c79a83171fa6
More work!
Please Log in or Create an account to join the conversation.
13 Nov 2023 21:31 #285314
by mwiktowy
I ask since I suspect that is possibly what happened with an earlier version of a pre-2.9 build that I was using. It worked perfectly for a while and then an update or two later, the updates solved some graphical issues but it also developed issues where it would just e-stop mid-GCode without warning or error.
Replied by mwiktowy on topic RPI4 Raspbian 64 bit & LinuxCNC
Now that RPi LinuxCNC 2.9.1 has been released, I have imaged it onto a USB stick and have configured networking on it. Sorry if am misunderstanding the conversation here but, is it safe to update/upgrade packages via apt/synaptic or will there eventually come a kernel update that will clobber the RT kernel? I saw that you had your own repos set up to offer updates. Is there something that I need to do to make those the preferred repo?On an x86 machine an apt upgrade right now will only update security patches . As its so new, there is not much else. But it will get updates to linuxcnc. I just did a new bookworm install and there was nothing to upgrade.
If you did it on buster, there has no doubt been some point releases 9.1,9.2 etc since linxcnc made their ISO. So far in Bookworm, we have only had a 12.1 update. Remember I said it was locked to new packages?
Once Linuxcnc finally releases 2.9, It will sort out becasue we don't upgrade our versions often either.
And it is possible to do an apt full upgrade after changing sources so you can upgrade from Buster to Bullseye and then to Bookworm...
I have done this but its almost quicker to reinstall from scratch.
I am hoping this imager will also publish the linuxcnc debs so if run in an automated buildbot it could update the imager and the linuxcnc debs.
IN any case, its possible to pin repositories and pull linuxcnc from trixie or backports while running Bookworm
I ask since I suspect that is possibly what happened with an earlier version of a pre-2.9 build that I was using. It worked perfectly for a while and then an update or two later, the updates solved some graphical issues but it also developed issues where it would just e-stop mid-GCode without warning or error.
Please Log in or Create an account to join the conversation.
13 Nov 2023 21:41 #285315
by rodw
Replied by rodw on topic RPI4 Raspbian 64 bit & LinuxCNC
For the pi it may not be a good idea to do an upgrade becasue it could cause the kernel to rolll forward ahead of the PREEMPT_RT kernel we build in the installer. and this could break the RT patches. (Which happened to me when I first started to build this installer)
Now linuxcnc has debs available on its own repo, I need to rework the installer so it is more upgradable than it is currently.
Now linuxcnc has debs available on its own repo, I need to rework the installer so it is more upgradable than it is currently.
The following user(s) said Thank You: mwiktowy
Please Log in or Create an account to join the conversation.
14 Nov 2023 08:36 #285350
by elovalvo
forum.linuxcnc.org/9-installing-linuxcnc...aspberry-pi-5#285240
Replied by elovalvo on topic RPI4 Raspbian 64 bit & LinuxCNC
in this link you will find the description of my experience on the recent Raspbian 12The Pi has a new kernel 6.54 and also today a RT patch has become available for it
New commit number is: fad58933544bb2a7b7db92847c25c79a83171fa6
More work!
forum.linuxcnc.org/9-installing-linuxcnc...aspberry-pi-5#285240
Please Log in or Create an account to join the conversation.
14 Nov 2023 10:22 #285359
by rodw
Replied by rodw on topic RPI4 Raspbian 64 bit & LinuxCNC
As I noted in your thread, advancing past the PREEMPT_RT 6.1.54 kernel is not recommended because none of the later kernels have been merged into the Raspberry mainline kernel code.
The Pi has a new kernel 6.54 and also today a RT patch has become available for it
New commit number is: fad58933544bb2a7b7db92847c25c79a83171fa6
More work!
in this link you will find the description of my experience on the recent Raspbian 12
forum.linuxcnc.org/9-installing-linuxcnc...aspberry-pi-5#285240
Please Log in or Create an account to join the conversation.
21 Dec 2023 21:27 #288787
by seuchato
here you wrote "you tried this ... on a sim". I am trying to get *any* pi3/4/5 running on a sim - yet in vain. Could you shed some lights on hoe you got there, please?
My test environment
Greez
chris
Replied by seuchato on topic RPI4 Raspbian 64 bit & LinuxCNC
Phil
I have only tried this 64bit version on a sim so far.
...
here you wrote "you tried this ... on a sim". I am trying to get *any* pi3/4/5 running on a sim - yet in vain. Could you shed some lights on hoe you got there, please?
My test environment
- OpenSuse 15.5 host (can change to what is promising, I am not stubbern, well my late wife used to say I was
- 128 GB Ram
- AMD 7900 or intel i9 13900
- free disk space > 20T
- Test environment for pi3/4/5 to improve the script here
Greez
chris
Please Log in or Create an account to join the conversation.
21 Dec 2023 22:44 #288790
by phillc54
Replied by phillc54 on topic RPI4 Raspbian 64 bit & LinuxCNC
I have not used a Pi with LinuxCNC for some time now. From memory the most success that I did have was when using a Pi4 with images made by elovalvo from this forum. I seem to recall seeing him mention an image here recently.
Please Log in or Create an account to join the conversation.
Time to create page: 0.125 seconds