RPI4 Raspbian 64 bit & LinuxCNC

More
09 Feb 2023 18:10 #264156 by beaker152

The default subnet for 10.n.n.n is /8, so PCW's advice to set it to /24 is very good.
There might be an issue if you are using WiCD to configure and connect to networks as it does not allow 2 connections at the same time, so removing WiCD and installing network-manager should fix that.

so far, i have only gone with the defaults...   we have xfinity here, and just went with the basic instructions when i set up that router and
haven't done anything beyond defaults to the rpi..
i'm not familiar with WiCD, but will check into that and network-manager and give that a try--thank you for the suggestions!

i'd also like to say that this forum is tremendously helpful and i really appreciate all of you taking the time to engage.

~steve
The following user(s) said Thank You: tommylight

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

More
10 Feb 2023 20:51 - 10 Feb 2023 20:55 #264248 by DrKnow65

As a new version of both RaspiOS is available
(www.raspberrypi.com/software/operating-systems/)
Release date: September 22nd 2022
System: 64-bit
Kernel version: 5.15
Debian version: 11 (bullseye)

that of the PREEMPT_RT patch
github.com/kdoren/linux/releases
Raspberry Pi realtime Kernel (5.15.65-rt49)

similarly to what has been done in the past
forum.linuxcnc.org/9-installing-linuxcnc...cnc?start=130#238020

I have prepared the microSD image of this installation
Linux raspberrypi 5.15.65-rt49-v8+ #1 SMP PREEMPT_RT Tue Sep 6 18:12:35 BST 2022 aarch64 GNU/Linux





I have installed via the images provided here. I am using a Rpi4-4gb and testing on a 7i92t with the intent of eventually using SPI to a 7i90HD. My intent is to first get everything up and running via ethernet, then start the process of sorting the SPI interface. 

I have an error using PNCconf when it gets to the Mesa Card 0 configuration page. I believe there is a missing dependency. 

 
 
 

Attachments:
Last edit: 10 Feb 2023 20:55 by DrKnow65. Reason: deleting some of the quoted post

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

More
12 Feb 2023 09:52 - 12 Feb 2023 09:53 #264347 by elovalvo

is there a way to replace the 5.x kernel i have currently with that 6.0.15 kernel? or would i have to recompile/rebuild the whole thing from scratch?

i found some build instructions here:
forum.linuxcnc.org/9-installing-linuxcnc...mpt-rt-kernel#259347
and tried it the other day, but it seems that script didn't run to completion for me as written and i didn't have enough time to sort out all the edits required to get the last 2% working...

cheers!


To avoid the problems of compilation and updating I prepared the image of the experimental version of which I spoke in this link.

forum.linuxcnc.org/9-installing-linuxcnc...cnc?start=170#264143

linuxcnc_book.zip

Get a new SD, install this ready-made image and try with the Mesa card.
user: cnc
pwd: linuxcnc


Let us know.
Last edit: 12 Feb 2023 09:53 by elovalvo.
The following user(s) said Thank You: beaker152

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

More
12 Feb 2023 16:30 #264363 by beaker152
i'm out of the country for a week, but will definitely try it when i get back and report how it goes

thank you!

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

More
13 Feb 2023 21:28 #264461 by cajbr
Thanks elovalvo.

Newest image from 12 Feb above.

I ran the latency test for a couple of hours with 10 Glxgears, etc. Servo thread +/- 110us maximum.

Ran a 7i96s configuration with steppers+spindle encoder. Realtime errors after a while with 1ms thread; no issues with 2ms thread (as expected?).

Overall snappy performance in spite of the 2K monitor I used.

br
The following user(s) said Thank You: elovalvo

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

More
13 Feb 2023 23:25 - 13 Feb 2023 23:38 #264472 by rodw
INterestingly I found these debian images
sd-card-images.johang.se/

Choose the Debian Image and install xfce using tasksel. I will try this today some time
 
Last edit: 13 Feb 2023 23:38 by rodw.

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

More
17 Feb 2023 06:55 #264683 by DrKnow65
I have burned the "linuxcnc_book" image to an SD, put it into my Rpi4x4gb and tried to open PNCconf. I get the same error as I attached to post #264248.

I appreciate the work you are putting in elovalvo, I would love the effect of a fully functional image when it comes together.

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

More
17 Feb 2023 16:19 - 17 Feb 2023 16:31 #264701 by elovalvo
I've never had a MESA card but I think you can try this:

From terminal run these commands:

sudo apt install mesaflash
wget https://github.com/jethornton/mesact/releases/download/1.2.3/mesact_1.2.3_arm64.deb
sudo gdebi mesact_1.2.3_arm64.deb

Once this is done run the Mesa Configuration Tool with the command
mesact
 

Select the card and download the firmware. Then select the various options.

gnipsel.com/linuxcnc/mesact/index.html

Run pncconf without the "show advanced option pages" option

Maybe something settles down...
Last edit: 17 Feb 2023 16:31 by elovalvo.
The following user(s) said Thank You: DrKnow65

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

More
17 Feb 2023 18:04 #264707 by DrKnow65
Thank you for the reply, I did something similar but just started with a 32bit RaspiOS and compiled from there.

After some shut-eye today I will attempt a 64bit version.

I will re-build PNCconf on the LinuxCNC_book version too so I can give feedback if it fixes the issue.

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

More
18 Feb 2023 10:25 #264745 by elovalvo

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

Time to create page: 0.176 seconds
Powered by Kunena Forum