Re: How can I use DBAu1550 UART3 instead of UART0?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Charles,

I'm not sure what you try to accomplish, so I'll try to answer
your question in two ways.

On Wed, May 03, 2006 at 03:52:08PM +0800, Charles C.K.Lai wrote:
> If I'd like to build my kernel starting with UART port 3, 
> not starting with UART port 0, 
Do you want UART port 3 to become /dev/ttyS0 and completely
ignore the fact that your CPU has a UART port 0 and 1 too? So you
just only want to use 1 UART namely port 3 of you CPU?
If this is the case you can start fiddling around with
drivers/serial/8250_au1x00.c and also have a loog at
include/asm/mach-au1x00/au1000.h

If you just want to have your serial console on UART port 3
instead of port 0 you have to do a little bit more. First you
need to tell yamon (the bootloader I expect you to use) to use
UART port 3 instead of port 0 and then you just boot the kernel
with the console= option. See Documentation/kernel-parameters.txt
for more information.

Hope this will help. Otherwist try to explain a little bit more
thoroughly what you try to accomplish. Good luck!

-- 
$ cat ~/.signature
Freddy Spierenburg <freddy@xxxxxxxxxxxxxxx>  http://freddy.snarl.nl/
GnuPG: 0x7941D1E1=C948 5851 26D2 FA5C 39F1  E588 6F17 FD5D 7941 D1E1
$ # Please read http://www.ietf.org/rfc/rfc2015.txt before complain!

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux