ostroproject / ostro-os

Ostro OS
Other
93 stars 43 forks source link

Observation: Using USB 3.0 hub connected to Edison takes long time to flash image #114

Closed js333031 closed 8 years ago

js333031 commented 8 years ago

I have USB 3.0 hub from Sabrent connected to USB 3.0 port of my Ubuntu 12.04 LTS development system. No other devices are connected to this hub.

After bitbaking, I see flashall image in deploy/images/edison directory. I extracted the contents of flashall and tried to update my Edison using flashall.sh.

After about an hour, I killed the update process and retried. Once again, update was really slow. So I killed this update and moved the Edison to USB 2.0 ports directly exposed by the motherboard of dev system. This time, flashall.sh is more reasonable in updating the Edison. Update using USB 2.0 finished reasonably quickly ... < 10 mins. I never let USB 3.0 update finish.

Just an observation, maybe someone can chime in on their experience.

gvancuts commented 8 years ago

Hi @js333031 , a couple of quick questions:

Thanks, Geoffroy

js333031 commented 8 years ago

I used other ports on the hub with same slow results. Maybe I have a bad hub although I used it with an external USB HD w/o issues.

ghost commented 8 years ago

I suspect this might be in issue in negotiating a proper bus speed for USB3 in the Linux kernel for Edison. The Linux kernel for Edison is maintained by @sakoman. Steve, any ideas here? Thanks.

sakoman commented 8 years ago

No ideas on what is wrong. I use a generic USB3 hub when flashing Edison and have had no speed issues. Try another brand of hub perhaps?

mythi commented 8 years ago

closing. Bad USB hub causing this.