It seems after if after cpu init do the onboard vga init, it will work.
The CPU init only do the init ECC and clear that after 1M. ... Werid! And it is not wiped out after power off.
YH
-----Original Message----- From: Li-Ta Lo [mailto:ollie@lanl.gov] Sent: Thursday, January 13, 2005 3:15 PM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA
On Thu, 2005-01-13 at 16:23, YhLu wrote:
S2892 has onboard atirage xl S2895 has no onboard.
With exactly the same chip and BIOS? Then probably the order of calling device::init() does matter.
Ollie
-----Original Message----- From: Li-Ta Lo [mailto:ollie@lanl.gov] Sent: Thursday, January 13, 2005 3:10 PM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA
On Thu, 2005-01-13 at 15:45, YhLu wrote:
No, no problem.
Same addon card (ati rage xl) (pci) on S2895 works well.
I am confused. Are you using S2895 or S2892? And is the rage xl on board or as an addon card?
Ollie
On Thu, 2005-01-13 at 19:50, YhLu wrote:
It seems after if after cpu init do the onboard vga init, it will work.
The CPU init only do the init ECC and clear that after 1M. ... Werid! And it is not wiped out after power off.
Are you sure it is not the "loaded from ROM or dd from /dev/mem" problem?
Ollie
YH
-----Original Message----- From: Li-Ta Lo [mailto:ollie@lanl.gov] Sent: Thursday, January 13, 2005 3:15 PM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA
On Thu, 2005-01-13 at 16:23, YhLu wrote:
S2892 has onboard atirage xl S2895 has no onboard.
With exactly the same chip and BIOS? Then probably the order of calling device::init() does matter.
Ollie
-----Original Message----- From: Li-Ta Lo [mailto:ollie@lanl.gov] Sent: Thursday, January 13, 2005 3:10 PM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA
On Thu, 2005-01-13 at 15:45, YhLu wrote:
No, no problem.
Same addon card (ati rage xl) (pci) on S2895 works well.
I am confused. Are you using S2895 or S2892? And is the rage xl on board or as an addon card?
Ollie
On Thu, 2005-01-13 at 19:50, YhLu wrote:
It seems after if after cpu init do the onboard vga init, it will work.
The CPU init only do the init ECC and clear that after 1M. ... Werid! And it is not wiped out after power off.
I read your log file again. The font buffer address (0xA0000 - 0xBFFFF) is controlled by MTRR. The MTRR can direct access of this region to the main memory or to IO cards. Because the VGA card is inited before CPU, the MTRRs are not inited correctly. When BIOS loads font data, it loads it into main memory not the DRAM on the card (actually also on the mainboard).
Ollie