public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Autoboot prompt customization and bootmenu cosmetics
@ 2026-04-08 16:34 Ferass El Hafidi
  2026-04-08 16:34 ` [PATCH v2 1/2] autoboot: allow custom prompt without requiring AUTOBOOT_KEYED Ferass El Hafidi
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Ferass El Hafidi @ 2026-04-08 16:34 UTC (permalink / raw)
  To: u-boot
  Cc: Tom Rini, Quentin Schulz, Kory Maincent (TI.com), Simon Glass,
	Mattijs Korpershoek, Anshul Dalal, Heinrich Schuchardt,
	Martin Schwan, David Zang, Sam Protsenko, Christian Marangi,
	Ferass El Hafidi

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@postmarketos.org>
---
Changes in v2:
 - Remove #ifdef/#endif near printf in print_boot_delay: no need to
   guard the printf as CONFIG_AUTOBOOT_PROMPT must be set
 - Link to v1: https://lore.kernel.org/r/20260405-ui-cosmetics-v1-0-bffec3cac741@postmarketos.org

---
Ferass El Hafidi (2):
      autoboot: allow custom prompt without requiring AUTOBOOT_KEYED
      cmd: bootmenu: ANSI_CLEAR_LINE before entry name

 boot/Kconfig      | 30 +++++++++++++++---------------
 cmd/bootmenu.c    |  2 +-
 common/autoboot.c |  2 +-
 3 files changed, 17 insertions(+), 17 deletions(-)
---
base-commit: 0da1866a8fdd4d4bc4837ef2af281dbe010ae16b
change-id: 20260331-ui-cosmetics-aae207abed6b

Best regards,
-- 
Ferass El Hafidi <funderscore@postmarketos.org>


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-04-15 15:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-08 16:34 [PATCH v2 0/2] Autoboot prompt customization and bootmenu cosmetics Ferass El Hafidi
2026-04-08 16:34 ` [PATCH v2 1/2] autoboot: allow custom prompt without requiring AUTOBOOT_KEYED Ferass El Hafidi
2026-04-08 16:51   ` Tom Rini
2026-04-11 13:27   ` Simon Glass
2026-04-11 13:34     ` Simon Glass
2026-04-11 14:47       ` Ferass El Hafidi
2026-04-11 14:53         ` Tom Rini
2026-04-11 14:56           ` Ferass El Hafidi
2026-04-08 16:34 ` [PATCH v2 2/2] cmd: bootmenu: ANSI_CLEAR_LINE before entry name Ferass El Hafidi
2026-04-11 13:34   ` Simon Glass
2026-04-15 15:43 ` [PATCH v2 0/2] Autoboot prompt customization and bootmenu cosmetics Ferass El Hafidi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox