mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Hurley <peter@hurleysoftware.com>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: Robert Schwebel <r.schwebel@pengutronix.de>,
	linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
	kernel@pengutronix.de
Subject: Re: earlycon: no match?
Date: Thu, 07 May 2015 17:13:17 -0400	[thread overview]
Message-ID: <554BD56D.9010800@hurleysoftware.com> (raw)
In-Reply-To: <alpine.LFD.2.11.1505071942110.1538@eddie.linux-mips.org>

On 05/07/2015 04:14 PM, Maciej W. Rozycki wrote:
> On Thu, 7 May 2015, Peter Hurley wrote:
> 
>>>  What's the point of having two parameters as synonyms whose syntax is not 
>>> compatible to each other in the general case?  I'd expect the following 
>>> cases to be handled:
>>>
>>> 1. Regular console only (no early console requested) => `console=foo...'.
>>>
>>> 2. Both early and regular console => `earlycon=blah... console=foo...'.
>>>
>>> 3. Early console handing over to regular console => `earlycon=blah...'.
>>
>>   4. Early console only => `earlycon=blah...'
>>
>> How to distinguish between 3 & 4?
> 
>  Good point.  If you want to disable the handover, then it has to be 
> handled by the early console driver somehow.  Perhaps an option for 
> `earlycon=' (e.g. `nohandover') would be required for that.  In that case 
> the default selection would apply for the regular console, depending on 
> the available drivers.
> 
>  Your concern appears to me unrelated to `earlycon=' vs `console=' 
> parameter aliasing though.  The same observation about the handover 
> applies whether the parameters are aliased to each other or not.  Have I 
> missed anything?
> 
>>> Why do you want to support `console=blah...' too (a question to be asked 
>>> back in 2007, but better late than never)?
>>
>> Command line is considered to be userspace, so it doesn't really matter
>> what I think about whether console= should have been overloaded like that.
>>
>> The fact is, it was.
> 
>  The change has not been cast in stone, it can always be reverted if on 
> the second thoughts it is concluded to have been wrong.
> 
>  How does this overload interact with multiple `console=' options being 
> present BTW, which one is considered the early console?  Or do we support 
> driving multiple early consoles in parallel just as we do with regular 
> consoles?

Please familiarize yourself with the existing 'console=' and 'earlycon='
command line options documented in Documentation/kernel-parameters.txt
These have not changed with 4.1-rc

Regards,
Peter Hurley



  reply	other threads:[~2015-05-07 21:13 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-03 21:10 Robert Schwebel
2015-05-04 14:01 ` Peter Hurley
2015-05-04 16:52   ` Peter Hurley
2015-05-04 19:42   ` Robert Schwebel
2015-05-04 20:21     ` Peter Hurley
2015-05-04 20:52       ` Robert Schwebel
2015-05-04 21:27         ` Peter Hurley
2015-05-04 21:58           ` Robert Schwebel
2015-05-04 22:31             ` Peter Hurley
2015-05-05  4:51               ` Robert Schwebel
2015-05-05 10:39                 ` Peter Hurley
2015-05-05 16:32                   ` Robert Schwebel
2015-05-05 18:15                     ` Peter Hurley
2015-05-05 17:06                 ` Fabio Estevam
2015-05-07 17:09           ` Maciej W. Rozycki
2015-05-07 17:22             ` Peter Hurley
2015-05-07 20:14               ` Maciej W. Rozycki
2015-05-07 21:13                 ` Peter Hurley [this message]
2015-05-07 22:25                   ` Maciej W. Rozycki
2015-05-07 22:37                     ` Peter Hurley
2015-05-08 16:11                       ` Maciej W. Rozycki
2015-05-08  6:34               ` Sascha Hauer
2015-05-08 10:12                 ` Peter Hurley
2015-05-04 20:22   ` Sascha Hauer
2015-05-04 20:34     ` Peter Hurley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=554BD56D.9010800@hurleysoftware.com \
    --to=peter@hurleysoftware.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=macro@linux-mips.org \
    --cc=r.schwebel@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome