Unfortunately, every SBC is handling UART etc. a bit differently, so I cannot help you on this aspect. The Linux images supplied by OPi are really crappy most of the time so it may well be one reason.
For the general approach, refer to: Ender3v2 board to RPI with screen connector - #8 by Sineos