Raspberry Pi 4 Tutorial - fatal error

More
19 Sep 2019 17:53 - 19 Sep 2019 17:53 #145608 by andypugh
Replied by andypugh on topic Raspberry Pi 4 Tutorial

I'm assuming that when everything's done, it's all going to be DIN rail mounted.


Given that the lathe belonged to one attendee, the stepper drives to another, and that the Pi and Mesa cards went home with me, it is anyones guess what the final system will look like ;-)
Last edit: 19 Sep 2019 17:53 by andypugh.

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

More
24 Nov 2019 03:53 #151092 by chopper79
Replied by chopper79 on topic Raspberry Pi 4 Tutorial
Working on getting my rpi4 up and running and have run into an issue when trying to build and install.

I followed the tutorial by JT (Thank you for the work) multiple times to see if maybe I missed something. After the 4th attempt and also using copy and paste into the terminal I still can not get it to build.

1) Verified using 4.19.71-rt24-v7l+ #1 SMP PREEMPT RT by using "uname -a"
2) Verified successfully configured for 'uspace-Raspbian-10'-'uspace'..
3) Followed all instructions 4 times and keep ending up at the same spot.

On the rpi I do not get the deb packages only the following.

1) linuxcnc_2.8.0~pre1.dsc
2) linuxcnc_2.8.0~pre1_armhf.build
3) linuxcnc_2.8.0~pre1.tar.xz

In the terminal I get the errors shown on the picture

Any input on what I could be missing to get past this spot?

Thank you

Attachments:

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

More
24 Nov 2019 11:59 #151102 by andypugh
Replied by andypugh on topic Raspberry Pi 4 Tutorial
Do you _need_ a deb package?
I confess that I gave up trying to make debs on Rapbian10, which is why the Pi4 SD card image that I distributed was a run-in-place build.

If you can put up with typing . ./scripts/rip-environment every time you want to start linuxcnc, or are happy to create a desktop item that calls ~/linuxcnc-dev/scripts/linuxcnc then there isn't much disadvantage to it.
The following user(s) said Thank You: chopper79

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

More
26 Nov 2019 02:06 #151274 by chopper79
Replied by chopper79 on topic Raspberry Pi 4 Tutorial
I tried a few more things and then downloaded the .img file you referenced. The .img file runs good on my pi with a max of 32652 on the servo thread after 24hrs and 8 glxgears running. This also includes the occasional file open or transfer as well.

Excited to hook up my 7i76e to it and see how the machine runs.

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

More
12 Dec 2019 05:06 #152518 by RyanG
Replied by RyanG on topic Raspberry Pi 4 Tutorial
Hey guys, I have downloaded the 4.19.71-rt24-v7l+.tar.bz2, linuxcnc-doc-en_2.9.0_pre0_all.deb and the linuxcnc-uspace_2.9.0_pre0_armhf.deb from Gene's linux box on to a USB stick. How do I install this on the Pi from the stick? I noticed that John T's instruction guide has you go online and download the files from github, but I already have them. Can someone point me in the direction of installing them from the USB drive? Thank you in advance

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

More
13 Dec 2019 08:15 #152593 by andypugh
Replied by andypugh on topic Raspberry Pi 4 Tutorial
You can install debs with apt. But you need to give a path or apt doesn't know where to look.

so something like:

sudo apt install ./linuxcnc-uspace_2.9.0_pre0_armhf.deb

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

More
16 Dec 2019 21:59 #152768 by AgentWD40
Replied by AgentWD40 on topic Raspberry Pi 4 Tutorial
Has anyone been using their rpi4 to actually run a machine for a while now? Is it reliable? I would really like to use it to run plasmaC but I also don't want to waste too much time on it if it's too "experimental".
The following user(s) said Thank You: grigory

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

More
17 Dec 2019 00:31 #152771 by RyanG
Replied by RyanG on topic Raspberry Pi 4 Tutorial

You can install debs with apt. But you need to give a path or apt doesn't know where to look.

so something like:

sudo apt install ./linuxcnc-uspace_2.9.0_pre0_armhf.deb



Got it. Thank you!

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

More
24 Dec 2019 01:50 - 24 Dec 2019 05:04 #153147 by AgentWD40
Replied by AgentWD40 on topic Raspberry Pi 4 Tutorial
I've got some additional instruction you could add to your tutorial.

On the Preempt RT Kernel, after burning the image to the SD card, and before booting into it on the pi, add a file in the ?:\Boot partition simply called wpa_supplicant.conf and another called ssh.txt. Add the following to wpa_supplicant.conf:
country=US # Your 2-digit country code
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
    ssid="YOUR_NETWORK_NAME"
    psk="YOUR_PASSWORD"
    key_mgmt=WPA-PSK
}

You can leave the ssh.txt file empty, simply having it there will cause the pi to enable ssh at boot.

I needed to do this because I've discovered I don't have the correct HDMI adapter and so can't put a monitor on my rpi yet. Obviously
you'll need a monitor to run linuxcnc anyway but at least now I can get a head start with the kernel and other setup.

howchoo.com/g/ndy1zte2yjn/how-to-set-up-...-pi-without-ethernet

{EDIT}

It might be a good idea to clarify to the audience that the following line
KERNEL=kernel7l
is kernel7"L" and not kernel7"one". Took me a few minutes to figure out where I messed that up. The fix is simply to rename the file correctly in the /boot dir.
Last edit: 24 Dec 2019 05:04 by AgentWD40.

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

More
24 Dec 2019 08:54 #153153 by Mike_Eitel
Replied by Mike_Eitel on topic Raspberry Pi 4 Tutorial
I install very successful
xrdp
With any rdp you can use your pi without screen. I prefer this advers the vnc. My feeling is that performance is better, also starting from pi2.
Mike

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

Time to create page: 0.139 seconds
Powered by Kunena Forum