Category: General LinuxCNC Questions
Weird that spidev doesn't show up, I think that the overlay is not complete, since it worked (or at least visible) before you could try to add the overlay files of the other boards to see if it helps.
The (gpu?) lag is probably because all the small cores are isolated now, you can try to see if the latency is still low enough with less cores isolated, isolcpus=3-5, isolcpus=4,5 or isolcpus=5. The first 2 cores are faster, so ideally you would isolate the second core, but then I think it should be changed in the source of LinuxCNC to run on that core instead of the last core, but 31.8us is certainly not bad
So you can try the following config:
verbosity=1
bootlogo=true
console=both
fdtfile=rockchip/rk3399-orangepi-4-lts.dtb
rootdev=UUID=a703d82e-8d61-4266-8b54-c10361d608ca
rootfstype=ext4
extraargs=isolcpus=4,5
overlay_prefix=rockchip
overlays=rk3399-opp-2ghz rk3328-spi-spidev rk3399-spi-spidev rk3399-uhs rk3568-hk-spi-spidev
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
Thanks. I did search for some overlays of spi of other devices but i couldnt find anything.
I changed the status of the spidev@0 in rk3399-orangepi-4-lts.dts and compile it again (it was status="disabled" and I changed it to "okay") but it didnt work. I have no idea what should I do
about the latency-test, it made it worse (50 us) and the lag in gpu just got better slightly.