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

Klaus Küchemann <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>

> Am 30.09.2022 um 21:58 schrieb Mark Millard <[email protected]>:
> 
> On 2022-Sep-30, at 12:36, Klaus Küchemann <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.