Can the OPI5 be Configured to Run LCNC?
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
01 Apr 2024 03:14 #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.
Use --show at the end of the latency-histogram line to show those excursions.
The following user(s) said Thank You: angelnu
Please Log in or Create an account to join the conversation.
02 Apr 2024 18:50 #297452
by angelnu
Replied by angelnu on topic Can the OPI5 be Configured to Run LCNC?
Attachments:
The following user(s) said Thank You: tommylight, royka
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
02 Apr 2024 20:24 #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 or Create an account to join the conversation.
03 Apr 2024 10:41 #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)
The following user(s) said Thank You: Calysto
Please Log in or Create an account to join the conversation.
12 Apr 2024 19:32 #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 or Create an account to join the conversation.
12 Apr 2024 20:20 #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 or Create an account to join the conversation.
14 Apr 2024 15:20 - 15 Apr 2024 09:10 #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:
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
Last edit: 15 Apr 2024 09:10 by royka.
The following user(s) said Thank You: angelnu
Please Log in or Create an account to join the conversation.
15 Apr 2024 13:36 #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 or Create an account to join the conversation.
15 Apr 2024 19:42 - 15 Apr 2024 19:47 #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
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
Last edit: 15 Apr 2024 19:47 by royka.
Please Log in or Create an account to join the conversation.
24 Apr 2024 11:24 #298984
by vre
Replied by vre on topic Can the OPI5 be Configured to Run LCNC?
Orange pi 5 can work with the onboard header I/O with linuxcnc ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.150 seconds