Presently 0 and 1 nodes are being created inside /dev/tts for UART0 and 1
respectively.
But as UART1 and ATA are multiplied and by default ATA is enabled so for
using UART1 we need to first enable at h/w level.
This h/w init can be done in UBOOT or /arch/arm/mach-davinci/board-evm.c.
and in clock.c in same directory.
This works to enable the h/w but still we are not able to use UART1 from
/dev/tts/1.
We found that all the structure info for UART1 was 0x00 for e.g. UART1 base
etc.
We passed structure for UART1 similar as done for UART0 in serial.c present
in same mach-davinci
Now the base addresses etc for UART1 is showing OK during registration of
UART1 in /driver/serial/8250.c
U can even see this by following command
cat /dev/tts/1
Still we are not able to get interrupt from UART1.
Kirill if u see any thing missing/wrong in above procedure please help.
regards,
Shreshtha Kumar, Inder
_____
From: Kirill Sukhonosenko [mailto:[EMAIL PROTECTED]
Sent: Monday, December 04, 2006 3:26 PM
To: 'SangJae H.'; [email protected]
Subject: RE: Anybody using UART1, UART2 ?
Hi,
Please try those found in /dev/tts
Regards,
Kirill
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
SangJae H.
Sent: Monday, December 04, 2006 8:22 AM
To: [email protected]
Subject: Anybody using UART1, UART2 ?
Hi
I'm using 1.0.0 version software
Anybody using UART1 and UART2 ( ex. /dev/ttyS0, /dev/ttyS1, /dev/ttyS2 )
I see at /dev/ directory, there is not /dev/ttyS? , only /dev/console
I see init kernel boot message blow
---
ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
---
How can I enable UART1 and UART2 ?
Thank you.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source