Hi All.

With helps by Dirk Behme, I got the messages like this.


Linux version : Current GIT kernel
UBoot version : Current GIT uboot
Root File System : provided by DVEVM 


[When kernel boots, I got the messages.]

serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0x1c20400 (irq = 41) is a 16550A
serial8250.0: ttyS2 at MMIO 0x1c20800 (irq = 42) is a 16550A


[After booting, I checked this]
[EMAIL PROTECTED]:~# cat /proc/tty/driver/serial 
serinfo:1.0 driver revision:
0: uart:16550A mmio:0x01C20000 irq:40 tx:1847 rx:34 RTS|CTS|DTR|DSR
1: uart:16550A mmio:0x01C20400 irq:41 tx:0 rx:0 CTS|DSR
2: uart:16550A mmio:0x01C20800 irq:42 tx:0 rx:0 CTS|DSR
[EMAIL PROTECTED]:~# 


[I edited the file /etc/udev/rules.d/compat.rules]
KERNEL="ttyS[0-9]*",    SYMLINK="%k"


so I got the messages like this.

[EMAIL PROTECTED]:/etc/udev/rules.d# ls -al /dev/ttyS*
lrwxrwxrwx  1 root root 5 Jan  1 12:00 /dev/ttyS0 -> tts/0
lrwxrwxrwx  1 root root 5 Jan  1 12:00 /dev/ttyS1 -> tts/1
lrwxrwxrwx  1 root root 5 Jan  1 12:00 /dev/ttyS2 -> tts/2


[Question 1]
But, Here's the my question.
When I checked /proc/interruptes. I got this.

[EMAIL PROTECTED]:/etc/udev/rules.d# cat /proc/interrupts 
           CPU0
  0:          0       AINTC  dm644xv4l2
  8:      31550       AINTC  davincifb
 12:          1       AINTC  musb_hdrc
 13:      10348       AINTC  EMAC
 16:          0       AINTC  EDMA
 17:          0       AINTC  EDMA CC Err
 18:          0       AINTC  EDMA TC1 Err
 19:          0       AINTC  EDMA TC2 Err
 26:       1053       AINTC  mmc0
 32:      52699       AINTC  clockevent
 33:          3       AINTC  free-run counter
 39:        186       AINTC  i2c_davinci
 40:       1263       AINTC  serial
Err:          0

Why does the serial interrupt appear only uart0 ??
The interrupt number of Uart1 and Uart2 is 41 and 42.


[Question 2] I tested like this.

[EMAIL PROTECTED]:/etc/udev/rules.d# cat /proc/tty/driver/serial 
serinfo:1.0 driver revision:
0: uart:16550A mmio:0x01C20000 irq:40 tx:8385 rx:424 RTS|CTS|DTR|DSR
1: uart:16550A mmio:0x01C20400 irq:41 tx:0 rx:0 CTS|DSR
2: uart:16550A mmio:0x01C20800 irq:42 tx:0 rx:0 CTS|DSR


[EMAIL PROTECTED]:/etc/udev/rules.d# echo "hello" > /dev/ttyS1 


[EMAIL PROTECTED]:/etc/udev/rules.d# cat /proc/tty/driver/serial 
serinfo:1.0 driver revision:
0: uart:16550A mmio:0x01C20000 irq:40 tx:8899 rx:480 RTS|CTS|DTR|DSR
1: uart:16550A mmio:0x01C20400 irq:41 tx:7 rx:0 CTS|DSR                       
<---- this point
2: uart:16550A mmio:0x01C20800 irq:42 tx:0 rx:0 CTS|DSR


when I tested echo "hello" > /dev/ttyS1, and examined /proc/tty/driver/serial
The number of tx for UART1 increased. 


Is it impossible to register serial interrupt for UART1 and UART2?

** Is there anyone to help me with this problems?

Any comments will help us.

Thanks.

Jaehoon.

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to