Skip to contentSkip to conversation

USB power is not enabled fro BeagleBone Black

U-Boot sm 5 participants 8 messages Jul 1, 2017 – Jul 27, 2017

lore
Share & tools
lore
#1 lore raw
Quoted 5 lines · sm

Hi all,

The latest git version does not turn on USB power on BeagleBone Black:
"usb start" reports that the port is not accessible, but with external power provided it detects the plugged in device.

Yes, I think this may be intentional?

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170707/001eb109/attachment.sig>
#2 lore raw

Are we sure that's intentional? One of the common use cases for black is to plug in a usb keyboard/mouse and hdmi cable; what requirement is driving this? It would be great to have u-boot console support ala cubox/allwinner.

Just checking...

Steve

Quoted 19 lines · Tom Rini
Quoted 5 lines · sm

Hi all,

The latest git version does not turn on USB power on BeagleBone Black:
"usb start" reports that the port is not accessible, but with external power provided it detects the plugged in device.

Yes, I think this may be intentional?

--
Tom

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot

#3 lore raw
Quoted 3 lines · Stephen Arnold

Are we sure that's intentional? One of the common use cases for black is to plug in a usb keyboard/mouse and hdmi cable; what requirement is driving this? It would be great to have u-boot console support ala cubox/allwinner.

My thought was that we might not have enough power coming in? But maybe it's just more incidental fallout from the speed grade changes. I'd be happy to look at a patch that does bring things back.

Quoted 30 lines

Just checking...

Steve

Quoted 10 lines · Tom Rini
Quoted 5 lines · sm

Hi all,

The latest git version does not turn on USB power on BeagleBone Black:
"usb start" reports that the port is not accessible, but with external power provided it detects the plugged in device.

Yes, I think this may be intentional?

Quoted 9 lines

--
Tom

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170707/2a993e33/attachment.sig>
#4 lore raw
In reply to Tom Rini

(sorry for top posting, sending from a phone)

I would agree it's intentional at the first stage: we don't want to power external devices which we may not need, however, the "usb start" command must enable it, otherwise it's useless...

-S.
  Original Message
From: Tom Rini
Sent: Friday, July 7, 2017 18:41
To: sm; Lokesh Vutla
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] USB power is not enabled fro BeagleBone Black

Quoted 5 lines · sm

Hi all,

The latest git version does not turn on USB power on BeagleBone Black:
"usb start" reports that the port is not accessible, but with external power provided it detects the plugged in device.

Yes, I think this may be intentional?

Signature · 1 line
Tom
#5 lore raw
Quoted 3 lines · Sergey Manucharian

(sorry for top posting, sending from a phone)

I would agree it's intentional at the first stage: we don't want to power external devices which we may not need, however, the "usb start" command must enable it, otherwise it's useless...

Right. Any chance you bisected to the commit which caused the issue?

Thanks and regards,
Lokesh

Quoted 19 lines

-S.
Original Message
From: Tom Rini
Sent: Friday, July 7, 2017 18:41
To: sm; Lokesh Vutla
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] USB power is not enabled fro BeagleBone Black

Quoted 5 lines · sm

Hi all,

The latest git version does not turn on USB power on BeagleBone Black:
"usb start" reports that the port is not accessible, but with external power provided it detects the plugged in device.

Yes, I think this may be intentional?

#6 lore raw

New findings:

The problem is different, it happens only with USB 3 flash drives, USB 2 devices are powered properly. I don't have real statistics, but the newest SanDisk's drives won't work.

However, it's hard to believe that a tiny USB drive requests more than 500mA to assume that the controller and/or u-boot decide to not provide power to it.

Sergey

Excerpts from Lokesh Vutla's message from Mon 10-Jul-17 18:47:

Quoted 31 lines · Sergey Manucharian
Quoted 3 lines

(sorry for top posting, sending from a phone)

I would agree it's intentional at the first stage: we don't want to power external devices which we may not need, however, the "usb start" command must enable it, otherwise it's useless...

Right. Any chance you bisected to the commit which caused the issue?

Thanks and regards,
Lokesh

Quoted 19 lines

-S.
Original Message
From: Tom Rini
Sent: Friday, July 7, 2017 18:41
To: sm; Lokesh Vutla
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] USB power is not enabled fro BeagleBone Black

Quoted 5 lines · sm

Hi all,

The latest git version does not turn on USB power on BeagleBone Black:
"usb start" reports that the port is not accessible, but with external power provided it detects the plugged in device.

Yes, I think this may be intentional?

#7 lore raw

One thing we have come across is that some USB drives require a longer delay between powering up and initialization.

I have historically also run into a lot of problems with both Sandisk USB devices and Sandisk SD cards, finding instances where they do not follow the standards.

-Aaron

Quoted 47 lines · PDT Sergey Manucharian

New findings:

The problem is different, it happens only with USB 3 flash drives, USB 2 devices are powered properly. I don't have real statistics, but the newest SanDisk's drives won't work.

However, it's hard to believe that a tiny USB drive requests more than 500mA to assume that the controller and/or u-boot decide to not provide power to it.

Sergey

Excerpts from Lokesh Vutla's message from Mon 10-Jul-17 18:47:

Quoted 29 lines · Sergey Manucharian
Quoted 5 lines

(sorry for top posting, sending from a phone)

I would agree it's intentional at the first stage: we don't want to power external devices which we may not need, however, the "usb start" command must enable it, otherwise it's useless...>

Right. Any chance you bisected to the commit which caused the issue?

Thanks and regards,
Lokesh

Quoted 18 lines

-S.

Original Message

From: Tom Rini
Sent: Friday, July 7, 2017 18:41
To: sm; Lokesh Vutla
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] USB power is not enabled fro BeagleBone Black

Quoted 5 lines · sm

Hi all,

The latest git version does not turn on USB power on BeagleBone Black:
"usb start" reports that the port is not accessible, but with external power provided it detects the plugged in device.

Yes, I think this may be intentional?

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot

Signature · 4 lines
Aaron Williams
Senior Software Engineer
Cavium, Inc.
(408) 943-7198	(510) 789-8988 (cell)