From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Db35e-00017M-9V for qemu-devel@nongnu.org; Wed, 25 May 2005 17:06:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Db35b-00015m-22 for qemu-devel@nongnu.org; Wed, 25 May 2005 17:06:55 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Db35a-00013K-Qt for qemu-devel@nongnu.org; Wed, 25 May 2005 17:06:54 -0400 Received: from [62.210.158.45] (helo=quito.magic.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Db306-00039c-6n for qemu-devel@nongnu.org; Wed, 25 May 2005 17:01:14 -0400 Subject: Re: [Qemu-devel] booting linux 2.6 in qemu-system-ppc From: "J. Mayer" In-Reply-To: <1116845462.5124.1.camel@gaston> References: <1116115668.25230.1.camel@localhost> <1116159184.12010.88.camel@rapid> <1116808312.20084.14.camel@gaston> <1116845275.15980.96.camel@rapid> <1116845462.5124.1.camel@gaston> Content-Type: text/plain Date: Wed, 25 May 2005 23:00:42 +0200 Message-Id: <1117054842.15980.118.camel@rapid> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Johannes Berg On Mon, 2005-05-23 at 20:51 +1000, Benjamin Herrenschmidt wrote: > On Mon, 2005-05-23 at 12:47 +0200, J. Mayer wrote: > > On Mon, 2005-05-23 at 10:31 +1000, Benjamin Herrenschmidt wrote: > > > > console=ttyS0 console=tty0 > > > > Note that the Open-Firmware frame-buffer support is broken in many 2.6 > > > > kernels (I mean on real Macs) > > > > > > How so ? > > > > Well, there have been many issues with frame-buffer in 2.6, not only on > > Mac platform. > > With Open-Firmware frame buffer, I remember the first 2.6 kernels had no > > fb output at all. > > Then came kernels that could display a Tux penguin in psychadelic > > colors, I guess it was drawing in 16 bits mode when the OF frame-buffer > > is 15 bits. > > This has been solved in more recent kernels. I don't remember in which > > version it was fixed (but I think around 2.6.5 or 2.6.6). > > I can easily reproduce this on my Ibook and on my Apple Network Server, > > which means it's not a hardware-dependant bug (Ibook 2 has an ATI > > graphic card, ANS is cirrus-logic) nor it's specific to some OF version > > (ANS one is really old...). > > > > There is now another bug with qemu: with recent 2.6 kernels, the > > frame-buffer is recognized and console is working but it only draws > > characters black on black background, even if I send escape sequences to > > change the drawing color. Note that the penguin is well drawn, in those > > cases. > > If you have an idea of what can cause this, I'd be glad to know it ;-) > > I would say the palette isn't set properly ... Right, is this set according to some OF properties (which could be a cause of the bug) ? I didn't find anything like this in OF fb code, but I may have missed it.... -- J. Mayer Never organized