Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to look for CM with specific USB path. #66

Merged
merged 1 commit into from
Aug 15, 2022

Conversation

burtyb
Copy link
Contributor

@burtyb burtyb commented Oct 20, 2020

Adds "-p" option with works similar to the port number but accepts a USB pathname (like 1-1.3.1).

@nbuchwitz
Copy link
Contributor

@pelwell /others Do you see any chance that this can get a review? I think filtering by usb paths can be quite useful

@timg236
Copy link
Collaborator

timg236 commented Jul 26, 2022

Can you give an example about how this would be used?

@nbuchwitz
Copy link
Contributor

We have multiple automatic provisioning systems for CM/CM3/CM4S which consists out of 8 SO-DIMM sockets attached to 2 USB hubs. By specifying the port with a path, I can run different instances for the ports. The current approach with -1 - -9 doesn't work here as the devices are scattered over different hubs and ports

@timg236
Copy link
Collaborator

timg236 commented Aug 15, 2022

ok LGTM

@timg236 timg236 merged commit 7bc8439 into raspberrypi:master Aug 15, 2022
@earcam
Copy link

earcam commented May 30, 2023

@burtyb you've made my day, thank you (wish I'd run rpiboot --help and spotted the -p option instead of losing hours on interweb)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants