getting second serial port available
#1
I'm trying to get the second serial port working (/dev/ttyS2) on a PINE64-LTS board.

I created and edited the DTS file as @martinayotte  posted a while back (https://forum.pine64.org/showthread.php?...ight=ttyS2).
But it didn't seem to work. I am using a logic analyzer to monitor the signals and getting NO data. I am using a simple C program to open and write to the port. the write reports its writing data.

in /boot/dtb/allwinner I modified the "-lts.dtb" file
-rw-r--r-- 1 root root 41859 Feb 17  2023 sun50i-a64-pine64.dtb
-rw-rw-r-- 1 root root 41973 Nov  1 13:20 sun50i-a64-pine64-lts.dtb
-rw-r--r-- 1 root root 41909 Feb 17  2023 sun50i-a64-pine64-lts-dtb-backup
-rw-r--r-- 1 root root 41981 Feb 17  2023 sun50i-a64-pine64-plus.dtb


Is there a way to confirm 
a) which DTB file the system is actually using, or
b) that the "okay" on that serial port is enabling the mux mapping for those pins?

Thanks in advance.
  Reply


Messages In This Thread
getting second serial port available - by gadgetguy - 11-10-2023, 12:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question How to connect a pine64-LTS to a serial console? zuvmajujo 1 1,023 04-02-2023, 05:09 PM
Last Post: zuvmajujo
  Sopine baseboard CSI port camera not work olivaw 2 4,424 02-20-2019, 09:50 AM
Last Post: maya.b

Forum Jump:


Users browsing this thread: 1 Guest(s)