RPI4 Raspbian 64 bit & LinuxCNC

More
05 May 2021 22:01 #208032 by Craig E
Nope both ways get the same error

configure: error: Required OpenGL header missing. Install it, or specify --disable-python to skip the parts of LinuxCNC that depend on Python
pi@raspberrypi:~/linuxcnc-dev/src $ make
Makefile:99: *** Makefile.inc must specify RTPREFIX and other variables. Stop.

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

More
05 May 2021 23:37 #208043 by andypugh
Let's step back here.

What do you want?

I know you paid for the 8GB Pi. But you don't need 8GB to run LinuxCNC.

I think that the current LinuxCNC SD card image works on the 8GB Pi, but basically by limiting it to 3GB. Have you even tried this?

What is your goal here? If you just want to make parts, I would not start where you are now.

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

More
06 May 2021 11:37 #208092 by Craig E
Fair point. I have no experience with LinuxCNC I am building a new machine. It as Slave Y axis and I wanted to be able to add a 4th Rotary axis at some point in the future. In my research LinuxCNC was rated high and has been around for a long time. I wanted a standalone system and I did not what to use on of the Chines offline controllers because I was concerned about my lack of experience and the 5 axis control.
So that is how I ended up at LinuxCNC. since I decided to use LinuxCNC I was talking to Peter at Mesa on that hardware that I needed and he told me about the 3G issue with the 8G Rpi4 and that elovalvo had a solution. so I seen this post and figured this is the version I wanted. I did not want high latency with my system and I have a 64 bit Rpi.
I am also still assembling my machine and the 7I96 borads are still on back order I have time to try to make this work. So I thought I would try to make it work.
Do you think I should go back to 32 Bit OS?

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

More
06 May 2021 13:43 #208107 by Aciera
It's just that the use of LinuxCNC on the RPi is somewhat new territory. If you are not severely constrained spacewise it might be a lot more straight forward to use a regular PC with one of the premade ISO images.

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

More
06 May 2021 14:10 #208115 by Craig E
I understand, I like challenges. As long as people are willing to help me I am willing to keep trying. I am not ready to start running my mill yet so it is not slowing me down and I am learning so its all good. If anyone is up for the challenge I am game.

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

More
06 May 2021 21:52 #208163 by Craig E
Hey All I think I was able to build it on a fresh OS install.
Now I am stuck at the Install phase.
I used elovalvo procedure with Andy's Clone file.
I used the extended wget as elovalvo cautioned me on.
Looks like it is not pointing to the correct location?

This is the error now.
pi@raspberrypi:~ $ wget ftp.it.debian.org/debian/pool/main/p/python-gtksourceview2_2.10.1-3_arm64.deb
--2021-05-06 17:39:46-- ftp.it.debian.org/debian/pool/main/p/pyt...2_2.10.1-3_arm64.deb
Resolving ftp.it.debian.org (ftp.it.debian.org)... 85.94.199.210, 2001:4b78:2000:1::1
Connecting to ftp.it.debian.org (ftp.it.debian.org)|85.94.199.210|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-05-06 17:39:47 ERROR 404: Not Found.

Thanks again for all the support!

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

More
07 May 2021 00:15 #208167 by cakeslob
Is there a specific reason you are building it all from scratch? elovalvo posted some premade images, they make it pretty easy.

Do you think I should go back to 32 Bit OS?

The limit of 3g of ram isnt that big a deal if your only running linuxcnc, I operate without issue. The 64bit does have lower latency, but I also dont run any ethernet boards.

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: Doogie

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

More
07 May 2021 02:21 #208176 by BeagleBrainz

Hey All I think I was able to build it on a fresh OS install.
Now I am stuck at the Install phase.
I used elovalvo procedure with Andy's Clone file.
I used the extended wget as elovalvo cautioned me on.
Looks like it is not pointing to the correct location?

This is the error now.
pi@raspberrypi:~ $ wget ftp.it.debian.org/debian/pool/main/p/python-gtksourceview2_2.10.1-3_arm64.deb
--2021-05-06 17:39:46-- ftp.it.debian.org/debian/pool/main/p/pyt...2_2.10.1-3_arm64.deb
Resolving ftp.it.debian.org (ftp.it.debian.org)... 85.94.199.210, 2001:4b78:2000:1::1
Connecting to ftp.it.debian.org (ftp.it.debian.org)|85.94.199.210|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-05-06 17:39:47 ERROR 404: Not Found.

Thanks again for all the support!


ftp.it.debian.org/debian/pool/main/p/pyg...2_2.10.1-3_arm64.deb

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

More
07 May 2021 12:02 #208202 by Craig E
Thank you,
I have tried that but I cannot figure out how to access the storage. no storage option shows up. Do I need to add the images on a different computer? Currently I built it on the RPi that I am going to run LinuxCNC on?
Also thanks for the Ctrl + Shif +X info I tried to change a few things but still no storage options.

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

More
07 May 2021 12:06 #208203 by Craig E
Thanks I tried that one as well I get the same results.
pi@raspberrypi:~ $ wget ftp.it.debian.org/debian/pool/main/p/pyg...2_2.10.1-3_arm64.deb
--2021-05-07 08:05:19-- ftp.it.debian.org/debian/pool/main/p/pyg...2_2.10.1-3_arm64.deb
Resolving ftp.it.debian.org (ftp.it.debian.org)... 85.94.199.210, 2001:4b78:2000:1::1
Connecting to ftp.it.debian.org (ftp.it.debian.org)|85.94.199.210|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-05-07 08:05:19 ERROR 404: Not Found.

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

Time to create page: 0.155 seconds
Powered by Kunena Forum