tizen: rpi: add support for RPi5 console
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 5 Mar 2024 13:56:21 +0000 (14:56 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 28 Oct 2024 11:28:43 +0000 (20:28 +0900)
commit330e63840962763c68a89c40ba213b69df48292f
treee12e5309162ceb5c7c93de8ccf7acd33abd3deca
parent316c1cb2d05a6fb44c90d50ccdab1638ad8743cc
tizen: rpi: add support for RPi5 console

RPi5 board uses different drivers for the serial console than RPi4, so
the kernel's console parameter has to be adjusted depending on the
detected board and its configuration.

On RPi5 there are 2 serial ports available for debug messages:

1. Dedicated debug UART port. Used by firmware and u-boot
unconditionally. It is instantiated as /dev/ttyAMA10. By default it is
also used for kernel's earlycon and serial console.

2. Standard UART available on GPIO14 & GPIO15 lines (pins 8 & 10 on the
40-pin header, like on the RPi4). This can be enabled by adding
"dtoverlay=uart0-pi5" line to "config.txt" on "boot" partition. It is
instantiated as /dev/ttyAMA0. It can be used only for the standard Linux
kernel console and serial login.

Change-Id: I34aa978148fb593f5f88d3ed6471c8c3c7a74a38
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
tizen/bootscript/tizen-boot-rpi4.scr