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 20:12:30 UTC

> Am 30.09.2022 um 21:58 schrieb Mark Millard <marklmi@yahoo.com>:
> 
> On 2022-Sep-30, at 12:36, Klaus Küchemann <maciphone2@googlemail.com> wrote:
> 
>> …`found  someone in the WWW who fixed similar issues of an even earlier rpi-model 
>> by increasing/adding mdelay values,  no clue if something like that would be a valid test worth…
>> Like this :
>> * requests in the first microframe, the stick crashes. Wait about
>>        * one microframe duration here (1mS for USB 1.x , 125uS for USB 2.0).
>>        */
>> -       mdelay(1);
>> +       mdelay(300);
>> 
>> /* only support for one config for now */
>>       err = usb_get_configuration_len(dev, 0);
>> +       mdelay(100);
>> 
>> usb_set_maxpacket(dev);
>> +       mdelay(100);
> 
> I've included a patch-common_usb.c update with these lines
> adjusted/added (with a suffix comment for each).
> 
> Reverting to the official rpi_arm64_fragment could be used
> to also test without the debug output.
> 
> ===
> Mark Millard
> marklmi at yahoo.com
> <patch-common_usb.c>

if you created this patch after my post, you are extremely fast ;-) 
In Germany we say:
„I press both  thumbs for a success for Bob „ :-)
If fails again , what to do? :-) ..puhhh…sweat pearls..

Regards

Klaus