From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e32.co.us.ibm.com (e32.co.us.ibm.com [32.97.110.150]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "e33.co.us.ibm.com", Issuer "Equifax" (verified OK)) by ozlabs.org (Postfix) with ESMTP id A6D90DDDFE for ; Wed, 21 Feb 2007 02:02:29 +1100 (EST) Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e32.co.us.ibm.com (8.12.11.20060308/8.13.8) with ESMTP id l1KF1f9h001864 for ; Tue, 20 Feb 2007 10:01:41 -0500 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by westrelay02.boulder.ibm.com (8.13.8/8.13.8/NCO v8.2) with ESMTP id l1KF2QVM304632 for ; Tue, 20 Feb 2007 08:02:26 -0700 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l1KF2OH2012840 for ; Tue, 20 Feb 2007 08:02:25 -0700 Subject: Re: [0/14] Ebony support, 2nd spin From: Josh Boyer To: Arnd Bergmann In-Reply-To: <1171982767.24204.70.camel@zod.rchland.ibm.com> References: <20070220020837.GF17818@localhost.localdomain> <1171980307.24204.66.camel@zod.rchland.ibm.com> <200702201516.25160.arnd@arndb.de> <1171982767.24204.70.camel@zod.rchland.ibm.com> Content-Type: text/plain Date: Tue, 20 Feb 2007 09:03:26 -0600 Message-Id: <1171983806.24204.79.camel@zod.rchland.ibm.com> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, David Gibson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2007-02-20 at 08:46 -0600, Josh Boyer wrote: > On Tue, 2007-02-20 at 15:16 +0100, Arnd Bergmann wrote: > > On Tuesday 20 February 2007 15:05, Josh Boyer wrote: > > > Which probably has something to do with the of_serial driver being used > > > now. Just an FYI. > > > > If you want to use of_serial together with serial console, you need > > to make sure that the detection logic in arch/powerpc/kernel/legacy_serial.c > > finds the port. It currently finds the serial port on axon, but that > > requires that the bus it's on is of type "opb" and the device itself > > is listed as "stdout" and has type "serial" and is compatible with > > "ns16750" (note: the others look for "ns16550" here). > > The ebony dts has the ports as ns16550. That is required for the > bootwrapper to find the port to use for it's output at the moment. And the ebony dts also has the a bus type of "ibm,opb" as well. I hacked legacy_serial.c to look for ns16550 compatible devices with a parent OPB node of type "ibm,opb" and I got serial output on the Ebony board even with of_serial turned off. We should look for both "ns16550" and "ns16750" compatible devices in legacy_serial.c. As for the bus type, we could look for both types or the ebony.dts could change to use "opb" instead of "ibm,opb". josh