From: Olaf Hering <olaf@aepfle•de>
To: linuxppc-dev@ozlabs•org
Subject: missing current-speed property prevents autoconsole on pegasos
Date: Wed, 23 Apr 2008 17:22:06 +0200 [thread overview]
Message-ID: <20080423152206.GA10935@aepfle.de> (raw)
Pegasos2 has no current-speed property in
/pci@80000000/isa@C/serial@i2F8. As a result, console=ttyS0,115200 is
still required unless the patch below is used.
What is the correct way to restore console detection on pegasos2?
Index: linux-2.6.25-pegasos/arch/powerpc/platforms/chrp/setup.c
===================================================================
--- linux-2.6.25-pegasos.orig/arch/powerpc/platforms/chrp/setup.c
+++ linux-2.6.25-pegasos/arch/powerpc/platforms/chrp/setup.c
@@ -302,7 +305,7 @@ static void chrp_init_early(void)
if (!property)
goto out_put;
if (!strcmp(property, "failsafe") || !strcmp(property, "serial"))
- add_preferred_console("ttyS", 0, NULL);
+ add_preferred_console("ttyS", 0, "115200");
out_put:
of_node_put(node);
}
next reply other threads:[~2008-04-23 15:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-23 15:22 Olaf Hering [this message]
2008-04-24 15:42 ` missing current-speed property prevents autoconsole on pegasos Matt Sealey
2008-04-25 7:18 ` Olaf Hering
2008-05-26 11:11 ` Olaf Hering
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=20080423152206.GA10935@aepfle.de \
--to=olaf@aepfle$(echo .)de \
--cc=linuxppc-dev@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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