Can the OPI5 be Configured to Run LCNC?

More
3 years 6 months ago - 3 years 6 months ago #268702 by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
It seems Armbian doesn't like local versions, so I created a patch which you could put in the folder like in the zip.
I just created a minimal image without problems.

Only the main branch builds it, the master branch fails.

If you only want to install the kernel with that wifi driver, this one you should be able to install with sudo apt install ./linux-image*.deb:
[url] filebin.net/lpleuciilara5q60/linux-image...c222-Be9aa_arm64.deb [/url]
 
Attachments:
Last edit: 3 years 6 months ago by royka.

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

More
3 years 6 months ago #268704 by kanuboy13b
Replied by kanuboy13b on topic Can the OPI5 be Configured to Run LCNC?
this did the trick,
reflashed the sd card with a fresh armbian, ran sudo apt update
installed both python3-venv and python-is-python3 successfully, trying this before the apt update would error.

I was able to get the rt kernel to install using the --force-all flag. no errors
ran the sudo apt install on the header package and installed without issue. it did give an error at the end, but from what I understand its an error that can be largely ignored.
rebooted the OP5 and ran neofetch in the terminal and there it was, linux5.10.110-rt53 as the kernel. Plus the USB wifi works as well.
Everything looks in order

I've installed LinuxCNC from the packages you provided, going to run some latency tests in a bit.

Next item on my wishlist is to migrate everything to boot off of a nvme ssd drive, then I think I am set.
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 - 3 years 6 months ago #268708 by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
To install to the nvme you'll only need:
sudo armbian-install --> choose "Boot from MTD flash - system on..."
At the end it will ask to install/update the bootloader on MTD flash, answer yes, then it will take a few minutes and it should be bootable from nvme.

There is a chance that it will fail to install the bootloader with the kernel that has the local version at -rt53. To be sure you could first install the latest version I'd uploaded. (or build your own with the patch added). With the local version removed you won't see rt53 in neofetch, but you should check: cat /proc/version

And don't forget to isolate core 5 and 7 for best results.
Code:
echo "extraargs="isolcpus=5,7"" | sudo tee -a /boot/armbianEnv.txt
Last edit: 3 years 6 months ago by royka.

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

More
3 years 6 months ago #269042 by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
Did it work for you? If so it would be nice if you post your results

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

More
3 years 6 months ago #269061 by Guglielmi
Replied by Guglielmi on topic Can the OPI5 be Configured to Run LCNC?
Hi Royka, I also tried using debs file and the installation finished correctly, latency around 0,7 - 1 us!
I'm fighting now on a issue related to LinuxCNC: Launching the application, it starts but ends immediately because no configurations found.
So I recovered default samples and applied in the folder "/usr/share/doc/linuxcnc".
The issue is that creating a simulation config, it starts, I can see the small window for tool bottom (after few second disappears.. normal) but the main window for "Axis" is not showed! LinuxCNC seems running in background becasue if I try to call again a message tell me that still running..
Now I try to play around the configuration because the copy I did from my RPI installation was not done fully.. where it found a link the file was skipped so not sure it could work.
So now my doubt is: additional package missing for visualization, or just issue in configuration?
I will keep a default sim config Axis from another installation and try.. 

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

More
3 years 6 months ago #269084 by Guglielmi
Replied by Guglielmi on topic Can the OPI5 be Configured to Run LCNC?
I copied now correctly default configurations compressing folder, so links were preserved. I tried to import anyhow an axis.sim default confiugration but nothing, I can't see the GUI of axis, it still running on background, no errors...
I also tried to disable the 3d acceleration but did not solved.
What missing tool could cause Axis GUI not showed but running in background?

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

Time to create page: 0.296 seconds
Powered by Kunena Forum