Quote from another post of how this issue is solved:
Here is the steps I did:
- add “deb http://apt.radxa.com/stretch/ stretch main” to /etc/apt/sources.list
- get the repository key: “wget -O - apt.radxa.com/stretch/public.key | sudo apt-key add -”
- update your apps: “sudo apt-get update && sudo apt-get upgrade”
- install rockchip-overlay etc:
sudo apt-get install rockchip-overlay
sudo apt-get install rockchip-fstab
sudo apt-get install rockpi4-dtbo- edit /etc/hw_intfc.config, turn on uart2, uart4, and the overlay disables the console.
- update kernel:
apt-get install linux-4.4-lastest- update u-boot:
sudo su
apt-get install rockpi4b-rk-u-boot-lastest
cd /usr/local/sbin/
./rockpi4b_upgrade_bootloader.sh- reboot, type “who” in xterm, should shows you as the only user, nobody on ttyFIQ0
- In Z-Way server or Home Assistant, change the default uart setting from ttyAMA0 to ttyS2.
- reboot. who says you don’t need to reboot Linux often? :-/