Thank you, Rod! Will definitely try that one. We need to find some official instructions for the RPi4/5 installation, I suggest. I looked through our documentation today but did not find anything beyond the use of RPi GPIOs.
After Seb's comment on using the wrong kernel I had a bit of a facepalm moment - thank you, Seb! Then I installed a regular arm64-rt kernel but that then ruined the RPi setup, so after a reboot I had no more Wifi and (worse) the ventilator was a max, even though the same wrong stock kernel was booting after the reboot. Sounds like flashing a new SD card to me. And it also sounds like a guarantee to lose all our new LinuxCNC users on an RPi. We can certainly do a lot via our custom images for which we could come up with an RPi5 variant, but preferably we'd have someone in an official position to prepare the RPi5-rt kernels for everyone, as part of the Raspbian or Debian distribution, not just us for ourselves. Is there anyone on this list who would know whom to ask? Best, Steffen > Gesendet: Mittwoch, 27. Dezember 2023 um 22:24 Uhr > Von: "Rod Webster" <r...@vehiclemods.net.au> > An: "EMC developers" <emc-developers@lists.sourceforge.net> > Betreff: Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests - > first impressions > > You could try this image that contains preempt_rt for the Pi 5 (Linuxcnc > 2.9.1) > https://drive.google.com/file/d/1H_q0Ra-27ZDOhquvq179beUZQNVlex1f/view?usp=drive_link > I don't have a Pi5 to test it but others say it worked. > > This is an updated image from our Raspberry Pi 4 one that is built for > the newer Pi 5 CPU > sudo apt upgrade should update to 2.9.2 > > Rod Webster > *1300 896 832* > +61 435 765 611 > Vehicle Modifications Network > www.vehiclemods.net.au > > > On Thu, 28 Dec 2023 at 06:46, Sebastian Kuzminsky <s...@highlab.com> wrote: > > > On 12/27/23 13:38, Steffen Möller via Emc-developers wrote: > > > > > >> Gesendet: Mittwoch, 27. Dezember 2023 um 17:13 Uhr > > >> Von: "andy pugh" <bodge...@gmail.com> > > >> An: "EMC developers" <emc-developers@lists.sourceforge.net> > > >> Cc: "Steffen Möller" <steffen_moel...@gmx.de> > > >> Betreff: Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests > > - first impressions > > >> > > >> On Wed, 27 Dec 2023 at 15:20, Steffen Möller via Emc-developers > > >> <emc-developers@lists.sourceforge.net> wrote: > > >> > > >>> My RPi5 arrived over Xmas and I just fired it up, was offered to > > install LinuxCNC directly from what we offer in Debian, and then ran > > latency tests. Graphics (as in video but also the extra art from your X > > interface when ALT-tabbing through your applications) have the most effect > > on the latency. I/O from the SD does not seem to affect it too much. > > >> > > >> The numbers you show are _awful_ though? > > >> > > >> It doesn't look like the LinuxCNC installation has installed the > > >> correct kernel. (I seem to recall that I had to do a fair bit of > > >> fiddling to make it happen, it's a Pi thing) > > > > > > Rebooted with > > > Linux version 6.1.0-rpi7-rpi-2712 (debian-ker...@lists.debian.org) > > (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) > > #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) > > > but do not see any relevant change. > > > > That's the wrong kernel: "PREEMPT" is not enough, you need "PREEMPT_RT" > > in the uname string. > > > > This is usually the difficult part of getting systems with out-of-tree > > vendor-specific kernels to work well with LinuxCNC. > > > > > > -- > > Sebastian Kuzminsky > > > > > > > > _______________________________________________ > > Emc-developers mailing list > > Emc-developers@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-developers > > > > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers