Re: Odroid n2+ usb broken on reboot

Wayne Schroeder <[email protected]> Fri, 9 May 2025 10:01:17 -0500
Newsgroups io.groups.u-boot-amlogic,org.infradead.lists.linux-amlogic,org.u-boot-project.lists.u-boot
Message-ID <CAEUiLubakMjzhi2sUTQx1S4ciTjkL6ysx465i1t-T5zKUQdUvw@mail.gmail.com>
Yes.  Will report back how it works on the n2+.


On Fri, May 9, 2025 at 2:08 AM Anand Moon <[email protected]> wrote:
>
> Hi Wayne,
>
> On Fri, 9 May 2025 at 01:25, Wayne Schroeder <[email protected]> wrote:
> >
> > I actually already have a working solution that I documented in my
> > github repo (dubschro/odroid-n2).  All I do is set BOOTCOMMAND to
> > check/delete a flag file on my boot partition and if it is found, then
> > reset usb and sleep for 10 seconds.  I then have a systemd shutdown
> > script only on reboot to touch that file.
> >
> > CONFIG_BOOTCOMMAND="fatrm mmc 0:1 reboot && echo Resetting USB on
> > reboot... && usb reset && sleep 10; run distro_bootcmd"
> >
> > It is a hack, but... the system reliably reboots remotely now, and
> > that's the important part for now.
> >
> > Wayne
> >
> > On Thu, May 8, 2025 at 11:22 AM Ferass El Hafidi
> > <[email protected]> wrote:
> > >
> > > On Wed May 7, 2025 at 1:03 PM UTC, Wayne Schroeder wrote:
> > > > 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
> > >
> > > You can send bytes via UART to abort boot, if you happen to have a UART
> > > adapter around.
> >
> Can you test this series to see if this resolves the issue?
>
> https://patchwork.ozlabs.org/project/uboot/list/?series=456088
>
> Thanks
> -Anand
>
> > _______________________________________________
> > linux-amlogic mailing list
> > [email protected]
> > http://lists.infradead.org/mailman/listinfo/linux-amlogic