Re: u-boot debug, was: Re: U-boot on RPI3, sees disk but won't boot it

From: Klaus_Küchemann <maciphone2_at_googlemail.com>
Date: Fri, 30 Sep 2022 19:02:58 UTC

> Am 30.09.2022 um 20:36 schrieb Mark Millard <marklmi@yahoo.com>:
> 
> Which "the"? The Hub in question is internal to the
> RPi3B. It also shows up on my RPi3B with no external
> hubs involved. (But I've never had the failure mode
> occur.)
> 
> Manufacturer 
> Product      U-Boot Root Hub
> SerialNumber 
> bind node usb1@1
> 
> It is a hub with 5 ports, one associated with the
> EtherNet port and 4 for plugging things in. Or,
> that is my understanding.
:-), I started reading the discussion from the beginning because I missed the Hub-manufacturer in the logs,
Now I know it’s the internal, thanks for Info .
I  was absolutely sure from the beginning that this is a 3b-power-issue (regulator or whatever)…
I guess you also wrote that.
Since my lowest model is 3b+, I never turned on any RPI during this discussion.

> 
> I've little clue what would interfere with its
> operation in this specific way.

From reading the logs  we end up in line 377 of common/usb_hub.c :
'cannot reset port‘
The comment beginning in line 305 indicates that perhaps more attempts of a reset 
could work around mysterious power or disconnect issues( although for nVidia not rpi).
 So by guessing I would say, a code injection of reset retries could perhaps help,
I would ask a long year known USB-expert if it’s worth to try hacking usb_hub.c 
 but it’s better not to call his name so loud again :-) …

Regards

Klaus