[SeaBIOS] [PATCH 0/5] SeaVGABIOS improvments for coreboot's framebuffer v3

Patrick Rudolph posted 5 patches 6 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/seabios tags/patchew/20170529172514.8308-1-siro@das-labor.org
vgasrc/cbvga.c   | 136 ++++++++++++++++++++++++++++++++++++++++++++++++++++---
vgasrc/stdvga.c  |   5 ++
vgasrc/vbe.c     |   2 +-
vgasrc/vgahw.h   |   6 +++
vgasrc/vgautil.h |   2 +
5 files changed, 144 insertions(+), 7 deletions(-)
[SeaBIOS] [PATCH 0/5] SeaVGABIOS improvments for coreboot's framebuffer v3
Posted by Patrick Rudolph 6 years, 10 months ago
This series add several fixes to coreboot's framebuffer implementation 
and it main purpose is to fix Microsoft's Windows as supported OS.

Tests showed that it also fixes ISOLINUX and gfxboot.

The series fixes the following issues:
* Windows shows no image in text-mode
* Windows NTLDR/bootmgr shows no image in VESA mode
* Windows shows no image in VESA mode
* ISOLINUX requires VESA mode 640x480
* GFXBOOT requires 32bpp VESA modes

I was able to boot Windows with the following configurations:
* using VgaSave driver in text-mode with a
  fixed display resolution of 640x480 at 4Bpp.
* using VgaSave driver in VESA mode and
  set a display resolution up to 1600x1200 at 24Bpp.
* using VgaSave driver in Windows's "Safe Mode" in VESA mode and
  set a display resolution up to 1600x1200 at 24Bpp.

Most likely other VESA compatible bootloaders and operating systems
will be fixed, too.

Changes since v2:
* Disable VESA modes in cbvga_init
* No Intel or Windows specific patches
* Update commit message of "Assume VGA compatible GPU in text-mode"
* Tested and dokumented more bootloaders

Patrick Rudolph (5):
  SeaVGABios/cbvga: Advertise correct pixel format
  SeaVGABios/cbvga: Assume VGA compatible GPU in text-mode
  SeaVGABIOS/vbe: Query driver for scanline pitch v2
  SeaVGABios/cbvga: Use active mode to clear screen
  SeaVGABios/cbvga: Advertise compatible VESA  modes

 vgasrc/cbvga.c   | 136 ++++++++++++++++++++++++++++++++++++++++++++++++++++---
 vgasrc/stdvga.c  |   5 ++
 vgasrc/vbe.c     |   2 +-
 vgasrc/vgahw.h   |   6 +++
 vgasrc/vgautil.h |   2 +
 5 files changed, 144 insertions(+), 7 deletions(-)

-- 
2.9.3


_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
https://mail.coreboot.org/mailman/listinfo/seabios
Re: [SeaBIOS] [PATCH 0/5] SeaVGABIOS improvments for coreboot's framebuffer v3
Posted by Kevin O'Connor 6 years, 10 months ago
On Mon, May 29, 2017 at 07:25:09PM +0200, Patrick Rudolph wrote:
> This series add several fixes to coreboot's framebuffer implementation 
> and it main purpose is to fix Microsoft's Windows as supported OS.
> 
> Tests showed that it also fixes ISOLINUX and gfxboot.
> 
> The series fixes the following issues:
> * Windows shows no image in text-mode
> * Windows NTLDR/bootmgr shows no image in VESA mode
> * Windows shows no image in VESA mode
> * ISOLINUX requires VESA mode 640x480
> * GFXBOOT requires 32bpp VESA modes
> 
> I was able to boot Windows with the following configurations:
> * using VgaSave driver in text-mode with a
>   fixed display resolution of 640x480 at 4Bpp.
> * using VgaSave driver in VESA mode and
>   set a display resolution up to 1600x1200 at 24Bpp.
> * using VgaSave driver in Windows's "Safe Mode" in VESA mode and
>   set a display resolution up to 1600x1200 at 24Bpp.
> 
> Most likely other VESA compatible bootloaders and operating systems
> will be fixed, too.
> 
> Changes since v2:
> * Disable VESA modes in cbvga_init
> * No Intel or Windows specific patches
> * Update commit message of "Assume VGA compatible GPU in text-mode"
> * Tested and dokumented more bootloaders

Thanks.  I committed patches 1, 3, 4, 5.

I'm not confident on patch 2 - I can't see why cbvga should behave
like stdvga when a user could just compile a stdvga vgabios instead of
cbvga.  I fixed up patch 5 to apply without patch 2.

-Kevin

_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
https://mail.coreboot.org/mailman/listinfo/seabios