[PATCH 0/2] eficonfig: improve handling boot entry optional data

Casey Connolly casey.connolly at linaro.org
Thu Oct 23 16:26:45 CEST 2025


When booting Linux with EFISTUB or via a UKI the kernel cmdline
arguments are passed in via the boot entry "optional data" field.
Currently this field has a limited size and on editing the enter
contents are replaced which can get quite frustrating even when there
are only a handful of cmdline arguments.

Let's improve this by expanding the maximum size and teaching the text
entry field to be editable if the buffer already contains data, as well
as adding cursor navigation with the arrow keys and End key.

Additionally, implement support for ctrl+left/right to jump left/right
by word as well for quick navigation of long argument lists.

---
Casey Connolly (2):
      efi_loader: efi_console: support editable input fields
      efi_loader: efi_console: jump to prev/next word with ctrl+arrow

 cmd/eficonfig.c              |  2 ++
 lib/efi_loader/efi_console.c | 69 +++++++++++++++++++++++++++++++++++++-------
 2 files changed, 61 insertions(+), 10 deletions(-)
---
base-commit: abfb7f3a64c32c88da007e775cd8f27d4a427231

// Caleb (they/them)



More information about the U-Boot mailing list