From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by ozlabs.org (Postfix) with ESMTP id B6126DDFBD for ; Mon, 26 May 2008 21:11:19 +1000 (EST) Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 3094421D7DA for ; Mon, 26 May 2008 13:11:36 +0200 (CEST) Received: from localhost (unknown [192.168.1.157]) by mail.m-online.net (Postfix) with ESMTP id DD9629009D for ; Mon, 26 May 2008 13:11:17 +0200 (CEST) Received: from localhost ([192.168.3.149]) by localhost (scanner1.m-online.net [192.168.1.157]) (amavisd-new, port 10024) with ESMTP id wLqg1uyc4tWr for ; Mon, 26 May 2008 13:11:17 +0200 (CEST) Received: from ibook.aepfle.de (DSL01.83.171.157.190.ip-pool.NEFkom.net [83.171.157.190]) by mail.mnet-online.de (Postfix) with ESMTP for ; Mon, 26 May 2008 13:11:17 +0200 (CEST) Date: Mon, 26 May 2008 13:11:16 +0200 From: Olaf Hering To: linuxppc-dev@ozlabs.org Subject: Re: missing current-speed property prevents autoconsole on pegasos Message-ID: <20080526111116.GA2493@aepfle.de> References: <20080423152206.GA10935@aepfle.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: <20080423152206.GA10935@aepfle.de> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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); > } > >