The most convenient way for OrangePi is to use the debugging serial cable to link the PC and the development board.
OrangePi Zero2 GPIO pin diagram
TTL connection diagram
The model I use is the CH340 module USB to TTL flashing cable, which is free of drive under Windows.
The black wire is to the GND interface, the green wire is to the RX interface, and the white wire is to the TX interface.