]> git.baikalelectronics.ru Git - uboot.git/commit
bootvx: x86: Make VxWorks EFI console driver happy
authorBin Meng <bmeng.cn@gmail.com>
Thu, 12 Apr 2018 05:02:19 +0000 (22:02 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 16 Apr 2018 14:38:52 +0000 (22:38 +0800)
commitc9adec6288e0aa6703cc51a45abefb666c95368e
tree7b3534e1445335105f1d9f9d87c27c2d2e2f3a99
parent5a0f821fa263f6ca1c7a9ef97f8e96bb90548230
bootvx: x86: Make VxWorks EFI console driver happy

When booting from EFI BIOS, VxWorks bootloader stores the EFI GOP
framebuffer info at a pre-defined offset @ 0x6100. When VxWorks
kernel boots up, its EFI console driver tries to find such a block
and if the signature matches, the framebuffer information will be
used to initialize the driver.

However it is not necessary to prepare an EFI environment for
VxWorks's EFI console driver to function (eg: EFI loader in
U-Boot). If U-Boot has already initialized the graphics card and
set it to a VESA mode that is compatible with EFI GOP, we can
simply prepare such a block for VxWorks.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/elf.c
include/vxworks.h