Can the OPI5 be Configured to Run LCNC?

More
2 years 6 months ago #297330 by tommylight


With the image of armbian kernel 6.8.0-RC1-edge, without real time but with isolcpus = 5.7. Something better in Servo Thread behaves, I have a Orange Pi 5.
 

Attachment not found

No, this is much worse than the first picture, see the colored columns on both sides of the graph.
Use --show at the end of the latency-histogram line to show those excursions.

Please Log in to join the conversation.

More
2 years 6 months ago #297452 by angelnu
Thanks Royka for the image of the kernel.

I have installed the kernel in Armbian Debian Bookworm, the results are magnificent. 

 

Attachment not found

Please Log in to join the conversation.

More
2 years 6 months ago #297462 by tommylight


I have installed the kernel in Armbian Debian Bookworm, the results are magnificent. 
Yes they are! :)

Please Log in to join the conversation.

More
2 years 6 months ago #297497 by pippin88
Is SPI working at proper speed on Orange Pi 5 for real time use? (Raspberry Pi 5 SPI currently has issues with slow speeds / access making it not suitable for real time functions I believe)

Please Log in to join the conversation.

More
2 years 6 months ago #298110 by angelnu
With royka kernel 5.10.160-rt89+-5 works very well, but I sometimes use internet with opi5 and where I am there is no internet, I connect with android mobile phone via portable hotspot - internet sharing via USB.
But with royka's rt kernel it doesn't detect the connection, before installing the kernel it detects the connection.
I guess it is some kernel option that is disabled.

Does anyone have any idea of what option to enable in the kernel of the thousands that there are.

That's strange, maybe you can try this kernel on another image:
drive.google.com/drive/folders/1JglCIPKv...roZcjOvr?usp=sharing

I'm using this kernel with the Debian Bookworm Image from the site of Orange Pi and HW acceleration works, although while watching YouTube videos the latency increases a bit, but not so much as yours for sure.

 
I tried to install linuxcnc with the image from the orange pi Debian Bookworm site, but linuxcnc is not in the Chinese repositories, I download the debs files from the linuxcnc site and there are many unfulfilled dependencies.
The orange pi site image works pwm, the armbian image does not work pwm.

Please Log in to join the conversation.

More
2 years 6 months ago #298114 by rodw
Just use the script to install linuxcnc as discussed on the getting linuxcnc 2.9 docs

Please Log in to join the conversation.

More
2 years 6 months ago #298232 by royka
@angelnu Here you can find the kernel options to enable android sharing.
wiki.gentoo.org/wiki/Android_USB_tethering

This kernel is with Android and iOS USB tethering enabled:
drive.google.com/file/d/1KS7IkLzMxAQJIOT...m4v/view?usp=sharing

You can edit the apt sources "/etc/apt/sources.list" to:
Code:
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware deb http://repo.huaweicloud.com/debian bookworm-backports main contrib non-free non-free-firmware deb http://linuxcnc.org bookworm base 2.9-uspace

Please Log in to join the conversation.

More
2 years 6 months ago #298283 by angelnu
Many thanks to Royka for his help, it seems to work quite well. Let's see if I learn to compile the kernel.
I have not been able to compile the kernel in real time.

Please Log in to join the conversation.

More
2 years 6 months ago #298309 by royka
To compile the rt kernel on the OPi5:
Code:
git clone https://github.com/orangepi-xunlong/linux-orangepi.git -b orange-pi-5.10-rk35xx-rt cd linux-orangepi cp /boot/config-5.10.160-rt89+ ./.config make menuconfig #Here you can make your changes make -j$(nproc) sudo make modules_install sudo make install

Here LinuxCNC 2.10 build from master today:
drive.google.com/drive/folders/1ZqLOGr7l...sLdif?usp=drive_link

Please Log in to join the conversation.

More
2 years 6 months ago #298984 by vre
Orange pi 5 can work with the onboard header I/O with linuxcnc ?

Please Log in to join the conversation.

Time to create page: 0.223 seconds
Powered by Kunena Forum