public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [bug] uboot 2022.07 hangs on rpi 2 with attached usb storage
@ 2022-07-18 17:48 Jan Palus
  2022-07-22  8:59 ` Simon Glass
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Palus @ 2022-07-18 17:48 UTC (permalink / raw)
  To: AKASHI Takahiro, u-boot; +Cc: Simon Glass

u-boot 2022.07 boots fine without any USB devices attached to
RaspberryPi 2 however it hangs early on if external USB drive is
connected, right after:

   Request Sense returned 02 04 01

git bisect indicates first commit to cause regression is:

  8c9812a5d557c4eacf164147d7380b3af1b222ec is the first bad commit
  commit 8c9812a5d557c4eacf164147d7380b3af1b222ec
  Author: AKASHI Takahiro <takahiro.akashi@linaro.org>
  Date:   Tue Mar 8 20:36:40 2022 +0900
  
      usb: storage: call device_probe() after scanning
  
      Every time a usb bus/port is scanned and a new device is detected,
      we want to call device_probe() as it will give us a chance to run
      additional post-processings for some purposes.
  
      In particular, support for creating partitions on a device will be added.
  
      Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
      Reviewed-by: Simon Glass <sjg@chromium.org>

Reverting this commit fixes the issue.

Note that USB drive is TOSHIBA MQ04UBD200 and it's not used for booting.
Also note that without this change 0 storage devices are detected even
when drive is attached.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-07-25 11:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-18 17:48 [bug] uboot 2022.07 hangs on rpi 2 with attached usb storage Jan Palus
2022-07-22  8:59 ` Simon Glass
2022-07-23 14:19   ` Jan Palus
2022-07-23 14:43     ` Jan Palus
2022-07-23 15:03       ` Jan Palus
2022-07-23 16:42         ` Simon Glass
2022-07-23 19:01           ` Jan Palus
2022-07-25  2:25         ` AKASHI Takahiro
2022-07-25  7:44           ` Jan Palus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox