Changes

Jump to navigation Jump to search
I won't be surprised if more issues pop up in the future, as nobody is really testing for regressions on phones.
 
==== Getting early kernel logs using UART ====
Read help for [https://elixir.bootlin.com/linux/latest/K/ident/CONFIG_DEBUG_QCOM_UARTDM CONFIG_DEBUG_QCOM_UARTDM kernel konfig]. Enable <code>CONFIG_DEBUG_LL</code> + <code>CONFIG_DEBUG_QCOM_UARTDM</code> + correct addresses for <code>CONFIG_DEBUG_UART_PHYS</code> and <code>CONFIG_DEBUG_UART_VIRT</code>. The ones listed in a help for <code>CONFIG_DEBUG_QCOM_UARTDM</code> option for MSM8974 work fine:
 
CONFIG_DEBUG_LL=y
CONFIG_DEBUG_QCOM_UARTDM=y
CONFIG_DEBUG_UART_PHYS=0xf991e000
CONFIG_DEBUG_UART_VIRT=0xfa71e000
 
And add <code>earlyprintk</code> to kernel command line. This allows to receive debug messages from such early stages so you can even debug kernel self-decompressor.
=== Partition layout ===
439

edits

Navigation menu