Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Re: ATI Victoria on Malta
@ 2001-07-24 16:15 Andrew Thornton
  2001-07-25  7:44 ` Carsten Langgaard
  0 siblings, 1 reply; 14+ messages in thread
From: Andrew Thornton @ 2001-07-24 16:15 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: James Simmons, Linux-MIPS

Geert,

>> I guess this is not surprising because the Malta firmware isn't a PC
BIOS.
>
>If the RAGE XL is the officially supported video board for the Malta, I
>wouldn't have been surprised if its firmware would have contained code to
>initialize the RAGE XL. But unfortunately this doesn't seem to be the case.

I don't know if YAMON supports anything other than a serial terminal for its
console.

>Next question: is there sample code available (e.g. with the `supported' OS
for
>the Malta) to initialize the RAGE XL?

It has been pointed out to me that there is some source code, but this
originates from a non-suitable source for use in Linux. Need I say more?

Andrew Thornton

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: ATI Victoria on Malta
@ 2001-07-24 16:32 Andrew Thornton
  0 siblings, 0 replies; 14+ messages in thread
From: Andrew Thornton @ 2001-07-24 16:32 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: James Simmons, Linux-MIPS

Ralf,

>> What I've got is linux-2.4.3.mips-src-01.00.tar.gz (from ftp.mips.com)
>> patched to make the FPU emulator work reliably (taken from the mail
list),
>
>Sorry to destroy your illusions but we've got still a bunch of rather
>tricky bugs in the fp emulation code.

OK then, patched to make the FPU emulator work more reliably.

Andrew Thornton

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: ATI Victoria on Malta
@ 2001-07-24 15:51 Andrew Thornton
  2001-07-24 15:55 ` Geert Uytterhoeven
  0 siblings, 1 reply; 14+ messages in thread
From: Andrew Thornton @ 2001-07-24 15:51 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: James Simmons, Linux-MIPS

Geert,

>Using `atydebug' (from tools in CVS module atyfb at
>http://www.sourceforge.net/projects/linux-fbdev/), the PLL debug values
mean:
>
>| tux$ ./atydebug ac ac 24 df f6 04 00 fd 8e 9e 65 05 00 00 00 00
>| PLL rate = 417.901480 MHz (guessed)
>| bad MCLK post divider 5
>| VCLK0 = 414.623821 MHz
>| VCLK1 = 232.713765 MHz
>| VCLK2 = 86.311678 MHz
>| VCLK3 = 165.521763 MHz
>| tux$
>
>Which looks a bit odd. The same for the 512 K SGRAM.
>
>So I guess the Malta firmware hasn't initialized the RAGE XL yet. And atyfb
>requires an initialized chip.

I guess this is not surprising because the Malta firmware isn't a PC BIOS.

Andrew Thornton

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: ATI Victoria on Malta
@ 2001-07-24 13:24 Andrew Thornton
  2001-07-24 13:53 ` Geert Uytterhoeven
  2001-07-24 16:23 ` Ralf Baechle
  0 siblings, 2 replies; 14+ messages in thread
From: Andrew Thornton @ 2001-07-24 13:24 UTC (permalink / raw)
  To: James Simmons; +Cc: Linux-MIPS

>Turn on debugging in atyfb.c and post the results.
>
>/*
> * Debug flags.
> */
>#undef DEBUG

OK. I'm afraid I haven't got that much time to spare on this, which is why I
asked if anyone else had managed this!

What I've got is linux-2.4.3.mips-src-01.00.tar.gz (from ftp.mips.com)
patched to make the FPU emulator work reliably (taken from the mail list),
aty.h and atyfb.c from linux-2.4.6.tar.gz (from ftp.kernel.org) with DEBUG
defined. The kernel is configured for a little endian Malta board, virtual
terminal, framebuffer, ATI Mach64, PS2 keyboard (I had to change the MIPS
config.in for this), GDB debugging.

The relevant console output is:

atyfb: 3D RAGE (XL) [0x4752 rev 0x65] 512K SGRAM, 14.31818 MHz XTAL, 230 MHz
PLL
, 120 Mhz MCLK
BUS_CNTL DAC_CNTL MEM_CNTL EXT_MEM_CNTL CRTC_GEN_CNTL DSP_CONFIG DSP_ON_OFF
80000001 06010000 00085838 00000081     04000000      00000000   00000000
PLL ac ac 24 df f6 04 00 fd 8e 9e 65 05 00 00 00 00

It hangs here.

Adding printk()'s, it seems that one of the places it hangs is in
wait_for_fifo() reading FIFO_STAT.

Andrew Thornton

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: ATI Victoria on Malta
@ 2001-07-23  9:02 Andrew Thornton
  2001-07-23 19:03 ` James Simmons
  0 siblings, 1 reply; 14+ messages in thread
From: Andrew Thornton @ 2001-07-23  9:02 UTC (permalink / raw)
  To: James Simmons; +Cc: Linux-MIPS

>> There does seem to be some code for the ATI Rage XL hardware (as used on
the
>> card) in v2.4.6 of the kernel.
>
>I don't have this board but give the atyfb framebuffer a try.

This is what I tried. Sadly it locks up at various places and I don't have a
logic analyser or any documentation.

Andrew Thornton

^ permalink raw reply	[flat|nested] 14+ messages in thread
* ATI Victoria on Malta
@ 2001-07-18 16:48 Andrew Thornton
  2001-07-20 17:43 ` James Simmons
  0 siblings, 1 reply; 14+ messages in thread
From: Andrew Thornton @ 2001-07-18 16:48 UTC (permalink / raw)
  To: Linux-MIPS

Has anyone managed to get the ATI Victoria graphics card working on the MIPS
Malta development board with Linux? This is the card that MIPS specify for
use with the Malta board with another OS (which I shall refrain from
naming).

There does seem to be some code for the ATI Rage XL hardware (as used on the
card) in v2.4.6 of the kernel.

Regards,

Andrew Thornton
Insignia Solutions

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

end of thread, other threads:[~2001-07-25 20:38 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-24 16:15 ATI Victoria on Malta Andrew Thornton
2001-07-25  7:44 ` Carsten Langgaard
2001-07-25 20:37   ` James Simmons
  -- strict thread matches above, loose matches on Subject: below --
2001-07-24 16:32 Andrew Thornton
2001-07-24 15:51 Andrew Thornton
2001-07-24 15:55 ` Geert Uytterhoeven
2001-07-24 13:24 Andrew Thornton
2001-07-24 13:53 ` Geert Uytterhoeven
2001-07-24 16:23 ` Ralf Baechle
2001-07-24 16:45   ` Kevin D. Kissell
2001-07-23  9:02 Andrew Thornton
2001-07-23 19:03 ` James Simmons
2001-07-18 16:48 Andrew Thornton
2001-07-20 17:43 ` James Simmons

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