Hi Steve,
I want to use UART1 be the login console and for the bebug message both. UART0
will be used for some other purpose in our application.
Well, I have successfully tested loopback on the UART1 by shorting Tx /Rx in
which RS232 level converter is bypassed. But I am not able to transmit/receive
if I connect RS232 level converter between DM365 and console UART cable.
I think this might be a hardware issue in the level converter. I will try to
figure out this tomorrow.
Please let me know if you have any inputs related to this?
--
Regards,
Krunal
----- Original Message -----
From: "Steve Poulsen " < spoulsen @css-design.com>
To: " krunal patil " < krunal . patil @ einfochips .com>
Cc: " davinci forum" < davinci - linux -open-source@ linux . davincidsp .com>
Sent: Wednesday, June 30, 2010 7:51:06 PM
Subject: Re: DM365: how to use UART1 instead of UART0
Are you wanting to have UART0 be the login console while having debug messages
on UART1?
Let's make sure your getting UART1 working at all.
1) Make sure that ttyS1 is showing up at in your system under / dev . (also
check ttyS0)
2) Make sure this file exists / sys /class/ tty /ttyS1/driver (also check
ttyS0)
If you are getting ttyS0 files above but not ttyS1, then you don't have the
device setup properly.
Check your:
board-dm365- evm .c
Make sure that "enabled_ uarts " has a bit for both uarts :
.enabled_ uarts = ( 1 << 0 ) | ( 1 << 1),
When you have built and reloaded this kernel, retry the suggestions you already
received. I didn't see the email that "send_for" sent, but from your excerpt,
you ahve some things from him.
NOTE: The kernel will print out it's bootargs which you provided. Verify the
console=ttyS1 is as expected.
Also, check /etc/ inittab . Here you can add another terminal to login to,
without necessarily defining it as the console. This may be handy for you if
you want to login to / dev /ttyS0 but want debug messages on / dev /ttyS1.
Steve
On 06/30/2010 12:27 AM, Krunal Patil wrote:
Hi,
Thanks for the reply.
I tried these settings yet I am not able to see any messages on console using
UART1. Do I need to modify any PINMUX settings? And how you have derived the
clock settings (" CFG _NS16550_ CLK ------->12150000")?
--
Regards,
Krunal
On 07/05/2010 06:47 AM, seek_for wrote:
Uboot :
include/ configs / davinci _dm365_ evm .h:
CFG _NS16550_COM1 ---->0x01d06000
CFG _NS16550_ CLK ------->12150000
kernel:
arch/arm/mach- davinci /board-dm365- evm .c:
static struct plat_serial8250_port serial_platform_data[1]. uartclk =
12150000;
bootargs :
console=ttyS1,115200n8
2010-07-05
seek_for
发件人 : Krunal Patil
发送时间 : 2010-06-30 02:51:54
收件人 : davinci - linux -open-source
抄送 :
主题 : DM365: how to use UART1 instead of UART0
Hi,
Instead of UART0 I want to use UART1 On DM365 for the debug messages on
console. Has anyone tried this? Can anyone tell me what changes I have to do in
UBoot , kernel and bootargs ?
Thanks in advance!!!
--
Regards,
Krunal
Email Scanned for Virus & Dangerous Content by : www . CleanMailGateway .com
--
Regards,
Krunal Patil
eInfochips Ltd.
Tel.No. (079)26563705 Ext. 302
Cell. No. +919924629091
www . einfochips .com
--
This message has been scanned for viruses and
dangerous content by MailScanner , and is
believed to be clean. _______________________________________________ Davinci-
linux -open-source mailing list Davinci- linux -open-source@ linux . davincidsp
.com http :// linux . davincidsp .com/mailman/ listinfo / davinci - linux
-open-source
____________________________________________________________________________________
Disclaimer: This e-mail message and all attachments transmitted with it are
intended solely for the use of the addressee and may contain legally privileged
and confidential information. If the reader of this message is not the intended
recipient, or an employee or agent responsible for delivering this message to
the intended recipient, you are hereby notified that any dissemination,
distribution, copying, or other use of this message or its attachments is
strictly prohibited. If you have received this message in error, please notify
the sender immediately by replying to this message and please delete it from
your computer. Any views expressed in this message are those of the individual
sender unless otherwise stated.Company has taken enough precautions to prevent
the spread of viruses. However the company accepts no liability for any damage
caused by any virus transmitted by this email. _
___________________________________________________________________________________
--
This message has been scanned for viruses and
dangerous content by MailScanner , and is
believed to be clean.
Email Scanned for Virus & Dangerous Content by : www . CleanMailGateway .com ,
and is
believed to be clean. _______________________________________________ Davinci-
linux -open-source mailing list Davinci- linux -open-source@ linux . davincidsp
.com http :// linux . davincidsp .com/mailman/ listinfo / davinci - linux
-open-source
____________________________________________________________________________________
Disclaimer: This e-mail message and all attachments transmitted with it are
intended solely for the use of the addressee and may contain legally privileged
and confidential information. If the reader of this message is not the intended
recipient, or an employee or agent responsible for delivering this message to
the intended recipient, you are hereby notified that any dissemination,
distribution, copying, or other use of this message or its attachments is
strictly prohibited. If you have received this message in error, please notify
the sender immediately by replying to this message and please delete it from
your computer. Any views expressed in this message are those of the individual
sender unless otherwise stated.Company has taken enough precautions to prevent
the spread of viruses. However the company accepts no liability for any damage
caused by any virus transmitted by this email. _
___________________________________________________________________________________
--
This message has been scanned for viruses and
dangerous content by MailScanner , and is
believed to be clean.
Email Scanned for Virus & Dangerous Content by : www . CleanMailGateway .com ,
and is
believed to be clean.
Email Scanned for Virus & Dangerous Content by : www . CleanMailGateway .com_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source