]> git.baikalelectronics.ru Git - uboot.git/commit
x86: qemu: Change default vesa mode to 1024x768x32
authorBin Meng <bmeng.cn@gmail.com>
Sun, 17 Jun 2018 12:57:49 +0000 (05:57 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jun 2018 00:56:04 +0000 (08:56 +0800)
commit562880562f06bd0e96e3aaae20b83cda1b7d3f70
tree82ac6648a53875386073f3e66ae37fb237157ab7
parenta8ee3e66ba14418ce075abd1f5abe519c7f7cc3c
x86: qemu: Change default vesa mode to 1024x768x32

The default vesa mode was changed since commit 35adfe558543
("x86: Change default FRAMEBUFFER_VESA_MODE of some boards") for
better VxWorks compatibility but with the changes QEMU video console
no longer works. This is because QEMU's vgabios implements the VESA
mode 8:8:8 as 24bpp without an alpha channel, which U-Boot's video
console driver currently does not support yet.

We need change to real 32bpp in order to make it work again. QEMU
vgabios implements the custom 32bpp VESA mode starting from 0x140
(320x200x32) to 0x147 (1600x1200x32). Set it to 0x144 (1024x768x32).

Fixes: 35adfe558543 ("x86: Change default FRAMEBUFFER_VESA_MODE of some boards")
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
configs/qemu-x86_64_defconfig
configs/qemu-x86_defconfig