Seb,

This is a pretty big topic. There are others with more knowledge than I.  I
am a few months out of date.
I would try and keep it in the debian family using one of their prebuilt
raspberry images rather than the official raspberian releases.
https://raspi.debian.net/tested-images/
on Bookworm, linuxcnc-uspace exists in the repository but as you note
PREEMPT_RT is currently missing in the debian repos. Maybe you guys can fix
that.
These images do not install a graphical environment but this can be done
with tasksel after installation.

There are semiofficial PREEMPT_RT debs here:
https://raspi.debian.net/tested-images/

The issue you have is VTK is not supported on the pi-64. You can compile it
on the Pi but it needs a big memory card (32-64 gb) and takes 5+ hours. I
have done it.

Don't forget to install qt5 for the newer GUI's
https://www.tal.org/tutorials/building-qt-515-raspberry-pi I can't quite
remember how I did it.

Probably the most promising path is David Smith's image builder which
includes a prebuilt vtk .whl file (and Linuxcnc)
https://github.com/djsftree/rpi-img-builder
The whl is in files/userscripts
This image is cross compiled on a normal linux box. I used a virtual
terminal on my windows machine
This is a topic on the forum somewhere. You can contact David  via email on
d...@fathomtreeltd.com. He will be very helpful.

This builder also includes  ethercat installed from an unofficial repo
maintained by the etherlabmaster team.
As an aside, there is no mention of Beckhoff copyright on the new
etherlabmaster repo https://gitlab.com/etherlab.org/ethercat and shows as
100% open source so I think it would satisfy the debian masters. They build
debs for every platform and OS.

So yes despite what @gene thinks, 64 bit will work on the pi using bullseye
or bookworm. Its currently a bit of a journey though.
Its worth it as the latency is very good, similar or better to a Celeron so
many of us use.

Good luck!

Rod Webster
*1300 896 832*
+61 435 765 611
Vehicle Modifications Network
www.vehiclemods.net.au


On Thu, 15 Sept 2022 at 04:54, Sebastian Kuzminsky <s...@highlab.com> wrote:

> Hi folks, with all the attention that newer distros have been getting
> lately, I'm looking in to running LinuxCNC On the Bullseye version of
> Raspberry Pi OS (aka Raspbian) on a Raspberry Pi 4B.
>
> It looks super straight-forward, except for the realtime kernel (as
> usual).  I don't see a modern kernel built with Preempt-RT enabled in
> the raspbian bullseye package archive...
>
> Does anyone know if there's a well-liked pre-built official or
> community-supported Rpi4 realtime kernel somewhere?
>
> Or do I have to reconfigure & rebuild the "official" kernel?
>
>
> --
> 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

Reply via email to