Hi all,
I try to enable UART1 on DM6446
I add UART1 in davinci-evm.c and clock.c as UART0, and I have also set the pinmux1 for UART1.
The booting messages:
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
DM6443
MUX: initialized UART1
.......
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
Registering platform device 'serial8250'. Parent at platform
ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
ttyS1 at MMIO 0x1c20400 (irq = 41) is a 16550A
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
When I test:
# cat /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:16550A port:00000000 irq:40 tx:2631 rx:34 RTS|CTS|DTR|DSR
1: uart:16550A port:00000000 irq:41 tx:0 rx:0 CTS|DSR
# stty sane 115200 raw -echo crtscts < /dev/tts/1
# stty -a </dev/tts/1
speed 115200 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon
-ixoff -iuclc -ixany -imaxbel
-opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
-isig -icanon iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
When execute echo "test" >/dev/tts/1, the command cannot finish untill it overtime after a long while. and then
# cat /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:16550A port:00000000 irq:40 tx:3679 rx:165 RTS|CTS|DTR|DSR
1: uart:16550A port:00000000 irq:41 tx:0 rx:0 CTS|DSR
it seems no data was transmitted.
Any hint? Thanks.