From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 320 invoked from network); 28 Mar 1998 19:56:28 -0000 Received: from softdnserror (HELO altatech.com) (198.60.83.58) by mail2.redhat.com with SMTP; 28 Mar 1998 19:56:28 -0000 Received: from altatech.com (oldjewel [198.60.83.206]) by altatech.com (8.8.3/8.8.3) with ESMTP id MAA03518 for ; Sat, 28 Mar 1998 12:56:31 -0700 Sender: cworley@altatech.com Message-ID: <351D57D5.46B417ED@altatech.com> Date: Sat, 28 Mar 1998 13:04:37 -0700 From: Christian Worley Organization: Alta Technology X-Mailer: Mozilla 4.04 [en] (X11; I; OSF1 V3.2 alpha) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Milo's VGA Bios emulators can't init non-TGA video cards across a bridge. Why? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Does anybody know what's different about initializing/emulating a VGA bios when it's across a bridge? Neither the DEC proprietary bios emulator nor the bios emulator with source included with Milo can detect or initialize a graphics adapter that is across a PCI-PCI bridge (at least the DEC 21052 and 21152 based bridges I've tried). If these boards are on the local PCI bus, then they have no problem being initialized by either BIOS emulator. Also, it can initialize a TGA across a bridge (or local) -- but that code is totally seperate from the VGA bios emulators. Furthermore, the failsafe booter, debug monitor, and ARC console have no problems initializing these video cards bios on the local PCI bus OR across a bridge. They have a banner that says they are using DEC's VGA Bios emulator, "v2.03". While I have the ARC console and debug monitor vga bios libraries, like with milo I don't have DECs code, and those libs are compiled for NT and DUX, so I can't use them with milo. Does anybody know of a good DUX or AXP/NT disassembler ;) The bios code that comes with milo starts with: pcibios_read_config_dword(0, devfn, 0x00, &val); That first arg is supposed to be a bus number. So it starts off wrong, which I fixed (the code determines the bus number in the previous statement, it just doesn't use it), but then it goes to try read the base of the VGA bios: if (sys_rdw(&sys, VGA_BIOS_BASE) != 0xaa55) { "sys_rdw" returns an 0xFFFF, the routine fails and returns. So, something must be different about the VGA bios base address when across a bridge. Does anybody know what's different about initializing a VGA bios when it's across a bridge? Thanks, Chris