Can the OPI5 be Configured to Run LCNC?

More
1 year 8 months ago #321876 by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
Yes vendor kernel is preempt-rt, jitter stays under 10us especially when you don't watch youtube

Here you can find the result and download link:
forum.linuxcnc.org/18-computer/48079-can...cnc?start=370#312714

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

More
1 year 8 months ago #321906 by vre
Replied by vre on topic Can the OPI5 be Configured to Run LCNC?
Very nice this will be perfect for base thread.
The pin header that has the board can drive 4 close-loop steppers ?


(i have a rockpro64 any hope for this for an image with preempt-rt kernel?)

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

More
1 year 8 months ago #321912 by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
It would be better to have some protection of course, the same as with a Raspberry. The pin header can be used via the driver made by Guglielmi:
forum.linuxcnc.org/18-computer/48079-can...cnc?start=200#273554

For Rockpro64 (rk3399?), I built an image before for a Orange Pi 4, but that didn't seem to work well, spikes to 130us, could work with Mesa though. You can try to build one via Armbian, from 6.12 and up you don't really need to patch it, just the right configuration. Then experiment to isolate cpu1 and move the rt tasks to that core as explained in the following post:
forum.linuxcnc.org/18-computer/48079-can...cnc?start=280#286432

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

More
1 year 8 months ago - 1 year 8 months ago #321927 by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
For the rockpro 64 the first 2 cores (0,1) are the faster ones. To move the RT processes to cpu1, you can run this script as root (rename to prio.sh)
 

File Attachment:

File Name: prio.txt
File Size:1 KB


This was the rt kernel I made for the rk3399 back then:
drive.google.com/drive/folders/12VfNmKC3...zaNAk2EN5sHDfeCnnzYX
Maybe you've more luck with using the script (don't forget to hit the reset button in latency-histogram after running the script.)

With the Orange Pi 5 plus, when I split the processes to core 5 and 7 with the script above the latency with base thread is better with Linux 6.13
 
Last edit: 1 year 8 months ago by royka.
The following user(s) said Thank You: vre

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

More
1 year 7 months ago #323469 by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
FYI in contrast of what some in this topic said, it's possible to connect a controller via SPI with the spider driver. I did some tests with a TangNano9k with Riocore and it works great over SPI with the vendor kernel 6.1.75

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

More
1 year 1 month ago #334848 by ccc774
Replied by ccc774 on topic Can the OPI5 be Configured to Run LCNC?
Hello everyone,
I installed linuxcnc 2.10 on orange pi5 - with armbian + rt-kernel 6.1.75. The system was made a year ago, and I installed linuxcnc 2.10 now with old versions of dependencies, to keep the 3D acceleration functional.
The problem is that at startup I get the error:
python3: ../src/mesa/state_tracker/st_texture.c:73: st_texture_create: Assertion `height0 > 0' failed.
/usr/bin/linuxcnc: line 1005: 24283 Aborted $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS "${EXTRA_ARGS[@]}"
Does anyone have an idea if it's a bug in linuxcnc, or the error appears as a result of a conflict?

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

Time to create page: 1.390 seconds
Powered by Kunena Forum