[U-Boot] [PATCH v3 0/13] efi_loader: EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Sep 11 20:38:01 UTC 2018


Support Unicode letters received as UTF-8 from the serial console.
Correct handling of the WaitForKey event.
Update unit test for the EFI_SIMPLE_TEXT_INPUT__PROTOCOL.

Fix bugs for the EFI_SIMPLE_TEXT_INPUT__PROTOCOL.
Implement the EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.
Provide a unit test.
Fix a U-Boot binary size problem.

v3:
	support modifiers for F1 - F4
	ESC before a letter signifies the ALT modifier
	do not use introduce EFI dependency in charset.c
v2:
	merge two patch series
	move reading of Unicode to charset.c
	drop support for German keyboard layout


Heinrich Schuchardt (13):
  efi_loader: support Unicode text input
  test/py: Unicode w/ EFI_SIMPLE_TEXT_INPUT_PROTOCOL
  efi_selftest: refactor text input test
  efi_loader: rework event handling for console
  efi_selftest: use WaitForKey to test text input
  test/py: rework test_efi_selftest_text_input()
  efi_loader: EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL
  efi_loader: support modifiers for F1 - F4
  efi_selftest: test EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL
  test/py: test EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL
  efi_loader: implement key notify functions
  efi_selftest: test key notification functions
  efi_loader: unset CONFIG_EFI_UNICODE_CAPITALIZATION

 configs/vf610twr_defconfig                  |   1 +
 configs/vf610twr_nand_defconfig             |   1 +
 include/charset.h                           |   9 +
 include/efi_api.h                           |  56 ++
 include/efi_selftest.h                      |  16 +
 lib/charset.c                               | 136 +++--
 lib/efi_loader/efi_console.c                | 540 +++++++++++++++++---
 lib/efi_selftest/Makefile                   |   1 +
 lib/efi_selftest/efi_selftest_textinput.c   | 136 +----
 lib/efi_selftest/efi_selftest_textinputex.c | 198 +++++++
 lib/efi_selftest/efi_selftest_util.c        |  93 ++++
 test/py/tests/test_efi_selftest.py          | 101 +++-
 test/unicode_ut.c                           |   8 +-
 13 files changed, 1068 insertions(+), 228 deletions(-)
 create mode 100644 lib/efi_selftest/efi_selftest_textinputex.c

-- 
2.18.0



More information about the U-Boot mailing list