From: Olaf Hering <olaf@aepfle.de>
To: linuxppc-dev@ozlabs.org
Subject: Re: missing current-speed property prevents autoconsole on pegasos
Date: Mon, 26 May 2008 13:11:16 +0200 [thread overview]
Message-ID: <20080526111116.GA2493@aepfle.de> (raw)
In-Reply-To: <20080423152206.GA10935@aepfle.de>
On Wed, Apr 23, Olaf Hering wrote:
Ping.
> 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);
> }
>
>
prev parent reply other threads:[~2008-05-26 11:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-23 15:22 missing current-speed property prevents autoconsole on pegasos Olaf Hering
2008-04-24 15:42 ` Matt Sealey
2008-04-25 7:18 ` Olaf Hering
2008-05-26 11:11 ` Olaf Hering [this message]
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=20080526111116.GA2493@aepfle.de \
--to=olaf@aepfle.de \
--cc=linuxppc-dev@ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).