[PATCH 2/3] bootstd: usb: Avoid initing USB twice
Tom Rini
trini at konsulko.com
Sat May 6 18:00:59 CEST 2023
On Sat, May 06, 2023 at 03:59:57PM +0000, Jonas Karlman wrote:
> Hi Simon,
>
> On 2023-05-06 04:03, Simon Glass wrote:
> > This causes crashes on some boards, e.g. rockpro64. In any case, we
> > should not do it.
> >
> > Check the usb_started flag to avoid this.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> > drivers/usb/host/usb_bootdev.c | 3 +++
> > test/boot/bootdev.c | 5 +++++
> > 2 files changed, 8 insertions(+)
> >
>
> This fixes the crash related to usbkbd in stdin env on my rockpro64, so:
>
> Tested-by: Jonas Karlman <jonas at kwiboo.se>
I'm also testing things out on my rockpro64 finally. Are you able to
boot distributions from uSD on yours or only USB, automatically?
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230506/81cb0adb/attachment.sig>
More information about the U-Boot
mailing list