[PATCH 0/2] Autoboot prompt customization and bootmenu cosmetics
Ferass El Hafidi
funderscore at postmarketos.org
Sun Apr 5 12:49:03 CEST 2026
This is a small patch series to make the autoboot prompt configurable
regardless of if CONFIG_AUTOBOOT_KEYED is enabled, which is very useful
with a splash screen. My usecase is, with some ANSI magic, moving the
autoboot prompt to the very bottom of the screen and highlighted, with a
splash screen shown.
Something like this: https://ircb.dersco.re/uploads/funderscore/efa2a27132e56891
It feels wrong to require AUTOBOOT_KEYED only for that usecase.
Also, the bootmenu now prints ANSI_CLEAR_LINE before each entry, which
has the effect of highlighting the entire line entry on vidconsole, just
like eficonfig. I can drop that one if it's not very useful, just
thought it would look nice.
Signed-off-by: Ferass El Hafidi <funderscore at postmarketos.org>
---
Ferass El Hafidi (2):
autoboot: allow custom prompt without requiring AUTOBOOT_KEYED
cmd: bootmenu: ANSI_CLEAR_LINE before entry name
boot/Kconfig | 31 ++++++++++++++++---------------
cmd/bootmenu.c | 2 +-
common/autoboot.c | 4 +++-
3 files changed, 20 insertions(+), 17 deletions(-)
---
base-commit: 0da1866a8fdd4d4bc4837ef2af281dbe010ae16b
change-id: 20260331-ui-cosmetics-aae207abed6b
Best regards,
--
Ferass El Hafidi <funderscore at postmarketos.org>
More information about the U-Boot
mailing list