Cube Orange Plus is not connecting to mavlink

My cube orange plus is not connecting to mavlink it is only displaying serial port please help me with the issue, I was building a secured firmware using ardupilot official docs and uploaded it but now it is not displaying the mavlink port, How to rectify it?