Silent boot unless the menu is requested (flickerless handoff to Plymouth) #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
U-Boot currently prints to the panel on every boot, so the user sees console text before the kernel takes over — which makes a clean Plymouth splash impossible.
Make U-Boot silent by default and only unsilence when the user actually wants the menu or console.
Config
Not currently enabled:
Needs
CONFIG_SILENT_CONSOLE=y, plusCONFIG_SILENT_CONSOLE_UPDATE_ON_SET=yso toggling thesilentenv var takes effect immediately.Behaviour
silent=1→ nothing on the panel, straight into the kernel.setenv silentbefore drawing the menu, so the menu is visible.silentin the persistent UFS env so it is togglable from Linux viagts6l-envwithout reflashing.Interaction with the kernel side
For a genuinely flickerless handoff the kernel also needs to not scribble on the framebuffer before Plymouth starts: drop
console=tty0frombootargs(or usequiet loglevel=3) on the normal boot target, while the debug target keeps it. That is much easier oncebootargslives in the env rather than baked into the boot image (see the ext4 boot issue) — right now switching means repacking the image.Related: the display comes up via handover from the bootloader framebuffer (
earlycon=gtsfb,0x9c400000), so whatever we do must not disturb the handover the panel driver depends on.