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