HI, How to disable ttyS0 console and enable hardware serial to make it using on the ttyS0? because I need to use the serial port (RX/TX GPIO) to communicate with my RS485 board. I try at Raspberry Pi, to disable console ttyS0 and enable the hardware serial I just need to change the setting with the “raspi-config” comment and then serial port work fine.
But now my banana Pi M4 is using ubutu OS, it don’t have “raspi-config” comment to disable the ttyS0 console service and enable hardware serial.
Anybody know how to solve this?