RPI4 Raspbian 64 bit & LinuxCNC

More
5 years 7 months ago - 5 years 7 months ago #202724 by andypugh

tjmarch wrote: Thank you Andy for the information. But I have a question if LCNC was installed with Deb files do you have to invoke rip environment? Because I installed LCNC with Debs, not a rip environment install.


No,

But, where did you get the LinuxCNC .debs from?

The LinuxCNC .debs need to match the real-time kernel. If you are installing 32-bit LinuxCNC debs from www.linuxcnc.org then you probably need to use the 32-bit preempt-rt kernel.

If you built your own debs, then you (usually) need to be running the RT kernel when you build the debs, and to have run "./debian/configure -r " prior to building the debs to set up the correct real-time hooks.
Last edit: 5 years 7 months ago by andypugh.

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago - 5 years 7 months ago #202726 by andypugh

elovalvo wrote: Install a fresh Raspbian 64 bit from this
Raspberry Pi OS (64 bit)


elovalvo:

Do you mind if I edit your first post to point out that this is the hard way to do things if you _only_ want to run LinuxCNC on the Pi, and that there exists an easier way, ie writing the "official" LinuxCNC SD card image to an SD card?
Last edit: 5 years 7 months ago by andypugh.
The following user(s) said Thank You: elovalvo

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago - 5 years 7 months ago #202762 by tjmarch
Andypugh wrote:
But, where did you get the LinuxCNC .debs from?

I used the debs from this post where I made them on the rt kernel referred to in the post so they are 64bit and built on rt kernel.
My deb files

But did not run:
"./debian/configure -r " prior to building the debs to set up the correct real-time hooks.

I used:
cd debian
"./configure uspace"

Thank you for the reply
Last edit: 5 years 7 months ago by tjmarch.

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #202779 by tjmarch
I followed directions to a tee and used the provided Deb files in this thread and realtime works, still have issue with latency and using pi camera but that was expected, sorry for the confusion. Thanks for the help AndyPugh

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #204950 by elovalvo
To continue experimenting with using LinuxCNC with a 64-bit kernel on Raspberry Pi 4 I prepared two SD images.

The first, downloadable at the following link:
Linux 5.4.61-rt37-v8 - LinuxCNC 2.8.1
is based on Linux raspberrypi 5.4.61-rt37-v8 with PREEMPT_RT and LinuxCNC 2.8.1

The second, downloadable at the following link:
Linux 5.10.25-rt35-v8 - LinuxCNC 2.9.0~pre0
is based on Linux raspberrypi 5.10.25-rt35-v8 with PREEMPT_RT and LinuxCNC 2.9.0~pre0

Both can be installed with:
Raspberry Pi Imager
that in the latest version (1.6.1) allows you to modify some startup parameters by using hidden commands that can be accessed with the CTRL+SHIFT+X key combination

I checked operation on Raspberry Pi 4 with 2GB and 4GB.
I don't have a Raspberry Pi 4 with 8GB, so it would be interesting to check how it works.
The following user(s) said Thank You: andypugh, Bari, llamatrails, rdtsc

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #204985 by andypugh
I can try it on the Pi400. (if I remember)

Would you expect it to work on the Pi3?

How did you make the images? How do these compare with the "official" images for latency?

I make the "official" images. I would be more than happy to pass that task on.

Please Log in or Create an account to join the conversation.

Time to create page: 0.538 seconds
Powered by Kunena Forum