Odroid n2+ usb broken on reboot

Wayne Schroeder raz at chewies.net
Sat May 10 13:21:44 PDT 2025


Applied patches to 2025.04 release (applied clean).  Made stock
defconfig for odroid n2, built, signed, installed.  The reboot issue
remains and usb ports are unavailable to linux kernel after reboot.

It is worth noting that linux does see some enumeration of devices
after a while, but even if it logs to the console about device
attachment, the devices don't actually function.  This was the same
behavior with the release version.

Wayne

On Fri, May 9, 2025 at 10:01 AM Wayne Schroeder <raz at chewies.net> wrote:
>
> Yes.  Will report back how it works on the n2+.
>
>
> On Fri, May 9, 2025 at 2:08 AM Anand Moon <linux.amoon at gmail.com> wrote:
> >
> > Hi Wayne,
> >
> > On Fri, 9 May 2025 at 01:25, Wayne Schroeder <raz at chewies.net> 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
> > > <funderscore at postmarketos.org> 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
> > > linux-amlogic at lists.infradead.org
> > > http://lists.infradead.org/mailman/listinfo/linux-amlogic



More information about the linux-amlogic mailing list