I am working with VAR-SOM-OM44 board with OMAP4460 processor, running the Linux OS (Ubuntu 12.04). According to device documentation, serial port connection is supposed to be RS232 –DTE UART1. I set serial port loopback adapter (tested on another computers) to this connection. I am trying to get it working, using standard Ubuntu programs.
variscite@variscite-desktop:~$ dmesg | grep tty
[ 0.000000] Kernel command line: ro elevator=noop ro elevator=noop console=tt
yO2,115200n8 mem=1G@0x80000000 root=/dev/mmcblk0p2 fixrtc video=800x480 eth.smsc
=f8:dc:7a:00:ff:1a
[ 1.585540] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 104) is a OMAP UART0
[ 1.586273] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 105) is a OMAP UART1
[ 1.586944] omap_uart.2: ttyO2 at MMIO 0x48020000 (irq = 106) is a OMAP UART2
[ 3.248443] console [ttyO2] enabled
[ 3.253631] omap_uart.3: ttyO3 at MMIO 0x4806e000 (irq = 102) is a OMAP UART3
So, possible device names are /dev/ttyO0, /dev/ttyO1, /dev/ttyO2, /dev/ttyO3. Then I use minicom program, setting /dev/ttyO0... /dev/ttyO3 and trying to type some symbols. Since loopback is connected, I expect to see echo on the screeen, but I never see this. (Tested on Ubuntu host computer, this way works with /dev/ttyS0).
So, ttyO0 - ttyO3 look like valid serial ports, they can be opened by a program, but they don't send/receive any information.