Can the OPI5 be Configured to Run LCNC?

More
3 years 6 months ago #268399 by rodw
Replied by rodw on topic Can the OPI5 be Configured to Run LCNC?
I think wifi is a seperate kernel module so if its been left out, then you should look for the realtek driver and build from source if necessary..
DKMS is definitely supported under armbian.

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

More
3 years 6 months ago #268426 by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
With my previous test I did a dirty install of the debian packages and had to force install some packages. Now I've removed these and compiled LinuxCNC and it really does work as well as it seemed to be. So it's actually pretty easy to build your own image/kernel with Armbian, you only need to change the kernel config and source, after that you could build it as usually.

If you don't know how to do this yourself I will make an image, but it shall help yourself to make your own so you'll always be able to update and customize it the way you want. I don't recommend to adjust any timer/scheduler related things, adding drivers should be ok, although a bad driver (in use) could increase latency.

The screenshot was while playing a 4k youtube video, 8x glxgears and "stress --cpu8". cpu stress did improve the latency, so made another without.

Till now the only thing it doesn't like is playing a youtube video in the background, but who wants this while machining. It eventually will freeze the video and this also raised the latency up to 30us. This freezing is something I saw with other images too, should be a driver issue. Besides that, you could do about anything without getting latency. 
Attachments:

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

More
3 years 6 months ago #268429 by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
Sorry a new post, somehow it doesn't show the config I'd uploaded and didn't want to risk to edit my previous message.
Place these files in the right folder to build Armbian with the low latency kernel. Just choose to build the legacy kernel (only option) and it will download the rt version.

 

File Attachment:

File Name: build_2023-04-06.zip
File Size:45 KB
The following user(s) said Thank You: tommylight, Guglielmi

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

More
3 years 6 months ago #268444 by tommylight
Replied by tommylight on topic Can the OPI5 be Configured to Run LCNC?

Sorry a new post, somehow it doesn't show the config I'd uploaded and didn't want to risk to edit my previous message.
No need to be sorry for that, most of us do the same thing not to mess with the editor.
The following user(s) said Thank You: royka

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

More
3 years 6 months ago #268456 by Guglielmi
Replied by Guglielmi on topic Can the OPI5 be Configured to Run LCNC?
Royka, are you joking to doubt it could be an issue watching a video while the cnc is working? Who is doing this?! 
Funny.. I mean you can use any other device to spend time when the machine is running, right?
Jokes aside, I'm also interested to try this way, Armbian is more flexible and tailored for this board. I will try, in case of issue I will ask your (or Rodw) precious help.
Thanks for now
The following user(s) said Thank You: tommylight

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

More
3 years 6 months ago #268457 by tommylight
Replied by tommylight on topic Can the OPI5 be Configured to Run LCNC?

Royka, are you joking to doubt it could be an issue watching a video while the cnc is working? Who is doing this?!
Me, sometimes! :)

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

Time to create page: 0.253 seconds
Powered by Kunena Forum