[PATCH v3 00/13] video: efi: Improve the EFI-app video console

Simon Glass sjg at chromium.org
Sat Feb 25 23:22:50 CET 2023


This does not work on some 64-bit machines since only a 32-bit address for
the framebuffer is supported in the VESA structure.

This series corrects this and makes a few other minor, video-related
improvements.

Changes in v3:
- Use Returns instead of @return
- Show the CPU vendor name also
- Add a comment about the value
- Add a comment about the fallback

Changes in v2:
- Obtain copy framebuffer size from EFI instead of using a fixed value
- Dropping debugging printf()
- Use new bootph-xxx tag
- Add new patch to show the size of the copy framebuffer with bdinfo

Simon Glass (13):
  efi: video: Move payload code into a function
  efi: video: Return mode info for app also
  efi: Support a 64-bit frame buffer address
  x86: Add a few more items to bdinfo
  efi: Use a fixed value for the timer clock
  efi: Support copy framebuffer
  video: Allow a copy framebuffer with pre-allocated fb
  bbinfo: Show the size of the copy framebuffer
  efi: Adjust script to show pre-relocation output on terminal
  video: Remove duplicate cursor-positioning function
  video: Clear the vidconsole rather than the video
  efi: Add dhrystone, dcache and scroll lines to app
  video: Add a note about the broken implementation

 arch/x86/dts/efi-x86_app.dts      |   1 +
 arch/x86/lib/bdinfo.c             |   6 ++
 arch/x86/lib/fsp/fsp_graphics.c   |   2 +-
 cmd/bdinfo.c                      |  11 ++-
 cmd/cls.c                         |  20 +++--
 configs/efi-x86_app64_defconfig   |   3 +
 drivers/pci/pci_rom.c             |  10 ++-
 drivers/timer/tsc_timer.c         |   9 ++
 drivers/video/coreboot.c          |   2 +-
 drivers/video/efi.c               | 138 ++++++++++++++++++++++--------
 drivers/video/vidconsole-uclass.c |  48 ++++-------
 drivers/video/video-uclass.c      |  32 +++++--
 include/init.h                    |   3 +
 include/vesa.h                    |  16 +++-
 include/video.h                   |   2 +
 include/video_console.h           |   9 ++
 scripts/build-efi.sh              |   2 +
 17 files changed, 228 insertions(+), 86 deletions(-)

-- 
2.39.2.637.g21b0678d19-goog



More information about the U-Boot mailing list