From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Antonino A. Daplas" Subject: Re: [Linux-fbdev-devel] Help re Frame Buffer/Console Problems Date: Sat, 30 Oct 2004 08:25:47 +0800 Sender: linux-kernel-owner@vger.kernel.org Message-ID: <200410300825.47096.adaplas@hotpop.com> References: Reply-To: adaplas@pol.net Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Id: , jsimmons@infradead.org, geert@linux-m68k.org Cc: sparclinux@vger.kernel.org, ultralinux@vger.kernel.org, linux-kernel@vger.kernel.org, wli@holomorphy.com On Saturday 30 October 2004 02:22, Mark Fortescue wrote: > Hi all, > > I have been trying to get a CG3 sparc clone up and running with linux. > Under 2.2.26, the console is fine. During the development of the > 2.5.x/2.6.x frame buffer system the CG3 support got broken. I have managed > to track done one of the problems (the blanking code had some typing > errors in it) and this gave me a logo + black screen and cursor using a > linux-2.2.8.1 kernel. Still no console text. > > Given that 2.2.10-rc1-bk6 is available, I have downloaded and applied the > appropriate patches and made some additional mods to keep the > compiler/linker happy. Now I have a black console, no text, logo or cursor > and if I redirect the console output to a serial port I get the following: I'm assuming 2.6.10-rc1-bk6... Make sure you correctly fill up the red, green, blue, and transp fields in all->info.var. You can do it in sbufsfb_fill_var, or somewhere within cg3.c before the register_framebuffer() part. As a reminder, info->var and info->fix must be valid prior to framebuffer registration. Tony