From: Sylvain Munaut <tnt@246tNt.com>
To: Olaf Hering <olaf@aepfle.de>
Cc: Paul Mackeras <paulus@samba.org>, linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] autodetect serial console on efika
Date: Tue, 10 Apr 2007 22:25:48 +0200 [thread overview]
Message-ID: <461BF2CC.7090502@246tNt.com> (raw)
In-Reply-To: <20070410165246.GC508@aepfle.de>
Olaf Hering wrote:
> On Mon, Apr 09, Matt Sealey wrote:
>
>
>> It is entirely possible that a user may redirect the OF console output to
>> the PSC6 controller or another internal or external serial device (PCI
>> serial controller or so). In this case, the boot console will simply switch
>> to the UART on the back, which may be some other custom device and not a
>> valid console.
>>
>
> How many serial drivers are enabled in the public Efika firmware?
> With my change, both /failsafe and the /builtin/serial work.
> Both have device_type == "serial"
>
If I follow the logic of the patch correctly, as soon as there is no
"console=" in the command line and that the linux,stdout-path has a
device_type "serial", you add ttyPSC0 as console ?
The user could have plugged a console on the IRDA PSC and used a
bootscript to change the OF tree appropriately.
Or he could have put a PCI multi IO card and set the stdout to it ...
In all those cases, the ttyPSC0 is bogus ...
But in those "special cases", I guess it's not too much to ask the user
to provide a "console=" in the command line.
Sylvain
next prev parent reply other threads:[~2007-04-10 20:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-31 15:08 [PATCH] autodetect serial console on efika Olaf Hering
2007-03-31 17:06 ` Grant Likely
2007-04-09 12:56 ` Matt Sealey
2007-04-10 16:52 ` Olaf Hering
2007-04-10 20:25 ` Sylvain Munaut [this message]
2007-04-11 6:17 ` Olaf Hering
2007-04-11 18:47 ` Matt Sealey
2007-04-11 18:42 ` Matt Sealey
2007-04-12 15:59 ` Olaf Hering
2007-04-13 9:50 ` Matt Sealey
2008-01-21 15:29 ` Olaf Hering
2008-01-21 15:37 ` [PATCH] autodetect serial console on pegasos2 Olaf Hering
2008-01-21 15:56 ` [PATCH] autodetect serial console on efika Geert Uytterhoeven
2008-01-21 16:09 ` Andreas Schwab
2008-01-21 18:45 ` Grant Likely
2008-01-21 20:34 ` Olaf Hering
2008-01-21 20:38 ` Grant Likely
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=461BF2CC.7090502@246tNt.com \
--to=tnt@246tnt.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=olaf@aepfle.de \
--cc=paulus@samba.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.