Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PoC : qemu-coreboot-fbwhiptail-tpm1 & qemu-coreboot-whiptail-tpm1 wit…
…h native vga init + bootsplash - Changes qemu call from -vga virtio to -vga std (to use bochs coreboot fb init) - coreboot configs: - add CONFIG_FW_CONFIG=y to expose coreboot tables so fbsimple can fire up the console - add CONFIG_BOOTSPLASH_FILE="@BLOB_DIR@/bootsplash-1024x768.jpg" (hard to generate jpg, another story) - fixate CONFIG_DRIVERS_EMULATION_QEMU_BOCHS_XRES=1024 and CONFIG_DRIVERS_EMULATION_QEMU_BOCHS_YRES=768 - linux configs: - CONFIG_X86_SYSFB=y to have linux expect FB inititalized by firmware (EFI/BIOS: all the same requirement) - Removed DRM+GPU specific options # CONFIG_DRM is not set - add CONFIG_FB_SIMPLE=y so that linux uses coreboot's exposed FB - add CONFIG_FIRMWARE_EDID=y so that firmware is probed for config - add CONFIG_FB_MODE_HELPERS=y CONFIG_FB_TILEBLITTING=y so that fbwhiptail can deal with the framebuffer - add CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y to ease usage if whatever - kexec patch : add "simple" fb support for VLFB, so that address of Heads fb is passed on kexec call Limitations: - BUGS: - qemu on debian-11 (not KVM) is not refreshing screen unless zooming in/out or chaning input (bug in qemu?) - FBWHIPTAIL requires VSYNC ioctl. Should not fail if not present to stay under fbwhiptail, not corrupting output.
- Loading branch information