Changing MMIO registers address?

Changing MMIO registers address?

Post by Walter Haidinge » Wed, 23 Sep 1998 04:00:00



Hi!

First of all: If you know a more appropriate newsgroup for this question,
              please let me know which!

I have a Matrox Millennium I (PCI) with the following SVGA probes:


(--) SVGA: Linear framebuffer at 0x7000000
(--) SVGA: MMIO registers at 0x3000000
(--) SVGA: Video BIOS info block at 0x000c75c0
(--) SVGA: chipset:  mga2064w
(--) SVGA: videoram: 2048k

Now, I'd like to upgrade my 48 MB RAM to 64 MB (the maximum of my VIPIO 486
mainboard). Everything is fine with just 48MB as the MMIO registers are just
above.

However, with 64 MB, the MMIO registers *remain* mapped at 0x3000000 !
The memory itself is configured ok as there no problems as long as I stay
in VGA textmode. Also, I have the latest BIOS available for both graphics
and motherboard.

How do I manually set the MMIO registers to an address of at least 0x4000000?

I've mailed to Matrox and they said I should use pcispy to solve the
conflicts during boot. PCISPY is a DOS binary...
BTW, the problem exists under Windows95 too.

pciutils are of no use because I run kernel 2.0.35.

Getting the feeling this is more a PCI configuration problem, here is
the output of cat /proc/pci:

PCI devices found:
  Bus  0, device   8, function  0:
    VGA compatible controller: Matrox Millennium (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 10.
      Non-prefetchable 32 bit memory at 0x3000000.
      Prefetchable 32 bit memory at 0x7000000.
  Bus  0, device   0, function  0:
    Non-VGA device: VIA Technologies VT 82C505 (rev 0).
      Fast devsel.  Master Capable.  No bursts.

Again: Which newsgroup is suitable for my problem?

Thanks for any hints!
Walter

PS: Buying a new board is an alternative I'm not looking forward to. ;-)

--

Student of Electrical Engineering, University of Technology, Vienna, Austria
Address: Brunnerstrasse 6, A-3108 St.P"olten, Austria. Tel.: +43-2742-257191

 
 
 

1. XF86 4.3.0: "No valid MMIO address in PCI config space"

I've installed XFree86 4.3.0 on an old PC with a Cirrus Logic GD5434 PCI
geaphics card.
I've configured XFree86. When I start up X (startx)
what I get is:

....
(--) PCI: (0:1:0) Intel Corp. 82375EB rev 5

0x49000000/24
....
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/libint10.a
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/libint10.a
(II) Module int10: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.6
(II) CIRRUS(0): initializing int10
(II) CIRRUS(0): Primary V_BIOS segment is: 0xc000
(**) CIRRUS(0): Depth 8, (--) framebuffer bpp 8
(II) CIRRUS(0): Primary V_BIOS segment is: 0xc000
(**) CIRRUS(0): Depth 8, (--) framebuffer bpp 8
(==) CIRRUS(0): Default visual is PseudoColor
(==) CIRRUS(0): Using SW cursor
(--) CIRRUS(0): Linear framebuffer at 0x49000000
(EE) CIRRUS(0): No valid MMIO address in PCI config space
(--) CIRRUS(0): Not Using MMIO
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 1.2.0
        ABI class: XFree86 Video Driver, version 0.6
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.6
(EE) CIRRUS(0): I2C initialization failed
(==) CIRRUS(0): Using gamma correction (1.0, 1.0, 1.0)
(--) CIRRUS(0): Memory Config reg 1 is 0x1D
(==) CIRRUS(0): Using gamma correction (1.0, 1.0, 1.0)
(--) CIRRUS(0): Memory Config reg 1 is 0x1D
(--) CIRRUS(0): Memory Config reg 2 is 0x21
(--) CIRRUS(0): VideoRAM: 2048 kByte

What do "No valid MMIO address in PCI config space" and "I2C
initialization failed" mean, and what can I do about it?
Any hints would be appreciated. Thanks.

--
Georg Schwarz    http://home.pages.de/~schwarz/

2. Q: OS5: mnttab and really mounted filesystems?

3. change MAC address can change IP address of a machine?

4. SIGBUS core on malloc

5. Changing IP address on Solaris 9 with multiple virtual IP addresses

6. send me somewhere

7. how to register dynamic library address

8. no routing for DNS packets

9. How to register an IP address (with the proper authorities...)

10. VPN Connection with Registered IP Address

11. A paper on SPARC register windows , its address?.

12. pcnet32.c: MAC address may be in CSR registers

13. Linux gateway between registered & non registered IP