- Posts: 58
- Thank you received: 0
Raspberry Pi 4
7 years 4 months ago #138034
by tjones
Raspberry Pi 4 was created by tjones
Hi All,
It looks like the new raspberry pi 4 fix's a lot of problems I have read about for using one for linuxcnc. Mainly the addition of real time ethernet. A few questions...
1. Will the raspberry pi 4 now we a suitable choice for connecting a 7i76E or 7i92?
2. Mesa looks to have a 7C80 in development specifically for the raspberry pi, is that board going to be available anytime soon? Does this new raspberry pi effect the development?
It looks like the new raspberry pi 4 fix's a lot of problems I have read about for using one for linuxcnc. Mainly the addition of real time ethernet. A few questions...
1. Will the raspberry pi 4 now we a suitable choice for connecting a 7i76E or 7i92?
2. Mesa looks to have a 7C80 in development specifically for the raspberry pi, is that board going to be available anytime soon? Does this new raspberry pi effect the development?
Please Log in to join the conversation.
7 years 4 months ago #138036
by PCW
Replied by PCW on topic Raspberry Pi 4
1. It should but Ethernet performance is not known yet.
2. The RPI4 should just work with the 7C80/7C81 assuming its
SOC SPI interface is the same as the RPI3
The 7C81 _is_ available. the 7C80 still needs its inmux firmware
module support added to the hostmot2 driver
2. The RPI4 should just work with the 7C80/7C81 assuming its
SOC SPI interface is the same as the RPI3
The 7C81 _is_ available. the 7C80 still needs its inmux firmware
module support added to the hostmot2 driver
Please Log in to join the conversation.
7 years 3 months ago #138806
by Hakan
Replied by Hakan on topic Raspberry Pi 4
Made a quick and dirty test with 7i76E on the RPI4 4GB. It works, yes.
Can jog and run axis, didn't test more than that.
Got sveral messages that main loop took up to 0.25 seconds.
So I guess it doesn't work (so well) after all.
Can jog and run axis, didn't test more than that.
Got sveral messages that main loop took up to 0.25 seconds.
So I guess it doesn't work (so well) after all.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
7 years 3 months ago #138810
by tommylight
Replied by tommylight on topic Raspberry Pi 4
There are some things that can be tuned, but you should leave it running some gcode for at least an hour to see if it drops the connection to 7i76E.
If it does not drop it, there's still hope.
If it does not drop it, there's still hope.
Please Log in to join the conversation.
7 years 3 months ago #138811
by Hakan
Replied by Hakan on topic Raspberry Pi 4
I seem not to have RT preempt patches, only the PREEMPT.
I'll go hunting for that.
I'll go hunting for that.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
7 years 3 months ago #138815
by tommylight
Replied by tommylight on topic Raspberry Pi 4
Wait....
geneslinuxbox.net:6309/gene/Genes-os9-st...ebian-stretch-armhf/
But it is for the 3b, so might not work.
Thanks to Andy for the link.
Did not have time nor a microsd card to test that image yet.
geneslinuxbox.net:6309/gene/Genes-os9-st...ebian-stretch-armhf/
But it is for the 3b, so might not work.
Thanks to Andy for the link.
Did not have time nor a microsd card to test that image yet.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
7 years 3 months ago #138816
by tommylight
Replied by tommylight on topic Raspberry Pi 4
If you start LinuxCnc from a terminal, do you see
Running POSIX realtime
Or does it say non realtime ?
Running POSIX realtime
Or does it say non realtime ?
Please Log in to join the conversation.
7 years 3 months ago #138818
by Hakan
Replied by Hakan on topic Raspberry Pi 4
I am rather sure it said POSIX non realtime. This one says
while my "production" machine says
Not a very good test I am afraid. I'll start googling later in the evening.
Edit: There are actually brances with rt patches at github.com/raspberrypi/linux , called rpi-4.19.y-rt, I am using rpi-4.19.y. I will compile the rt version and give it a go.
Code:
Linux raspberrypi 4.19.57-v7l+ #2 SMP PREEMPT Sun Jul 7 12:17:55 CEST 2019 armv7l GNU/Linux
Code:
Linux zx45 4.9.0-8-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.144-3.1 (2019-02-19) x86_64 GNU/Linux
Not a very good test I am afraid. I'll start googling later in the evening.
Edit: There are actually brances with rt patches at github.com/raspberrypi/linux , called rpi-4.19.y-rt, I am using rpi-4.19.y. I will compile the rt version and give it a go.
Please Log in to join the conversation.
7 years 3 months ago #138874
by Hakan
Replied by Hakan on topic Raspberry Pi 4
Well, the route with "rpi-4.19.y-rt" didn't work. What works is to start with the "rpi-4.19.y" branch and apply the usual rt patches.
I now got this
and a latency_histogram that looks like this, after some random surfing on the net.
I will have to wait until tomorrow with actual test. I am pretty sure it will run (somewhat).
And to newbynobi, you have a line "import vte" in gmoccapy line 39, is that actually used? "buster" doesn't have a suitable package python-vte.
I now got this
Code:
Linux raspberrypi 4.19.57-rt22-v7l+ #5 SMP PREEMPT RT Mon Jul 8 17:42:16 CEST 2019 armv7l GNU/Linux
and a latency_histogram that looks like this, after some random surfing on the net.
Attachment not found
I will have to wait until tomorrow with actual test. I am pretty sure it will run (somewhat).
And to newbynobi, you have a line "import vte" in gmoccapy line 39, is that actually used? "buster" doesn't have a suitable package python-vte.
Please Log in to join the conversation.
Time to create page: 0.251 seconds
