CONFIG_DEBUG_UART_PHYS/VIRT for rpi-4

Nicolas Saenz Julienne nsaenzjulienne at suse.de
Fri Feb 19 05:01:40 EST 2021


Hi Laurentiu,

On Thu, 2021-02-18 at 17:16 +0200, Laurentiu-Cristian Duca wrote:
> Hello there,
> 
>   Does anybody know the values of CONFIG_DEBUG_UART_PHYS
> and CONFIG_DEBUG_UART_VIRT for rpi-4 on 64bits
> that should be set in order to have access to earlyprintk and printascii ?

By adding this to the kernel command line you should have early access to the
console logs:

	earlycon=uart8250,mmio32,0xfe215040

This, as long as you're using the serial port exposed on pins 8 and 10 of the
expansion port (see https://pinout.xyz/).

Regards,
Nicolas


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-rpi-kernel/attachments/20210219/5f758a2f/attachment.sig>


More information about the linux-rpi-kernel mailing list