I would like to share information. 
How to find the map between uart* and ttyS*

Ocp is on-chip peripheral.

 

Uart 3 physical address is 0x4802 0000  (TI manual).

So the mapping address is matched to /tty/ttyS2 (it is actually linked to 
ttyO2. Please Refer to the below command )

Uart 5 physical address is 0x4806 6000 matched to ttyS4. (it is actually 
linked to ttyO4. Please Refer to the below command)

 

Etc.

 

I hope it is helpful.  

 

*debian@beaglebone:/sys/class/tty$ ls -al | grep ttyS*

lrwxrwxrwx  1 root root 0 Mar 12 23:01 ttyS0 -> 
../../devices/platform/44000000.ocp/4806a000.serial/tty/ttyS0

lrwxrwxrwx  1 root root 0 Mar 12 23:01 ttyS1 -> 
../../devices/platform/44000000.ocp/48422000.serial/tty/ttyS1

lrwxrwxrwx  1 root root 0 Mar 12 23:01 ttyS2 -> 
../../devices/platform/44000000.ocp/48020000.serial/tty/ttyS2

lrwxrwxrwx  1 root root 0 Mar 12 23:01 ttyS3 -> 
../../devices/platform/44000000.ocp/4ae2b000.serial/tty/ttyS3

lrwxrwxrwx  1 root root 0 Mar 12 23:01 ttyS4 -> 
../../devices/platform/4400.ocp/48066000.serial/tty/ttyS4

lrwxrwxrwx  1 root root 0 Mar 12 23:01 ttyS5 -> 
../../devices/platform/44000000.ocp/48068000.serial/tty/ttyS5

 


>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/9649614f-f7ca-4034-a2b1-ec9ac303c198%40googlegroups.com.

Reply via email to