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

From: Mark Millard <marklmi_at_yahoo.com>
Date: Fri, 30 Sep 2022 19:58:52 UTC
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