It's hard for me to quantify if usb works in u-boot as I'm not loading
off of any usb storage devices.  It certainly never lets me use the
keyboard to abort auto boot, and never has.  On reboot, to reliably
get it to work, I have to do a usb reset and sleep some amount of time
before doing distro boot.  I picked 10 seconds.  If you would like for
me to do some scripted boot command additions before my extlinux to
gather data, I can.

Right now, what I have done is make a reboot hook in linux to touch a
file on the boot partition that my bootcommand fatrms and if it was
present, it resets usb and sleeps 10 seconds, so it's reliable to
reboot remotely like that.  Let me know how else I can gather any
data.

On Wed, May 7, 2025 at 7:01 AM <neil.armstr...@linaro.org> wrote:
>
> On 05/05/2025 15:12, Wayne Schroeder wrote:
> > If I add the usb reset command, it works reliably at reboot, but it
> > does not work on a fresh power-up with that change.
>
> OK this means there's a dangling resource, Does USB always work within
> U-Boot or it breaks U-Boot and Linux in those cases ?
>
> >
> >
> > On Mon, May 5, 2025 at 2:07 AM <neil.armstr...@linaro.org> wrote:
> >
> >> I think it's a very long term issue, USB lacks a proper reset at probe on
> >> warm reset, does USB still work from U-Boot after the reboot ?
> >>
>

Reply via email to