[I'm not on linux-mips, so cc me if needed]
On 30 Aug 01 at 6:25, Fuxin Zhang wrote:
> I have touble to make matroxfb work,could you be so kind to help me out?
> My configuration:
> Algorithmics P6032 evaluation board + idt64474 mipsel CPU
> (with pci slot,no AGP)
> Millennium G450 (PCI),16M DDR mem,Dual head.
> 2. memory cannot be autodetected. getmemory exit with realSize=0
> 3. if i set video.len mannually to 0x1000000(16M),then all seems
> to work,but the screen shows only some regular vertical lines
> and a real BIG cursor(about 2cm x 2cm!). There is about
> 0.5cm between two vertical lines.
Unfortunately, you are out of luck, matroxfb can initialize only
old Millenniums/Mysqtiques and G200 from scratch. If you have some
PC around, you can try either reading PCI registers from initialized
hardware, and set them by this during initialization in G100_preinit.
You must also initialize G450->video memory interface, and as this inteface
differs from G400, and G450 datasheet is still unavailable, it
can be tricky.
You can try contacting 'firstname.lastname@example.org' (I hope that he wont mind),
he asked about 3 weeks ago same question, but for their PPC hardware.
So maybe that he already has some initialization code ready.
> 2. try all kind of options: novga,nobios,noaccel,nohwcursor etc
> but nothing seems to really help(with nohwcursor,the big
> cursor disappears)(of course,I may have left out the
> correct combination:,it is impossible to try all)
You can try 'init' together with different 'memtype' values.
> One thing that may be useful is that pci initialization may have
> problems because my firmware (pmon from algor) has some bugs which
> prevent it from recognize and initialize the matrox card correctly.
It is not enough. You must also execute x86 initialization code to
bring chip to live, otherwise couple of parts of chip are powered
off (second head...), and uninitialized (memory interface, AGP), and
matroxfb does not care because of these init sequences and values are
undocumented (and on PC it requires two videocards in the box, and it
is currently impossible for me as all 6 PCI/AGP slots are used in my
I'm currently (and will for at least several next weeks) overloaded
with work I'm doing for my employer, so I cannot reverse engineer this