I’m trying to connect minicom to the RPI UART0, but it doesn’t show any characters. I connected RX and TX as loopback. Is osmc creating getty or something on the UART0?
At startup (when UART0 is connected to Windows putty) I get “Uncompressing Linux… done, booting the kernel.” but that’s it.
I doubt that there is a serial console enabled by default in OSMC. (I have not tried it)
With systemd gettys are handled by the getty@.service instantiated service, for example to start a getty on tty1 (which is not normally running) you would:
sudo systemctl start getty@tty1
I don’t know off hand what the device name is for the serial point but if you substitute the /dev device name for the serial port in place of tty1 it should work. If that’s the case you can enable it on boot:
sudo systemctl enable getty@uartdevname
By the way, you’re still on a very old pre release version of OSMC.
You will want to upgrade to the final version first. Serial port must be configured with a dt_overlay. You then just need to enable the Getty on ttyAMA0