Usb Otg as ethernet or serial

Has anyone managed to make the usb OTG of the bpi zero m2 (armbian) work as ethernet or serial? could you provide some documentation or manual?

Thanks in advance