Jump to content

USB 2.0 OTG port slow performance on PineCube (Allwinner - Sochip S3)


Recommended Posts

Posted (edited)

I am trying to get USB 2.0 port  to reach maximum bandwidth with OTG port (Hi-Speed - 480 MegaBits/second) on PineCube device. Currently it is performing as Full-Speed (12.5 MegaBytes/second) usb port.

I have measured the speed and performance using iperf + g_ether kernel mod + OTG port (details below)

 

Official datasheet of PineCube (https://files.pine64.org/doc/datasheet/pinecube/S3_Datasheet_V1.1-20180123.pdf) tells that the port can perform up to 60 MegaBytes/second or 480 MegaBits/second.

g_webcam mod is also performing at Full-Speed mode.

 

  Reveal hidden contents

 

lsusb output:

  Reveal hidden contents

 

armbianmonitor tool output (detailed logs) : http://ix.io/40o2

 

OS info (neofetch):

  Reveal hidden contents

 

My questions are:

  1. How can i reach high speed on USB 2.0 port. (probably too general)
  2. Could the issue be be related to USB drivers or Device Tree set up?
Edited by Disctanger
Add important log info
Posted

Hello Disctanger.
Have you measured the speeds that you get with OEM's officially supplied software, if the OEM supplies any?
 
It been my experience that some 'open source' OEM's quote the theoretical maximum specs if hardware and software were optimized.
Some OEM's provide very limited support for their 'open source' boards, and rely on the community to optimize the software and even the hardware.
If this is one of those OEM's, then it's up to the community (people like you) to optimize the software (or even the hardware). 
You can search these forums to see if anyone has found solutions, and sometimes someone might answer with a suggestion or a solution. 
The Armbian build system is an ideal platform for you to develop solutions, providing an easy way to apply patches and stream improvements into the build via Github pull requests.

I took a look at your logs, and I didn't spot anything obvious. Perhaps someone more familiar with your board will turn up.
Good luck :)
 

Posted
  On 6/19/2022 at 12:10 AM, schwar3kat said:

Hello Disctanger.
Have you measured the speeds that you get with OEM's officially supplied software, if the OEM supplies any?
 
It been my experience that some 'open source' OEM's quote the theoretical maximum specs if hardware and software were optimized.
Some OEM's provide very limited support for their 'open source' boards, and rely on the community to optimize the software and even the hardware.
If this is one of those OEM's, then it's up to the community (people like you) to optimize the software (or even the hardware). 
You can search these forums to see if anyone has found solutions, and sometimes someone might answer with a suggestion or a solution. 
The Armbian build system is an ideal platform for you to develop solutions, providing an easy way to apply patches and stream improvements into the build via Github pull requests.

I took a look at your logs, and I didn't spot anything obvious. Perhaps someone more familiar with your board will turn up.
Good luck :)
 

Expand  

 

Thanks for your suggestions and instructions.

I will try to reach out sunxi-linux and pinecube community asking about this matter.

 

  Quote

Have you measured the speeds that you get with OEM's officially supplied software, if the OEM supplies any?

Expand  

I don't know anything about OEM's officially supplied software yet. I will research about this and test on officially supplied software if available.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines