[Concept,v2,00/22] efi: Improvements for the EFI app on ARM

Message ID 20250819185900.835939-1-sjg@u-boot.org
Headers
Series efi: Improvements for the EFI app on ARM |

Message

Simon Glass Aug. 19, 2025, 6:58 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

This series provides a number of minor improvements for the EFI app when
running on ARM machines (on top of Tianocore, for example):

- Tidy up various comments
- Show the ARM exception level in bdinfo
- Tidy up the output of 'meminfo'
- Get the addr_find command running
- Reduce verbosity when not debugging
- Show the model at the top of the diplay when using vidconsole
- Allow faking the boot right into the actual OS jump (for debugging)

Changes in v2:
- Make the messages longer and more explanatory
- Use the existing current_el() function
- Add a colon so it is clear that 'load_os type' is not a compound term

Simon Glass (22):
  arm: bootm: Add some debugging
  arm: Fix swtiching typo
  arm: Show the exception level with bdinfo
  arm: Drop kernel_entry for arm64
  meminfo: Allow for up to 10 hex digits
  event: Add a dummy function for event_notify()
  boot: Improve debugging in bootm_load_os()
  boot: Pass flags to the bootm_final event
  fdt: Add debugging for fdt_simplefb
  efi: app: Show only a summary of disks and partitions
  efi: Fix up the addr_find command
  efi: app: Tidy up some stale comments in setup_memory()
  efi: app: Allocate pages in any region
  efi: app: Pick up the SMBIOS table
  efi: app: Use EFI_PAGE_SHIFT instead of 12 in free_memory()
  efi: app: Print the final message before freeing memory
  efi: app: Use the relocated global_data
  efi: app: Only show the memory map when debugging
  efi: app: Add a simplefb node to the devicetree
  efi: arm: Increase the cyclic timeout again
  efi: app: Show the model when the vidconsole starts
  efi: app: Enable the cat command

 arch/arm/lib/bdinfo.c           |  4 ++++
 arch/arm/lib/bootm.c            | 15 +++++++------
 board/efi/efi-arm_app/board.c   |  4 ++++
 boot/bootm.c                    |  3 ++-
 boot/bootm_final.c              | 13 ++++++-----
 boot/fdt_simplefb.c             |  4 ++++
 cmd/Kconfig                     |  3 ++-
 cmd/addr_find.c                 | 40 +++++++++++----------------------
 cmd/meminfo.c                   |  9 ++++----
 configs/efi-arm_app64_defconfig |  5 ++++-
 include/bootm.h                 | 13 +----------
 include/event.h                 | 17 +++++++++++++-
 include/event_decl.h            | 27 ++++++++++++++++++++++
 lib/Kconfig                     |  3 ++-
 lib/efi_client/efi_app.c        | 37 +++++++++++++++++++++---------
 lib/efi_client/efi_app_init.c   | 10 ++++++---
 test/cmd/meminfo.c              |  2 +-
 17 files changed, 135 insertions(+), 74 deletions(-)
 create mode 100644 include/event_decl.h