ISO boot support with sysfb display handoff: kernel detection, kexec patches, test harness#2130
Open
tlaurion wants to merge 10 commits into
Conversation
12 tasks
12 tasks
This was referenced Jun 22, 2026
Collaborator
Author
|
This might impact librem l1um v1 kexec handoff @JonathonHall-Purism. Changes of UX, but most importantly, VLFB made compatible under patches/kexec-tools for vesafb and simpledrm (so Ubuntu doesn't leave users in the dark as per #1641, requiring users to type LUKS key pass in the dark before drm+gpu drivers kick in after kexec'ed initramfs) |
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
bc1025d to
c23670b
Compare
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
c23670b to
fee4b60
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds USB ISO boot with kernel-level display driver detection and a
complete framebuffer handoff chain (coreboot → kexec → target kernel).
kexec-tools patches
(VLFB) for EFI VGA framebuffers so the target kernel applies the 16-bit
lfb_size shift needed by sysfb display drivers.
ISO boot
probing/fast-path gate → initramfs compat → params → boot menu
universal fallback ADD params provide absolute ISO paths for all 7 frameworks
searches for built-in display driver symbols in priority order:
vesadrm_probe → vesafb_probe → simpledrm_probe + sysfb_parse_mode
combining filesystem and display driver results
Display handoff
sysfb_create_simplefb() applies the required 16-bit lfb_size shift
from width×bpp, correct for all pixel formats and alignment padding
matches via SIMPLEFB_FORMATS comparison
Documentation
details, stride handling, debug log diagnosis, per-distro results
GRUB variable stripping, detection symbol priority
Test harness
138 per-ISO full-chain checks across 15 distros
Hardware validated