Raspberry Pi 4 Tutorial - fatal error

More
16 Apr 2020 22:48 #164208 by LearningLinuxCNC
Ok, Figured this one out.

To get halcompile to work you need to install linuxcnc-uspace-dev.

This is compile and put in a .deb file when you perform the steps in the installation.

For me to install this I had to go to the main user directory ~ in my case /home/pi/

I had to install a dependency
sudo apt-get install python-serial

Then i could dpkg the linuxcnc-uspace-dev .deb file
sudo dpkg -i linuxcnc-uspace-dev_2.8.0~pre1_armhf.deb

Now halcompile works and I am happy again!
The following user(s) said Thank You: phillc54, daidai

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

More
12 May 2020 03:10 #167452 by BlueChicago
Replied by BlueChicago on topic Raspberry Pi 4 Tutorial
I appear to have managed to install Raspbian RT, and I am now at the stage where I am installing LinuxCNC, where I am to edit out the two lines of dependencies in the debian/control.bottom.in file. However, the instructions don't quite match what I am seeing in the file:
python-vte | gir1.2-vte-2.91,

as opposed to just:
python-vte,

I am a complete novice, so I am not sure whether to remove the whole line, or just a portion.

John, a big thank you for putting these steps together.

Thanks,

-Loren

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

More
12 May 2020 21:41 #167565 by nicobari
Replied by nicobari on topic Raspberry Pi 4 Tutorial
Hi,
I followed the instructions on gnipsel.com/linuxcnc/uspace/ and everything went smoothly. However, when I tried to run pnccnf and got to the stage of test/tune I get the message that LinuxCNC is running in simulator mode and therefore cannot test hardware. From my google search I came to the conclusion that there is a seperate install for real time LinuxCNC. Do you know what might be going on or how I can install the linuxCNC real time version?

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

More
13 May 2020 09:50 #167637 by JacquidR
Replied by JacquidR on topic Raspberry Pi 4 Tutorial
Hi Andy, This link seems to be blank. I would like to get the SD card image. Please advise how?

Thank you.

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

More
22 May 2020 22:08 #168608 by Dennis
Replied by Dennis on topic Raspberry Pi 4 Tutorial
John, please make an img file where you did all this stuff to your OS and send it to me so I can flash it to my microSD card. The tutorial you posted is not working right for me and I'm at the point to where I am about to throw my Raspberry Pi 4 across the room in frustration. Im a Windows person, not a Linux guru.

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

More
01 Jun 2020 09:54 #169638 by StoneB
Replied by StoneB on topic Raspberry Pi 4 Tutorial
Dear John,

just wanted to say a big thanks for the tutorial. I followed it to the letter and finished today with a working machine. To note that I used the just released Raspberry Pi OS, without any issues.

Thanks - excited to now configure the Mesa Card and make some motors turn !
Pierre

I'm working on a tutorial for the Raspberry Pi 4B to run Mesa Ethernet cards but to my surprise the latency is much better than I thought at <30us. Anyway anyone that has a Rpi4 and wants to run through the tutorial and see if I have anything that is absolutely not clear for a Linux beginner please do.

I'm using Rasbian 10 patched with the preempt rt kernel LinuxCNC Uspace and a blank slate window manager OpenBox.

As usual the Uspace tutorials are here: gnipsel.com/linuxcnc/uspace/

JT

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

More
01 Jun 2020 15:27 - 02 Jun 2020 19:53 #169681 by partec
Replied by partec on topic Raspberry Pi 4 Tutorial
Dear John,
also me, just wanted to say a big thanks for the tutorial, Thanks!

just today applied, almost fine, then I came here and struggle

pi@raspberrypi:~/emc $ sudo apt-get update
pi@raspberrypi:~/emc $ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~/emc $ debian/configure uspace
successfully configured for 'uspace-Raspbian-10'-'uspace'..

pi@raspberrypi:~/emc $ dpkg-checkbuilddeps
dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 6) dh-python libudev-dev python-yapps tcl8.6-dev tk8.6-dev libreadline-gplv2-dev asciidoc (>= 8.5) dblatex (>= 0.2.12) docbook-xsl dvipng ghostscript graphviz groff imagemagick inkscape python-lxml source-highlight texlive-extra-utils texlive-font-utils texlive-fonts-recommended texlive-lang-cyrillic texlive-lang-french texlive-lang-german texlive-lang-polish texlive-lang-spanish texlive-latex-recommended w3c-linkchecker xsltproc asciidoc-dblatex python-dev python-tk libxmu-dev libglu1-mesa-dev libgl1-mesa-dev | libgl1-mesa-swx11-dev libgtk2.0-dev gettext intltool autoconf libboost-python-dev libmodbus-dev (>= 3.0) libusb-1.0-0-dev desktop-file-utils yapps2

next day:
I have learned to work careful enough when using ssh - not always terminal prompt was within client side, so today I coul'd finish successfully, many thanks for the tutorial!
Last edit: 02 Jun 2020 19:53 by partec.

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

More
05 Jun 2020 13:42 #170255 by Pamkkkkk
Replied by Pamkkkkk on topic Raspberry Pi 4 Tutorial
@BigJohnT even a BIG john Thanks from me!

I am a new bee on CNC and all stuff to do with that
and my English is humbl.
please bear with me.

Ich have managed to install the RT kernel and LunuxCNC on my Raspberry Pi 4B.

The only thing I have done so far is running the Jitter Test.

In the first run I got "Base Thread" over 60000 (scared) the run was about 5 minutes.

After pressing "reset statistic" the "Base Thread" jitter was about 20000 and in the folowing it was repeatable.

I found statements that 20000 "Base Thread" jitter is good enough for Stepper Motors.
(here in German: lonnox.de/installation.htmlhttps://lonnox.de/installation.html )

So my main question is

What "Base Thread" jitter values other user have with Raspberry Pi 4B and RT Kernel ?

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

More
05 Jun 2020 14:10 #170256 by tommylight
Replied by tommylight on topic Raspberry Pi 4 Tutorial
On a RPI4 there is no use for base thread, so forget about it.
The servo thread should be at acceptable levels, the step pulses will be generated buy another card like Mesa 7i92 or 7i96 or 7i76E.

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

More
05 Jun 2020 14:20 #170257 by Pamkkkkk
Replied by Pamkkkkk on topic Raspberry Pi 4 Tutorial
Ok. Thank you for clarification!

That opens a new Question...

What Max jitter (ns) do we need with Servo Thread?
What Max jitter (ns) do others have on with Servo Thread?

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

Time to create page: 0.221 seconds
Powered by Kunena Forum