Can the OPI5 be Configured to Run LCNC?

More
3 years 5 months ago #271583 by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
Yes that's right, at line 11 you'll see: setenv console "both"

So without console=display it will enable display and serial. armbianEnv.txt overrides what's in boot.scr

You could edit boot.cmd and recompile (see last line), but it's easier to edit the armbianEnv.txt

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

More
3 years 5 months ago #271584 by rodw
Replied by rodw on topic Can the OPI5 be Configured to Run LCNC?

If it helps, the Odroid N2+ I played with had BIG/LITTLE cores, first 4  cores were big, last 2 little. 
Best performance was isolcpus=2,3,4,5

Ok did the preempt_rt kernel work? That's funny I would've thought that isolcpus=0-3 irqaffinity=4 or 5 works better in that case, probably it's not as simple as I thought. For the Opi5 it might help indeed to isolate 4-7 instead of 5,7.
How was the latency on the s922x? Did a test with the s912 which worked surprisingly well, perhaps that kernel also works on the s922x

 

I tried all combinations :)
You should never isolate Core 0 as there are a number of system interrupts tied to it.
Yes, we did compile a good preempt_rt but had a regression so have not got back to it due to other projects!
I was hoping Leonid my Armbain mentor might have fixed it in the mean time  :(
 

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

More
3 years 5 months ago #271585 by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
It seems that's not always the case, Google on "isolcpus=0",
irqaffinity=4,5 might help for that.

The kernel I'd compiled for s9xx:
mega.nz/folder/qshRQAbR#0p25gwbiAXH41v2ZB6fZMg

Hopefully you'll get it working, would be nice to see more much better rpi4 alternatives.

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

More
3 years 5 months ago - 3 years 5 months ago #271589 by echristley
Replied by echristley on topic Can the OPI5 be Configured to Run LCNC?
www.hobby-machinist.com/threads/bridgepo...c-conversion.106311/

And so the work begins. I've all all the parts (I think), to get this conversion done.
The first step is to LinuxCNC running on this OPi5. I'll be following royka's previous instructions, found here 

The forum doesn't seem to be picture friendly.  You can link, but not add one to a post.  So, I'm going to keep the picture heavy, blow-by-blow rundown of my process here
Last edit: 3 years 5 months ago by echristley.
The following user(s) said Thank You: royka

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

More
3 years 5 months ago #271591 by rodw
Replied by rodw on topic Can the OPI5 be Configured to Run LCNC?
You can add images by clicking on the attachments button but there is a limit on the size so you might have to downsample tose 36 Mp images 

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

More
3 years 5 months ago - 3 years 5 months ago #271600 by Guglielmi
Replied by Guglielmi on topic Can the OPI5 be Configured to Run LCNC?
I found a solution for ttyS2!
I tested the ttyFIQ0 and it works as additional port (3 pins beside GPIO). Building the overlay that just disable that port, it disappears correctly.
When I add the second part where uart2 is enabled the OPI5 doesn't boot. So I tried a different way.. just renaming ttyFIQ0 to ttyS2 and it worked.
Sure it's not a very elegant solution, I should rename it after every boot, I placed it in the driver.. but finally works.
The signal is quite bad compared to other serials, it's slow to go up, I can see pulses really rounded but I will check with a RS232-RS485 converter.
There is a better way to just rename that "file" when it is created? ..or inside the overlay?
Last edit: 3 years 5 months ago by Guglielmi.

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

Time to create page: 0.621 seconds
Powered by Kunena Forum