Debugging early ARM ACPI bringup without UART
Sometimes it is not feasible to get UART access on consumer blackbox devices (e.g. Lumia 950XL). In the case of ARM ACPI debugging, the lack of UART access may make early boot debug incredibly difficult.
Starting from Linux Kernel 5.0, it is now possible to enable FrameBuffer-based early kernel display. All you need to do is:
- Enable Earlyprintk and Earlycon support. By default it is on.
- Enable EFI FrameBuffer display device.
- Enable EFI FrameBuffer Earlycon device.
- (Optional) Enable PSCI checker to verify PSCI functionality.
Then pass the following parameters in bootloader:
earlycon=efifb,mem
Then you are good to go.