Can the OPI5 be Configured to Run LCNC?

More
21 Sep 2025 00:38 - 23 Sep 2025 23:42 #335232 by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
No problem and thank you. I've also found that the issue already have been resolved, but I don't think it's already included in the image. So I'll post a new package soon.

github.com/JeffyCN/libv4l-rkmpp/commit/c...7508dcd75e05247eb83a

Package is on the Google Drive
Last edit: 23 Sep 2025 23:42 by royka.

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

More
30 Sep 2025 00:39 #335591 by Ilysha
Replied by Ilysha on topic Can the OPI5 be Configured to Run LCNC?
Hi everyone! I’m new to Linux and Orange Pi, but I’m really eager to learn and figure things out. I would be incredibly grateful for your help. Could someone write a simple, step-by-step guide—from a fresh Armbian installation to a fully working setup, including using files from a disk? I’m really trying to understand everything and I’ve already exhausted ChatGPT! Please, I would deeply appreciate any guidance you can give

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

More
01 Oct 2025 15:56 #335668 by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
Hi, Here you can find a few rt-kernels:
drive.google.com/drive/folders/1JglCIPKv...roZcjOvr?usp=sharing

With the 6.1.115 kernel I'm still experimenting a bit to get full gpu acceleration, I think the 6.1.75 is a more safe choice. Then find/create an image from Armbian for example, install the kernel and the dtb of the same kernel version. Check /boot if the symlinks are correct, sometimes when it creates a new initramfs creates a link to the older version, so better to delete or move the other kernel versions to a another place.

With Armbian: when you choose for an image with Debian it's more easy to install LinuxCNC but you probably won't have VPU acceleration (1080p/1440p still works fine though)
With Ubuntu it's more easy to have VPU acceleration, but you'll have to compile LinuxCNC yourself (there's a manual).
With the mainline kernel you should expect that not everything works yet.

So make your choice, find download an image that fits to the kernel you want (Vendor 5.x or 6.x) or mainline. Install the kernel and dtb if it's not exact the same version.

For better latency values isolate the last core (isolcpus=7). With Armbian edit the extraargs line to add the kernel parameter:
sudo nano /boot/armbianEnv.txt
extraargs=cma=256M isolcpus=7
ctrl+x and press y following an enter to save.

In Debian to install linuxcnc:
sudo apt update; sudo apt install linuxcnc-uspace

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

Time to create page: 0.116 seconds
Powered by Kunena Forum