[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4C3B8E94.6040101@zytor.com>
Date: Mon, 12 Jul 2010 14:52:20 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: 7eggert@....de
CC: Bodo Eggert <7eggert@....de>, Yinghai Lu <yinghai@...nel.org>,
Pekka Enberg <penberg@...helsinki.fi>,
Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
Andrew Morton <akpm@...ux-foundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86: Setup early console as early as possible
On 07/12/2010 01:57 PM, Bodo Eggert wrote:
> H. Peter Anvin <hpa@...or.com> wrote:
>> On 07/12/2010 09:21 AM, Yinghai Lu wrote:
>
>>> earlycon=uart8250 or console=uart8250 should be better than earlyprintk.
>>> because it is shared between different archs already.
>
>> console= is crap, because it makes the user keep track of items they
>> should not have to deal with directly (unless they want to override the
>> defaults), i.e. the specific I/O ports used by the serial ports.
>
> Why does console= require these parameters, if earlyprintk does not?
>
> IMO you should fix console= to not need these parameters unless they cannot
> be guessed (in which case earlyprintk cannot guess them, either).
>
earlycon is basically a low-level interface where you can steer
everything. This is what you have to do on most embedded architectures,
where the firmware doesn't tell you where the console is located.
On x86, either the firmware can tell you or you can rely on 20 years of
legacy, with very few divergences.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists