It depends on your kernel. With the original rockchip kernel, the serial port is called ttyFIQ0. With mainline, it’s called ttyS2. For several months I thought that all my mainline kernels were hanging hard after “decompressing linux” but actually it was due to the serial port having another name (and it hanged later). Note that I’ve read on another thread somewhere that apparently on some recent 5B they had disabled console output on u-boot, something I find absolutely crazy. So it might be possible that you don’t get any output from the boot loader and that when the kernel starts you’re on the wrong tty.
My 5B (on rockchip kernel) has: console=ttyFIQ0
. The speed defaults to 1500000 though if u-boot doesn’t initialize it you might need to force it. My Rock 5 ITX on mainline has console=ttyS2,1500000n8
.
You need to make sure your USB adapter supports 1.5 Mbauds. I’ve had some jokes in the past with some adapters not supporting that speed and falling back to the closest supported one (e.g. 1 Mbauds or 921600). I seem to remember that PL2303 doesn’t support it for example. I’m now always using bootterm (bt
) that I developed after being pissed off by many terminal emulators, and it turns out that bt shows you the effective speed after setting it, and that’s how nowadays I detect the ones that don’t work since I’m reading a different speed from the one I configured.