Linux MIPS Architecture development
 help / color / mirror / Atom feed
* help on linux-mipsel frame buffer
@ 2001-07-19 13:41 Fuxin Zhang
  2001-07-18  0:01 ` James Simmons
  0 siblings, 1 reply; 7+ messages in thread
From: Fuxin Zhang @ 2001-07-19 13:41 UTC (permalink / raw)
  To: linux-mips@oss.sgi.com

hello,linux-mips gurus
   Recently I am trying to make frame buffer work on my P6032 board
(from Algorithmics).I have a cirrus logic 5430,a RIVA TNT2 and a
Trident 3dImage9750 on hand.The linux kernel I am using is 2.2.14
(  mipsel 1.05? modified by Algorithmics. 
   BTW,could someone tell me how to access the mips tree and 
   what the version scheme for mipsel? I read the mips-howto.
   but although i can login to the cvs server of oss.sgi.com
   i could not find out where is the kernel. "cvs get linux"
   responded with "cannot find module 'linux'"
   I am new to mips world.
) 
and the distribution is Hardhat downloaded from oss.sgi.com
  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). I can use tty driver,because I can switch consoles
using alt-f? on the keyboard attached to the board and even login 
and reboot the machine: just no readable display.
  Then I try to use vesa driver. This one use some vgabios code 
I commented out the x86 relevant codes and made it compiled,(again
use pci_find_device to find video memory address,and tweak the make
file to force vgacon use vesa driver). But the result is a blank 
screen.The fb driver is certainly on: I can copy to/from /dev/fb0.
but with no visual effect.
  Finally I back port the Riva TNT frame buffer code to 2.2,the result
is the same as the vesa driver.

  I suspect that the pci memory map is somewhat broken,but I checked
the source code and the bonito(P6032 north bridge) manual and found 
no obvious flaw.

  Where could i be wrong?Is there anybody has some experience with
frame buffer for mips?

  Any help will be great appreciated.

   



Regards
            Fuxin Zhang
            fxzhang@ict.ac.cn

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Re: help on linux-mipsel frame buffer
@ 2001-07-18 12:37 Geert Uytterhoeven
  2001-07-20 18:18 ` Jun Sun
  0 siblings, 1 reply; 7+ messages in thread
From: Geert Uytterhoeven @ 2001-07-18 12:37 UTC (permalink / raw)
  To: Fuxin Zhang; +Cc: linux-mips@oss.sgi.com

On Wed, 18 Jul 2001, Fuxin Zhang wrote:
> 2001-07-18 09:18:00£º
> >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.
> Cound you give me a link to such a emulator?My firmware doesn't initialize VGA card.That seems the real problem.

I don't know whether it exists for Linux/MIPS yet.

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-07-22  9:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-19 13:41 help on linux-mipsel frame buffer Fuxin Zhang
2001-07-18  0:01 ` James Simmons
2001-07-18  7:18   ` Geert Uytterhoeven
  -- strict thread matches above, loose matches on Subject: below --
2001-07-18 12:37 Geert Uytterhoeven
2001-07-20 18:18 ` Jun Sun
2001-07-21 10:53   ` Geert Uytterhoeven
2001-07-21 15:25     ` Ralf Baechle
2001-07-22  9:55       ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox