- Posts: 208
- Thank you received: 0
Raspberry Pi 4 Tutorial - fatal error
- LearningLinuxCNC
- Offline
- Elite Member
-
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
Then i could dpkg the linuxcnc-uspace-dev .deb file
Now halcompile works and I am happy again!
Please Log in to join the conversation.
- BlueChicago
- Offline
- New Member
-
- Posts: 10
- Thank you received: 0
as opposed to just:
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 to join the conversation.
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 to join the conversation.
Thank you.
Please Log in to join the conversation.
Please Log in to join the conversation.
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
BigJohnT wrote: 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 to join the conversation.
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!
Please Log in to join the conversation.
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 to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
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 to join the conversation.
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 to join the conversation.
