[PATCH 00/25] EFI improvements

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Dec 15 03:07:28 PST 2021


On 13.12.21 22:08, Sascha Hauer wrote:
> This series contains several improvements for barebox running on EFI.
> Most patches are around the efi-stdio driver in which handling of ansi
> escape sequences is greatly improved. With this series efi-stdio is now
> able to parse and handle the escape sequences barebox issues itself
> properly.
> The EFI SNP network driver suffered from packet loss on some machines
> because other protocols were polling for packets as well. This is also
> fixed with this series.

Very nice. :-)

> 
> Sascha
> 
> Sascha Hauer (25):
>   efi-devicepath: Make efi_device_path argument const
>   efi: move device-path defines and types to header file
>   efi: Implement device_path_to_subtype()
>   efi: Do not register IPv[46] devices
>   console: Fix message colours
>   efi-stdio: remove unnecessary check
>   efi-stdio: rename to efi_process_escape
>   efi-stdio: return bytes actually consumed
>   efi-stdio: fix escape sequence end detection
>   efi-stdio: improve escape sequence parsing
>   efi-stdio: Fix out of bounds error in puts
>   efi-stdio: Fix tab printing
>   efi-stdio: Implement efi_console_putc() using efi_console_puts()
>   efi-stdio: Fix '\b' handling
>   efi-stdio: implement input buffering with a kfifo
>   efi-stdio: limit set_cursor to screen size boundaries
>   efi-stdio: implement getting the cursor position
>   efi-stdio: Implement setting cursor visibility
>   efi-stdio: Support different text modes
>   edit: improve screen size detection
>   edit: Improve behaviour on efi-stdio console
>   edit: send escape sequence only for smartscroll
>   net: efi-snp: Check for carrier before sending
>   efi: add efi_device hook to be called before an image is started
>   net: efi-snp: Open protocol exclusively
> 
>  commands/edit.c            | 107 ++++++++--
>  common/console_common.c    |  12 +-
>  common/efi-devicepath.c    | 405 ++-----------------------------------
>  common/efi/efi-image.c     |   4 +
>  drivers/efi/efi-device.c   |  42 +++-
>  drivers/net/efi-snp.c      |  59 +++++-
>  drivers/serial/efi-stdio.c | 362 +++++++++++++++++++++------------
>  include/efi.h              |   1 +
>  include/efi/device-path.h  | 388 +++++++++++++++++++++++++++++++++++
>  include/efi/efi-device.h   |   5 +
>  10 files changed, 840 insertions(+), 545 deletions(-)
>  create mode 100644 include/efi/device-path.h
> 


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list