From: neil.armstrong@linaro.org
To: Wayne Schroeder <raz@chewies.net>, u-boot@lists.denx.de
Cc: "u-boot-amlogic@groups.io" <u-boot-amlogic@groups.io>,
"linux-amlogic@lists.infradead.org"
<linux-amlogic@lists.infradead.org>
Subject: Re: Odroid n2+ usb broken on reboot
Date: Mon, 5 May 2025 09:07:28 +0200 [thread overview]
Message-ID: <f073dad7-337e-499a-8cb5-9dae0842de17@linaro.org> (raw)
In-Reply-To: <CAEUiLubXaPGZsE6y_X6mBTD1ZK-2w82fbRD5z8+MKvDZtZKOtA@mail.gmail.com>
Hi,
+CC u-boot-amlogic@groups.io
+CC linux-amlogic@lists.infradead.org
On 05/05/2025 00:34, Wayne Schroeder wrote:
> Hello. I am not sure if this is a bug, or even related to u-boot, but I am
> reporting it here because it was easiest to resolve via a u-boot change.
>
> I am using u-boot-2025.04 (source) with a mainline linux from Arch Linux
> Arm.
> Linux alarm 6.14.4-1-aarch64-ARCH #1 SMP PREEMPT_DYNAMIC Sat Apr 26
> 13:02:01 MDT 2025 aarch64 GNU/Linux
>
> On my odroid-n2+, the USB ports work on the first boot after power. If I
> run shutdown -r now, or hit ctl-alt-del and otherwise reboot the system,
> the usb ports do not function at the next or subsequent boot up.
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 ?
>
> My apologies if this is not applicable to u-boot because it is a linux
> issue--I am not sure what the source of the issue is, but adjusting the
> u-boot .config after make odroid-n2_defconfig resolved the issue entirely.
>
> I am booting via extlinux/extlinux.conf and have adjusted my
> CONFIG_BOOTCOMMAND before build to execute a usb reset prior to the
> existing run distro_bootcmd.
>
> CONFIG_BOOTCOMMAND="usb reset; run distro_bootcmd"
I'm pretty sure there's driver callbacks we should implement to do the
same here, I need to check.
>
> This has allowed me to reboot the system and successfully have access to
> the USB devices such as my keyboard, mouse, and root file system on USB3
> SSD.
>
> Thanks!
>
> Wayne
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next parent reply other threads:[~2025-05-05 7:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAEUiLubXaPGZsE6y_X6mBTD1ZK-2w82fbRD5z8+MKvDZtZKOtA@mail.gmail.com>
2025-05-05 7:07 ` neil.armstrong [this message]
2025-05-05 13:12 ` Wayne Schroeder
2025-05-07 12:01 ` neil.armstrong
2025-05-07 13:01 ` Anand Moon
2025-05-07 13:03 ` Wayne Schroeder
2025-05-08 16:21 ` Ferass El Hafidi
2025-05-08 19:54 ` Wayne Schroeder
2025-05-09 7:08 ` Anand Moon
2025-05-09 15:01 ` Wayne Schroeder
2025-05-10 20:21 ` Wayne Schroeder
2025-05-12 6:59 ` Anand Moon
2025-05-12 9:35 ` Christian Hewitt
2025-05-12 10:04 ` Anand Moon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f073dad7-337e-499a-8cb5-9dae0842de17@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=raz@chewies.net \
--cc=u-boot-amlogic@groups.io \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®