Can the OPI5 be Configured to Run LCNC?

More
3 years 4 weeks ago - 2 years 10 months ago #282063 by Bari
Replied by Bari on topic Can the OPI5 be Configured to Run LCNC?
Yes, we feel your pain. This forum editor is garbage, but was chosen long ago and now we are stuck with it. The admin with access rights to change it has also disappeared over the years.

forum.linuxcnc.org/36-using-this-forum-q...-f-king-forum-editor
Last edit: 2 years 10 months ago by Bari. Reason: typo
The following user(s) said Thank You: royka
More
2 years 11 months ago #286432 by jsg001
Replied by jsg001 on topic Can the OPI5 be Configured to Run LCNC?
 

I wanted to add another data point for the community.  This is....
() orangepi 5 plus (not using hdmi, but rather remote with 'ssh -X'.  I've not see that make much difference from being on the head)
() kernel: github.com/Joshua-Riek/linux.git branch v6.6-rk3588-hdmi with patch-6.6-rt15.patch
() linuxcnc from raspberrypi iso
() cmdline: idle=poll isolcpus=4,5
() latency-histogram --sbinsize 400 --show (with 10 glxgear and misc other commands being run)
() rtapi_app:T#[01] assigned to cpus 4 and 5, respectively (manual reassignment of threads for testing) 
     >> ps -T -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm | grep rtapi

        1614    1614 TS       -   0  19   6  8.4 SLsl -              rtapi_app
        1614    1615 TS       -   0  19   7  0.1 SLsl -              rtapi_app:mesg
        1614    1616 FF      98   - 138   4  8.1 SLsl -              rtapi_app:T#0
        1614    1617 FF      97   - 137   5  0.2 SLsl -              rtapi_app:T#1
     >> sudo taskset -cp 4 1616
     >> sudo taskset -cp 5 1617
cpus 4-7 appear to be the faster A76 cores; there seems to be a noticeable speed improvement over cores 0-3. 
 
The following user(s) said Thank You: royka, Cant do this anymore bye all
More
2 years 10 months ago - 2 years 10 months ago #287172 by kmike
Replied by kmike on topic Can the OPI5 be Configured to Run LCNC?
Dear Royka,

first of all, thank You for the images! Works perfect, I get about 4µs jitter on my OPI5.

I just cannot get around one problem:
if I enable the lcd1 and/or opi5plus-lcd overlay, the OPI5 does not boot anymore.
It makes no difference, if I do it by hand or with armbian-config.
Also tried "compiling" them by hand with dtc, does not work either

Do I need to enable any other overlay, or add some extra args?

Thanks in advance!
Last edit: 2 years 10 months ago by kmike.
More
2 years 10 months ago #287175 by kmike
Replied by kmike on topic Can the OPI5 be Configured to Run LCNC?
I think, I found my answer, the kernel version used does not have support for DRM_PANEL_INNOLUX_AFJ101_BA2131
More
2 years 10 months ago #287186 by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
@kmike Yeah that might be something, if you choose to compile your kernel either way I would consider to use this source:
github.com/orangepi-xunlong/linux-orange...ge-pi-5.10-rk35xx-rt

My initial thought was that the overlay was incomplete because the overlay for the normal OPi 5 also disables a HDMI port. But I'm not sure if that's necessary with the plus. You would need the right kernel module either way indeed.

Ps. I have not tested the above source, but it is more updated
More
2 years 10 months ago #287249 by kmike
Replied by kmike on topic Can the OPI5 be Configured to Run LCNC?
Thanks for that source, I was already wondering how to do the RT patch.

The bad news is, I have changed the git source in the ambian build system to the Xunlong RT kernel, but it only trows a compile error :(
Also armbian keeps patching in some Realtek WLAN drivers, that I can't get rid of...

The overlays for the LCDs for the OPI5 are mixed up in relation to the silkscreen on the board, so if the display is connected to LCD1, the overlay LCD2 has to be enabled...
Even if I remove the HDMI disable part from the overlay, HDMI does not work after enabling the LCD, probably a multiplexing or routing issue. Have to investigate this after getting an RT kernel with LCD support to work, altough this is not that important for me

I don't have a OPI5 Plus, so I cannot test it
Time to create page: 0.585 seconds
Powered by Kunena Forum