I also noticed sometimes UART is disabled in kernel. The enable it you need to check in /boot/config.txt the line enable_uart
If it's set to 0 like follow
enable_uart=0
You need to change to 1 as follow
enable_uart=1
And reboot of course!
sudo raspi-config
make sure disable Linux UART console
If it's set to 0 like follow
enable_uart=0
You need to change to 1 as follow
enable_uart=1
And reboot of course!
sudo raspi-config
make sure disable Linux UART console