On Wed, Aug 29, 2012 at 09:36:44AM +0200, Christian Gmeiner wrote:
2012/8/29 Kevin O'Connor kevin@koconnor.net:
On Tue, Aug 28, 2012 at 05:11:22PM +0200, Christian Gmeiner wrote:
Hi all,
I have made some progress in my flat panel work, but I run into a very interesting problem. It looks like that int10 is not handled by VBios but by SeaBios itself.
The SeaBIOS int10 handler is overwritten by the vgabios. So, for some reason the vgabios didn't install a handler. The log excerpt you included doesn't go far enough back to see what happenend during the vgabios execution. Make sure you are running the vgabios from SeaBIOS (not coreboot) and add debugging to it to verify where it is failing.
thanks for the hint... I let coreboot load the option rom to 0xc0000 but let it not start and in SeaBios I am using CONFIG_OPTIONROMS_DEPLOYED to start the loaded VBios. But there is lot to do before the bootsplash gets shown :(
SeaBIOS needs to be the sole executor of option roms. Things tend to mysteriously break in any other configuration.
-Kevin
2012/8/29 Kevin O'Connor kevin@koconnor.net:
On Wed, Aug 29, 2012 at 09:36:44AM +0200, Christian Gmeiner wrote:
2012/8/29 Kevin O'Connor kevin@koconnor.net:
On Tue, Aug 28, 2012 at 05:11:22PM +0200, Christian Gmeiner wrote:
Hi all,
I have made some progress in my flat panel work, but I run into a very interesting problem. It looks like that int10 is not handled by VBios but by SeaBios itself.
The SeaBIOS int10 handler is overwritten by the vgabios. So, for some reason the vgabios didn't install a handler. The log excerpt you included doesn't go far enough back to see what happenend during the vgabios execution. Make sure you are running the vgabios from SeaBIOS (not coreboot) and add debugging to it to verify where it is failing.
thanks for the hint... I let coreboot load the option rom to 0xc0000 but let it not start and in SeaBios I am using CONFIG_OPTIONROMS_DEPLOYED to start the loaded VBios. But there is lot to do before the bootsplash gets shown :(
SeaBIOS needs to be the sole executor of option roms. Things tend to mysteriously break in any other configuration.
As long it starts to work :)
Scan for VGA option rom Checking rom 0x000c0000 (sig aa55 size 72) Running option rom at c000:0003 Start SeaVGABIOS (version rel-1.7.0-91-g7a39e72-dirty-20120829_160501-chgm-pc) enter vga_post: a=00000000 b=0000ffff c=00000000 d=0000ffff ds=0000 es=f000 ss=0000 si=00000000 di=0000d0e0 bp=00000000 sp=00006dc2 cs=f000 ip=c335 f=0000 GEODEVGA_INIT VP_SETUP VP_SETUP VP_MISC=0x00000c00 VP_SETUP VP_MISC=0x00000001 VP_SETUP VP_DCFG=0x00000000 VP_SETUP VP_DCFG=0x0001000f DC_SETUP 8192 KB of video memory at 0xfd000000 Turning on vga text mode console enter handle_10: a=00000003 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006dd4 cs=f000 ip=c3b0 f=0202 set VGA mode 3 Senter handle_10: a=00000e53 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d84 cs=f000 ip=c3b0 f=0202 eenter handle_10: a=00000e65 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d84 cs=f000 ip=c3b0 f=0202 aenter handle_10: a=00000e61 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d84 cs=f000 ip=c3b0 f=0202 Benter handle_10: a=00000e42 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d84 cs=f000 ip=c3b0 f=0202 Ienter handle_10: a=00000e49 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d84 cs=f000 ip=c3b0 f=0202 Oenter handle_10: a=00000e4f b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d84 cs=f000 ip=c3b0 f=0202 Senter handle_10: a=00000e53 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d84 cs=f000 ip=c3b0 f=0202 enter handle_10: a=00000e20 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d84 cs=f000 ip=c3b0 f=0202 ... ... enter handle_10: a=00004f00 b=00000000 c=00000000 d=00000000 ds=0000 es=8ff0 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006e08 cs=f000 ip=c3b0 f=0202 VESA 3.0 VENDOR: SeaBIOS Developers PRODUCT: SeaBIOS VBE Adapter pmm_malloc zone=0x0f7afe8b handle=ffffffff size=20 align=10 ret=0x0f7a5fa0 (detail=0x0f7a5fc0) Decoding bootsplash.bmp Finding vesa mode with dimensions 640/480 enter handle_10: a=00004f01 b=00000000 c=00004101 d=00000000 ds=0000 es=8fe0 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006e08 cs=f000 ip=c3b0 f=0202 VBE mode info request: 4101 enter handle_10: a=00004f01 b=00000000 c=00004103 d=00000000 ds=0000 es=8fe0 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006e08 cs=f000 ip=c3b0 f=0202 VBE mode info request: 4103 enter handle_10: a=00004f01 b=00000000 c=00004105 d=00000000 ds=0000 es=8fe0 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006e08 cs=f000 ip=c3b0 f=0202 VBE mode info request: 4105 enter handle_10: a=00004f01 b=00000000 c=00004107 d=00000000 ds=0000 es=8fe0 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006e08 cs=f000 ip=c3b0 f=0202 VBE mode info request: 4107 enter handle_10: a=00004f01 b=00000000 c=00004110 d=00000000 ds=0000 es=8fe0 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006e08 cs=f000 ip=c3b0 f=0202 VBE mode info request: 4110 enter handle_10: a=00004f01 b=00000000 c=00004111 d=00000000 ds=0000 es=8fe0 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006e08 cs=f000 ip=c3b0 f=0202 VBE mode info request: 4111 enter handle_10: a=00004f01 b=00000000 c=00004112 d=00000000 ds=0000 es=8fe0 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006e08 cs=f000 ip=c3b0 f=0202 VBE mode info request: 4112 mode: 0112 framebuffer: 0xfd000000 bytes per scanline: 1920 bits per pixel: 24 pmm_malloc zone=0x0f7afe8b handle=ffffffff size=921600 align=10 ret=0x0f5e2d60 (detail=0x0f7a5f70) Decompressing bootsplash.bmp Switching to graphics mode enter handle_10: a=00004f02 b=00004112 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006e08 cs=f000 ip=c3b0 f=0202 VBE mode set: 4112 set VGA mode 112 640x480x24 Turn the panel on Showing bootsplash picture Bootsplash copy complete pmm_free 0x0f6c3d60 (detail=0x0f7a6050) pmm_free 0x0f5e2d60 (detail=0x0f7a5f70) pmm_free 0x0008ff00 (detail=0x0f7a6020) pmm_free 0x0008fe00 (detail=0x0f7a5ff0) pmm_free 0x0f7a5fa0 (detail=0x0f7a5fc0) enter handle_16: a=00000100 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006da4 cs=f000 ip=e985 f=0202 enter handle_16: a=00000100 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006da4 cs=f000 ip=e985 f=0202 enter handle_16: a=00000100 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006da4 cs=f000 ip=e985 f=0202 enter handle_16: a=00000100 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006da4 cs=f000 ip=e985 f=0202 enter handle_16: a=00000100 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006da4 cs=f000 ip=e985 f=0202 enter handle_16: a=00000100 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006da4 cs=f000 ip=e985 f=0202 enter handle_16: a=00000100 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006da4 cs=f000 ip=e985 f=0202 enter handle_16: a=00000100 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006da4 cs=f000 ip=e985 f=0202
The bad thing is that it does not display my bootsplash correctly but the good thing is that it shows everytime (warm and cold reboot) the same "image" :) And text modus ist not working right now...
--- Christian Gmeiner, MSc