Odroid n2+ usb broken on reboot
Anand Moon
linux.amoon at gmail.com
Fri May 9 00:08:38 PDT 2025
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