How to enable kernel log to UART port in Android 10 source

hi,how to enable kernel log to UART print

The code itself is supported by default…Unless you’re compiling user version firmware…

thank you very much :heart_eyes: :heart_eyes: