Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2022 11:01:30 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>, freebsd-uboot@freebsd.org
Subject:   Re: EDK2 on RPi3 was: Re: u-boot debug, was: Re: U-boot on RPI3, sees disk but won't boot it
Message-ID:  <3A76826B-B4E6-4837-915E-C9E1172BEA20@yahoo.com>
In-Reply-To: <136B9190-4C73-45FB-8B41-FEEF7C38A253@yahoo.com>
References:  <5FFDAA6A-AD8C-4E40-A2EB-4082E5086679@googlemail.com> <38DFEB91-AC60-4FD1-8088-95B0A06C5E5D@yahoo.com> <EEC43DA1-6B68-4FDD-A68A-A3055E86E407@googlemail.com> <20221003004624.GA3381@www.zefox.net> <B32F06DD-DFAF-4CB7-A973-7C07846F6E8E@yahoo.com> <20221004001857.GA7109@www.zefox.net> <62F8D709-BBC3-41C4-B1A9-939B2001BA52@yahoo.com> <1DE565E3-3906-4C53-83C8-EBC20A4E3C95@yahoo.com> <20221005034608.GA12761@www.zefox.net> <1560695E-4D99-40A1-8D62-29EAB24C7997@yahoo.com> <20221005160737.GA15227@www.zefox.net> <136B9190-4C73-45FB-8B41-FEEF7C38A253@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
FYI on a FreeBSD USB enumeration change in main [so: 14]:

From: Hans Petter Selasky <hselasky_at_FreeBSD.org>
Date: Wed, 05 Oct 2022 10:13:41 UTC=20
The branch main has been updated by hselasky:

URL: =
https://cgit.FreeBSD.org/src/commit/?id=3D55a3bd000d9799f431c207e359466484=
ac63c137

commit 55a3bd000d9799f431c207e359466484ac63c137
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2022-06-09 13:15:49 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-10-05 10:12:33 +0000

    usb(4): Make sure the enumeration thread doesn't loop too fast.
   =20
    MFC after:      1 week
    Sponsored by:   NVIDIA Networking
---
 sys/dev/usb/controller/usb_controller.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/dev/usb/controller/usb_controller.c =
b/sys/dev/usb/controller/usb_controller.c
index 0897af0492cb..959f54a4583f 100644
--- a/sys/dev/usb/controller/usb_controller.c
+++ b/sys/dev/usb/controller/usb_controller.c
@@ -414,6 +414,9 @@ usb_bus_explore(struct usb_proc_msg *pm)
 #if USB_HAVE_ROOT_MOUNT_HOLD
 	usb_root_mount_rel(bus);
 #endif
+
+	/* Nice the enumeration a bit, to avoid looping too fast. */
+	usb_pause_mtx(&bus->bus_mtx, USB_MS_TO_TICKS(16));
 }
=20

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A76826B-B4E6-4837-915E-C9E1172BEA20>