linux-mips
[Top] [All Lists]

Re: question concerning serial console setup

To: "Andrew R. Baker" <andrewb@uab.edu>
Subject: Re: question concerning serial console setup
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Tue, 18 Jan 2000 03:14:19 +0100
Cc: Ralf Baechle <ralf@oss.sgi.com>, Jeff Harrell <jharrell@ti.com>, Conrad Parker <conradp@cse.unsw.edu.au>, linux@cthulhu.engr.sgi.com
In-reply-to: <Pine.LNX.3.96.1000117195358.28191A-100000@mdk187.tucc.uab.edu>
References: <20000117050602.C16920@uni-koblenz.de> <Pine.LNX.3.96.1000117195358.28191A-100000@mdk187.tucc.uab.edu>
Sender: owner-linuxmips@oss.sgi.com
On Mon, Jan 17, 2000 at 07:56:42PM -0600, Andrew R. Baker wrote:

> > > Unfortunately I am working on an embedded platform, only using this code
> > > as a starting point for our design.  If possible I would like to 
> > > initialize
> > > the console w/o the use of command line parameters.
> > 
> > A simple solution is to hardwire the commmand line in
> > arch/mips/kernel/setup.c.
> 
> I have some hackish code that queries the prom enviroment and edits the
> commandline to reflect the appropriate console.  If that is worthwhile to
> have available I will dig up a diff.

Have you considered hacking kerne/printk.c:console_setup() instead?
There is already some SPARC code there.

  Ralf

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