Skip to content

Autoboot prompt customization and bootmenu cosmetics

Ferass El Hafidi u-boot 4 versions – In review

Get series with b4
b4 am [email protected] change-id 20260331-ui-cosmetics-aae207abed6b

Versions newest first

  1. v4 Latest4 patches 6 repliesIn review
  2. v33 patches 4 repliesSuperseded
  3. v22 patches 8 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches5 repliesSuperseded

Changes in v4 from the cover letter

- Add patch to update autoboot documentation
- Link to v3: https://lore.kernel.org/r/[email protected]

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4autoboot: allow custom prompt without requiring AUTOBOOT_KEYEDboot/Kconfig common/autoboot.c+16 -160 replies
2/4cmd: bootmenu: ANSI_CLEAR_LINE before entry namecmd/bootmenu.c+1 -10 replies
3/4doc: usage: convert autoboot README to rSTdoc/README.autoboot doc/usage/autoboot.rst doc/usage/index.rst+150 -1623 replies
4/4doc: usage: autoboot: update contentdoc/usage/autoboot.rst+20 -113 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchSimon GlassTom Rini
1/4R-b R-b
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/4] Autoboot prompt customization and bootmenu cosmetics

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.

And while at it, and because this has been due for a long time, convert autoboot documentation to rST, so it is part of the public docs, instead of a plain text file.

---
Changes in v4:
- Add patch to update autoboot documentation
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- Add Tom and Simon's R-b's
- Convert autoboot documentation to rST
- Link to v2: https://lore.kernel.org/r/[email protected]

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/[email protected]

---
Ferass El Hafidi (4):
autoboot: allow custom prompt without requiring AUTOBOOT_KEYED
cmd: bootmenu: ANSI_CLEAR_LINE before entry name
doc: usage: convert autoboot README to rST
doc: usage: autoboot: update content

 boot/Kconfig           |  30 ++++-----
 cmd/bootmenu.c         |   2 +-
 common/autoboot.c      |   2 +-
 doc/README.autoboot    | 162 -------------------------------------------------
 doc/usage/autoboot.rst | 158 +++++++++++++++++++++++++++++++++++++++++++++++
 doc/usage/index.rst    |   1 +
 6 files changed, 176 insertions(+), 179 deletions(-)

---
base-commit: 0da1866a8fdd4d4bc4837ef2af281dbe010ae16b
change-id: 20260331-ui-cosmetics-aae207abed6b

Best regards,

Signature · 3 lines
--
Best regards,
Ferass