Advanced Search

Search Results (Searched for: )

  • Hossein74Majidi
  • Hossein74Majidi
28 Nov 2024 08:33
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

You didn't activate one of the spi numbers yet. So first open the dtso and replace ONE of the disabled to okay.
 

Yes that was the problem and also I needed to set its status to okay in rk3399-orangepi-4-lts.dtb in /boot/dtb/rockchip.
Thanks a lot.
now when I run linuxcnc I get this:
Debug file information:
Note: Using POSIX realtime
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
note: MAXV     max: 25.000 units/sec 1500.000 units/min
note: LJOG     max: 25.000 units/sec 1500.000 units/min
note: LJOG default: 6.000 units/sec 360.000 units/min
note: jog_order='XYZ'
note: jog_invert=set()
DRM_IOCTL_PANFROST_CREATE_BO failed: Invalid argument
DRM_IOCTL_PANFROST_CREATE_BO failed: Invalid argument
/usr/bin/linuxcnc: line 977:  6721 Segmentation fault      $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
6683
6717
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

and then it wont open anything. even the simulation cant be opened.
  • tommy
  • tommy
28 Nov 2024 08:28
Replied by tommy on topic Mesa Configuration Tool

Mesa Configuration Tool

Category: Configuration Tools

I have 7i95T + 7i78 as I need 7 axis to control (closed loop) + 1 pwm for spindle.
Which firmware is preferred in this case? Should I use the one that configures joint 5 on 7i95T as a pwm output and then use 2 axis on 7i78?
 
  • aikiaviator
  • aikiaviator
28 Nov 2024 06:35
Replied by aikiaviator on topic 7i96S Basic Switch Wiring confirmation

7i96S Basic Switch Wiring confirmation

Category: Basic Configuration

Hi all,

As anyone able to help with this question?

Thanks
  • royka
  • royka
28 Nov 2024 06:18
Replied by royka on topic Real-Time Kernel with Orange Pi 4 LTS

Real-Time Kernel with Orange Pi 4 LTS

Category: General LinuxCNC Questions

You didn't activate one of the spi numbers yet. So first open the dtso and replace ONE of the disabled to okay.

 
  • royka
  • royka
28 Nov 2024 06:08 - 28 Nov 2024 06:39

Real-time kerel not detected on patched 6.12

Category: General LinuxCNC Questions

Solved, the issue is that LinuxCNC checks /sys/kernel/realtime for a 1. The realtime patch added this but this part didn't become mainline.
I made this patch in case someone else wants to compile a custom kernel.

 

File Attachment:

File Name: sys-kernel...me.patch
File Size:1 KB


 
  • Hossein74Majidi
  • Hossein74Majidi
28 Nov 2024 05:38
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

It seems indeed that you have to enable the one that you need, so it's better to put back the original dit and download the dtbo source from:
raw.githubusercontent.com/armbian/build/...3399-spi-spidev.dtso

First remove the spi overlays from armbianEnv.txt
Check which spi goes to the gpio pins and isn't in use by anything else and recompile/install with: sudo armbian-add-overlay rockchip-rk3399-spi-spidev.dtso

For the slow graphics you could try to see if the GPU irq is on a cpu with many other interrupts and move to a less busy CPU: cat /proc/interrupts

50us should still be okay I think, although I'm not sure how this influences the spi connection, likely that it will need a more optimized driver

Thanks but it still doesnt work.:(
This is the main spidev file in my board:
drive.google.com/file/d/1XAjIt_TSBaVCBum...S3D/view?usp=sharing
Displaying 22381 - 22386 out of 22386 results.
Time to create page: 0.403 seconds
Powered by Kunena Forum