Rock64 v3 Tx/RX and GPIO connections for 3dprinter
#1
I have a Rock64 V3 I'm trying to use Klipper/MailSail on to replace a Pi w2 Zero, which has been running my coreXY printer over serial.
I can't seem to figure out the serial connection. I have gotten the Rock64 to run the printer with no problem over USB.

I'm not a strong Linux user, but I managed to make it to the very end here, but I can't get this last part to work.
I feel I'm either missing the correct terms in overlays/ the correct kerral header/ or some permissions or conflict.

I'm trying to use UART2, which are the same pins as the pi w2 zero. 6,8,10
I think I have the serial console disable. I ran:
sudo systemctl mask serial-getty@ttyS2
and see nothing on tty2 now when I run ls /dev/ttyS*

I added to armbianEvn.txt

Code:
overlays=uart1 uart2 uart3


and added users to the dialout group and confirmed. 

I'm not sure about the Kernel header, and one post mentions some jumper pin for the header, but I'm pretty much past the point of my knowledge base, and I'm not sure what to search at this point.

Any direction or information anyone can offer would be appreciated.
  Reply
#2
I used armbian-config to reinstall the latest kernel V6.12.57

Is there anything else I have to do to turn on the UART2 pins?
Is there any way to test whether the pins UART2 are working on the board?
or see activity, with a command line, when plugged in.

I saw something about looping the pins with a wire for an "echo" test, but it wasn't explained well enough for me to try.
  Reply
#3
(01-13-2026, 06:43 PM)MinimumJargon Wrote: I have a Rock64 V3 I'm trying to use Klipper/MailSail on to replace a Pi w2 Zero, which has been running my coreXY printer over serial.
I can't seem to figure out the serial connection. I have gotten the Rock64 to run the printer with no problem over USB.

I'm not a strong Linux user, but I managed to make it to the very end here, but I can't get this last part to work.
I feel I'm either missing the correct terms in overlays/ the correct kerral header/ or some permissions or conflict.

I'm trying to use UART2, which are the same pins as the pi w2 zero. 6,8,10
I think I have the serial console disable. I ran:
sudo systemctl mask serial-getty@ttyS2
and see nothing on tty2 now when I run ls /dev/ttyS*

I added to armbianEvn.txt

Code:
overlays=uart1 uart2 uart3

and added users to the dialout group and confirmed. 

I'm not sure about the Kernel header, and one post mentions some jumper pin for the header, but I'm pretty much past the point of my knowledge base, and I'm not sure what to search at this point.

Any direction or information anyone can offer would be appreciated. popular games

Hello MinimumJargon! It sounds like you're on the right track with your Rock64 V3 setup. Here are a few suggestions:

  1. [b]Check UART Configuration[/b]: Ensure that UART2 is configured correctly in your device tree overlays. You might also want to verify that the correct pins are selected for TX/RX.
  2. [b]Kernel Headers[/b]: Make sure you have the appropriate kernel headers installed for your current kernel version. You can check this with 

    Code:
    uname -r
     and install the headers if needed.
  3. [b]Permissions[/b]: Since you've added your user to the 

    Code:
    dialout
     group, ensure you log out and back in for the changes to take effect.
  4. [b]Serial Console[/b]: Double-check that the serial console is indeed disabled. You might also want to check if any other services are using the UART.
If you still have issues, consider looking at the Klipper or MailSail documentation for specific UART setup instructions. Good luck!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 - not booting after Armbian update helpmerock 7 4,398 01-24-2026, 04:44 PM
Last Post: ff255
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 11 16,721 12-06-2025, 01:32 PM
Last Post: mara
  Xen hypervisor on Rock64 tumbleweed 6 10,470 11-03-2025, 09:25 AM
Last Post: darkfader
  can rock64 4gb ram run entirely on free software? heocb 1 2,626 01-07-2025, 05:47 AM
Last Post: KC9UDX
  Upgrading ancient Rock64 timxjr1300 1 2,753 11-26-2024, 09:47 AM
Last Post: dmitrymyadzelets
  arch rock64 does not boot nemnob 1 3,927 09-20-2024, 11:18 AM
Last Post: AwU2HBg
  DietPi OS for ROCK64 MichaIng 42 76,952 09-01-2024, 06:43 AM
Last Post: RaymondDay
Smile First Lakka image for Rock64! Luke 47 103,704 09-01-2024, 06:05 AM
Last Post: RaymondDay
  Rock64 v2 - did not work song / audio sqw200zu 2 5,264 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 2,831 12-27-2023, 10:34 AM
Last Post: dstallmo

Forum Jump:


Users browsing this thread: 1 Guest(s)