[LinuxBIOS] VGA Fonts
fourstar10_2000 at yahoo.com
Tue Aug 29 21:46:05 CEST 2006
I have had very good success with LB but I am having trouble with the VGA fonts during boot but, the screen becomes readable when the kernel loads "setfont" in the init-scripts. (that uses ioctls etc.) Also, xdm loads fine. (Also, the display is cleaner sooner if I use FB in the kernel, but I loose output again during init-scripts, and then OK for login prompt.)
I have an on-board ATI M9, and have included the vgabios part in th LB image.
I have tried many sequences of writing to the VGA regs in vga_console.c->vga_hardware_fixup() including loading fonts & colormaps but, nothing I do there seems to affect the display output.
I know I am in that function ok... just, nothing to seems to work.
outw(0x0612,0x3C4 ); /* unlock ext regs */
outw(0x0700,0x3C4); /* reset ext sequence mode */
outw(0x0120,0x3C4); /* disable video */
setTextRegs(VgaTextRegs); /* initial register setup */
setTextCLUT(); /* load color lookup table */
loadFont(); /* load font */
setTextRegs(VgaTextRegs); /* reload registers */
outw(0x0100,0x3C4); /* re-enable video */
outb(0x63,0x3c2); /* MISC */
It is like the vga part of the bios has intentionally left out the fonts, and any writes to 0xa0000000 or the vga regs have no effect.
The vga bios is copied correctly:
rom address for PCI: 03:01.0 = fff80000
copying VGA ROM Image from 0xfff80000 to 0xc0000, 0xf000 bytes
halt_sys: file /work/bios/linuxbios/src/devices/emulator/x86emu/ops.c, line 4485
I know I am asking a lot...:-)
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the coreboot