Date: Sat, 24 Sep 2022 01:52:01 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Mark Millard <marklmi@yahoo.com>, bob prohaska <fbsd@www.zefox.net> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: U-boot on RPI3, sees disk but won't boot it Message-ID: <ba7af015-613a-0530-9a79-628a55bebc42@selasky.org> In-Reply-To: <280D9065-A158-4E52-AA18-CA2CB1C247AC@yahoo.com> References: <20220919221553.GA33878@www.zefox.net> <9A2A4E83-22F2-4441-82BF-0B8E6718ED34@yahoo.com> <20220921154240.GA37735@www.zefox.net> <8CC2A42B-21AC-44C6-BD02-44D320CADF63@yahoo.com> <20220921175026.GA45144@www.zefox.net> <5DB9C93B-B9E1-418D-ABA3-8A0CFCE85C0F@yahoo.com> <3781CF46-C4F7-4579-8655-B7558B724C0A@yahoo.com> <20220922014500.GA46697@www.zefox.net> <280D9065-A158-4E52-AA18-CA2CB1C247AC@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9/23/22 04:11, Mark Millard wrote: > As I understand it USB* standards do not define a stable > order for devices to enumerate. So even if all the boots > worked, if you had a record of the "USB device tree" for > each you would likely find that the trees varied in what > the numbering (and, so ordering) was. FYI LibUSB defines : int libusb_get_port_numbers(libusb_device *dev, uint8_t *buf, uint8_t bufsize) Stores, in the buffer buf of size bufsize, the list of all port numbers from root for the device dev. Which gives you are more or less constant path. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ba7af015-613a-0530-9a79-628a55bebc42>