u-boot/doc/develop
Simon Glass 1834c081d3 efi: Add video support to the app
The current EFI video driver only works when running in the stub. In that
case the stub calls boot services (before jumping to U-Boot proper) and
copies the graphics info over to the efi table. This is necessary because
the stub exits boot services before jumping to U-Boot.

The app maintains access to boot services throughout its life, so does not
need to do this. Update the driver to support calling boot services
directly.

Enable video output for the app. Note that this uses the
EFI_GRAPHICS_OUTPUT_PROTOCOL protocol, even though it mentions vesa.

A sample qemu command-line for this case is:

   qemu-system-x86_64 -bios /usr/share/edk2.git/ovmf-ia32/OVMF-pure-efi.fd
   -drive id=disk,file=try.img,if=none,format=raw -nic none
   -device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2021-11-07 18:36:55 +01:00
..
devicetree sandbox: Remove OF_HOSTFILE 2021-10-27 16:38:26 -04:00
driver-model dm: doc: Add a note about of-platdata header files 2021-09-25 09:46:15 -06:00
package binman: Update various pieces of the documentation 2021-03-26 17:03:10 +13:00
uefi efi: Add video support to the app 2021-11-07 18:36:55 +01:00
bloblist.rst bloblist: Move to rST format 2021-09-11 11:02:02 +02:00
checkpatch.rst scripts/checkpatch.pl: Resync with v5.13 2021-09-01 19:25:37 -04:00
ci_testing.rst doc: Add basic information about running CI tests 2021-08-04 15:58:31 -04:00
coccinelle.rst doc: Coccinelle: move to HTML doc 2020-07-17 08:45:29 -04:00
commands.rst doc: move README.commands to HTML doc 2020-12-15 09:32:15 +01:00
config_binding.rst doc: Add mention of the /config binding 2021-09-25 12:30:54 +02:00
crash_dumps.rst doc: correct description of crash dumps 2020-07-17 10:47:19 -04:00
global_data.rst doc: global data pointer on x86, x86_64 2020-12-15 09:31:26 +01:00
index.rst Prepare v2021.10-rc5 2021-09-27 09:45:36 -04:00
logging.rst log: Convert log values to printf() if not enabled 2021-06-08 11:39:09 -04:00
makefiles.rst doc: Bring in Makefile documentation 2021-07-24 10:49:51 +02:00
menus.rst doc: move README.menu to HTML documentation 2021-01-23 09:53:46 -05:00
moveconfig.rst doc: Fix up outdated moveconfig docs 2021-08-01 09:05:24 -06:00
py_testing.rst pytest: Show a message when sandbox crashes 2021-10-14 19:45:07 -04:00
testing.rst doc: Create an intro section for testing 2021-08-01 09:05:24 -06:00
tests_sandbox.rst doc: Explain briefly how to write new tests 2021-03-12 09:57:31 -05:00
tests_writing.rst doc: Explain briefly how to write new tests 2021-03-12 09:57:31 -05:00
trace.rst doc: move README.trace to HTML documentation 2020-12-15 09:37:24 +01:00
version.rst acpi: Use U-Boot version for OEM_REVISION 2021-10-06 09:15:14 -04:00