Early printk via the EFI framebuffer

modulename: early_printk.ko

configname: CONFIG_EARLY_PRINTK_EFI

Linux Kernel Configuration
└─>Kernel hacking
└─>Early printk via the EFI framebuffer
In linux kernel since version 3.13 (release Date: 2014-01-19)  
Write kernel log output directly into the EFI framebuffer.

This is useful for kernel debugging when your machine crashes very
early before the console code is initialized.

source code: