linux-mips
[Top] [All Lists]

Re: configuring console to use a different UART

To: Prashant Viswanathan <vprashant@echelon.com>
Subject: Re: configuring console to use a different UART
From: Jun Sun <jsun@mvista.com>
Date: Wed, 4 Feb 2004 15:01:04 -0800
Cc: "'linux-mips@linux-mips.org'" <linux-mips@linux-mips.org>, jsun@mvista.com
In-reply-to: <5375D9FB1CC3994D9DCBC47C344EEB59383A13@miles.echelon.com>; from vprashant@echelon.com on Wed, Feb 04, 2004 at 02:42:13PM -0800
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <5375D9FB1CC3994D9DCBC47C344EEB59383A13@miles.echelon.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5i
On Wed, Feb 04, 2004 at 02:42:13PM -0800, Prashant Viswanathan wrote:
> Hi,
> 
> How can I change the kernel so that it uses the UART I specify for the
> console instead of the first available one? I dont want to pass this on the
> bootline but want to compile this into vmlinux.
> 

With 2.6, set CONFIG_CMDLINE with something like:

console=ttyS1,38400

With 2.4, add (strcpy or strcat) the above string to your arcs_cmdline 
defined by your specific board code.

Jun

<Prev in Thread] Current Thread [Next in Thread>