linux-mips
[Top] [All Lists]

Re: help on linux-mipsel frame buffer

To: James Simmons <jsimmons@transvirtual.com>
Subject: Re: help on linux-mipsel frame buffer
From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Date: Wed, 18 Jul 2001 09:18:10 +0200 (MEST)
Cc: Fuxin Zhang <fxzhang@ict.ac.cn>, "linux-mips@oss.sgi.com" <linux-mips@oss.sgi.com>
In-reply-to: <Pine.LNX.4.10.10107171655090.22673-100000@transvirtual.com>
Sender: owner-linux-mips@oss.sgi.com
On Tue, 17 Jul 2001, James Simmons wrote:
> >   First I try the vga16 frame buffer driver,but i can only get
> > some black/white strips on the screen.(after made some changes 
> > to the source,most important one is use pci to find and set the
> > vbase address). 
> 
> It is hardwired into the vga16fb driver the memory region (0xA000). This
> is very wrong on non intel platforms. So that drivers pretty much doesn't
> work on anything else.

Does your firmware initialize the VGA card to VGA text mode? Vga16fb requires
this initialization, which is normally done by the VGA BIOS. An x86
BIOS-emulator may be your friend.

> >   Then I try to use vesa driver. This one use some vgabios code 
> > I commented out the x86 relevant codes and made it compiled,
> 
> The VESA framebuffer is also intel specific. It uses the BIOS to setup the
> video mode. This is done long before the cpu is placed into protect mode.

Similar issue here.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven ------------- Sony Software Development Center Europe (SDCE)
Geert.Uytterhoeven@sonycom.com ------------------- Sint-Stevens-Woluwestraat 55
Voice +32-2-7248626 Fax +32-2-7262686 ---------------- B-1130 Brussels, Belgium


<Prev in Thread] Current Thread [Next in Thread>