Advanced Search

Search Results (Searched for: )

  • martin2day
  • martin2day
26 Nov 2024 08:20

Knuth Mark Super CNC Retrofit - need some help with my first LinuxCNC

Category: Milling Machines

Hello Fabian,

i did not make the Retrofit today, because i can fix my broken Gplus 450 and so i first want to make some parts with the machine i need.

Have a nice day
Martin
  • RotarySMP
  • RotarySMP's Avatar
26 Nov 2024 07:56
  • Hossein74Majidi
  • Hossein74Majidi
26 Nov 2024 07:50 - 26 Nov 2024 07:54
Replied by Hossein74Majidi on topic Real-Time Kernel with Orange Pi 4 LTS

Real-Time Kernel with Orange Pi 4 LTS

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.
Displaying 22441 - 22443 out of 22443 results.
Time to create page: 0.406 seconds
Powered by Kunena Forum