Raspberry Pi 4

More
7 years 3 months ago #140519 by wicki
Replied by wicki on topic Raspberry Pi 4
Here are all steps to install OS, RT-kernel and linuxCNC on a blank RPI 4:


erste.de/linuxCNC_raspberry_PI4.html

Config/Usage of GPIO will follow....
The following user(s) said Thank You: kostas, seuchato

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

More
7 years 3 months ago - 7 years 3 months ago #140520 by andypugh
Replied by andypugh on topic Raspberry Pi 4
It is probably easier to use the pre-patched raspbian kernel:
github.com/raspberrypi/linux/tree/rpi-4.19.y-rt
Code:
git clone https://github.com/raspberrypi/linux.git git checkout 4.19y-rt

Or there is a pre-built LinuxCNC + preempt RT SD card image here, but please only download this if you have a Pi4 and intend to use it, it's a big image and I am concerned about the server bandwiidth.
www.linuxcnc.org/dists/buster/2.8-uspace/
Last edit: 7 years 3 months ago by andypugh.
The following user(s) said Thank You: seuchato

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

More
7 years 3 months ago #140527 by wicki
Replied by wicki on topic Raspberry Pi 4
> Config/Usage of GPIO will follow....

usage of hal_gpio is now also described here

erste.de/linuxCNC_raspberry_PI4.html

but then, GPIO does not work any more.... :-(
also "gpio toggle 0" does not toggle a pin :-(

maybe a bug in the bcm-lib?
I will check this tomorrow....



> It is probably easier to use the pre-patched raspbian kernel:
> github.com/raspberrypi/linux/tree/rpi-4.19.y-rt

thats easier,yes - but the above howto is written for thoose who
would like to do it by own hands.... ;-)

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

More
7 years 3 months ago #140800 by Hakan
Replied by Hakan on topic Raspberry Pi 4
Yesss! Got lathemacros working (unmodified).
I got hold of an older version of rsvg (for Pi 3 or older, I suppose) from here
packages.debian.org/stretch/armhf/python-rsvg/download
dpkg --install <package>
then got an error on "Xlib" not found.
apt install python-xlib
and it is all working! Yess, that was the final piece that was missing.

I did some manual turning yesterday. It all works fine. My normal setup is
a quick Intel Core i3 6100 on this machine. RPi4 doesn't *feel* quite as responsive, but
it is just the occasional microdelay. I press a key on the gamepad and it takes
just a tiny different amount of time. The screen response 1920x1080 with
touchscreen is absolutely acceptable. Not as quick as the Intel though,
but workable no problems.

Now when LatheMacros works I will have the RPi4 on the lathe and see how it goes in
long term.

I looked at the output from linuxcnc.
There are some ten of those
Code:
task: main loop took 0.024097 seconds
during GUI buildup. When gmoccapy is up and running
and the machine is ready so to say there are no more such messages.

If I let it sit idle, there is some screensaver that shuts everything down,
including networking so that need to be fixed. Probably easy, I will not
dig into that direction.

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

More
7 years 3 months ago #140801 by tecno
Replied by tecno on topic Raspberry Pi 4
Very interesting HÃ¥kan, good work!

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

More
7 years 3 months ago #140880 by Hakan
Replied by Hakan on topic Raspberry Pi 4
A video that try to show linuxcnc on the RPi 4 to give a general feeling of the speed and so on.

The following user(s) said Thank You: Mike_Eitel, kostas, bjames28, tommylight, tecno

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

Time to create page: 0.295 seconds
Powered by Kunena Forum