[U-Boot] [PATCH 1/5] x86: qemu: Change default vesa mode to 1024x768x32

Bin Meng bmeng.cn at gmail.com
Fri Jun 22 04:24:42 UTC 2018


On Thu, Jun 21, 2018 at 1:51 AM, Simon Glass <sjg at chromium.org> wrote:
> On 17 June 2018 at 06:57, Bin Meng <bmeng.cn at gmail.com> wrote:
>> The default vesa mode was changed since commit 55b4e1b7d999
>> ("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: 55b4e1b7d999 ("x86: Change default FRAMEBUFFER_VESA_MODE of some boards")
>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>> ---
>>
>>  configs/qemu-x86_64_defconfig | 3 ++-
>>  configs/qemu-x86_defconfig    | 3 ++-
>>  2 files changed, 4 insertions(+), 2 deletions(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list