- Posts: 22010
- Thank you received: 3
Can the OPI5 be Configured to Run LCNC?
- tommylight
-
- Away
- Administrator
-
Less
More
2 years 6 months ago #297330
by tommylight
Use --show at the end of the latency-histogram line to show those excursions.
Replied by tommylight on topic Can the OPI5 be Configured to Run LCNC?
No, this is much worse than the first picture, see the colored columns on both sides of the graph.
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
Use --show at the end of the latency-histogram line to show those excursions.
Please Log in to join the conversation.
2 years 6 months ago #297452
by angelnu
Replied by angelnu on topic Can the OPI5 be Configured to Run LCNC?
Thanks Royka for the image of the kernel.
I have installed the kernel in Armbian Debian Bookworm, the results are magnificent.
I have installed the kernel in Armbian Debian Bookworm, the results are magnificent.
Attachment not found
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
2 years 6 months ago #297462
by tommylight
Replied by tommylight on topic Can the OPI5 be Configured to Run LCNC?
Yes they are!
I have installed the kernel in Armbian Debian Bookworm, the results are magnificent.
Please Log in to join the conversation.
2 years 6 months ago #297497
by pippin88
Replied by pippin88 on topic Can the OPI5 be Configured to Run LCNC?
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.
2 years 6 months ago #298110
by angelnu
Replied by angelnu on topic Can the OPI5 be Configured to Run LCNC?
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.
The orange pi site image works pwm, the armbian image does not work pwm.
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.
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.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.
The orange pi site image works pwm, the armbian image does not work pwm.
Please Log in to join the conversation.
2 years 6 months ago #298114
by rodw
Replied by rodw on topic Can the OPI5 be Configured to Run LCNC?
Just use the script to install linuxcnc as discussed on the getting linuxcnc 2.9 docs
Please Log in to join the conversation.
2 years 6 months ago #298232
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
@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:
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.
2 years 6 months ago #298283
by angelnu
Replied by angelnu on topic Can the OPI5 be Configured to Run LCNC?
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.
I have not been able to compile the kernel in real time.
Please Log in to join the conversation.
2 years 6 months ago #298309
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
To compile the rt kernel on the OPi5:
Here LinuxCNC 2.10 build from master today:
drive.google.com/drive/folders/1ZqLOGr7l...sLdif?usp=drive_link
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.
Time to create page: 0.223 seconds
