Comments (5)
You'd need to rewrite rpiboot to run a new thread for each device as it enumerates, then each thread runs the same bit of code
from usbboot.
With #66 you could also run rpiboot for each Pi you want to boot or use the existing -1/-2/etc. option if the port numbers aren't repeated (as they are on the 3B+).
from usbboot.
I wonder if https://github.com/balena-io-modules/node-raspberrypi-usbboot might have better threading support? (although I've no idea if it'll be possible to adapt it to support your scenario)
from usbboot.
https://github.com/librerpi/rpi-tools/tree/master/webusbboot
another issue ive found a potential solution to by accident
webusb is entirely event driven, so one thread can manage multiple devices at once
webusbboot has been confirmed to be able to:
- reflash the rpi4b eeprom (both with
recovery.bin
, and eeprom self-reflash) - boot into VPU MSD mode (with
msd/start4.elf
) - boot into linux MSD mode (tested with nixos-msd but others should work too)
it works on linux (even android), windows has general webusb issues, darwin untested
from usbboot.
Closed due to inactivity.
from usbboot.
Related Issues (20)
- AvailabilityInternalLegacy.h not found on macOS Sanoma 14.0 (23A344) HOT 3
- Contradicting documentation: rpiboot GPIO pins HOT 1
- RPi5: wlan0 doesn't exist when Boot Order is USB->SDCARD HOT 1
- Running `rpiboot` reports `Cannot open file fixup4.dat` HOT 4
- Cannot compile on M1 MacBook HOT 3
- Cannot open file fixup.dat MacOS M1 CM3+ HOT 9
- Failed to read correct length, returned 0 HOT 1
- Following install of Home Assistant, USBboot stops working HOT 2
- macOS: main.c:1:10: fatal error: 'libusb-1.0/libusb.h' file not found HOT 7
- rpiboot always installs to /usr/..., should allow setting the prefix
- Raspberry Pi Zero W not recognised by M1 Macbook Air HOT 1
- `recovery` does not work with pieeprom.bin HOT 1
- No bootcode found in 'recovery HOT 2
- RPIBOOT BOOT_ORDER (0x3) doesn't work on CM4 without nRPIBOOT pulled low HOT 18
- Disconnect device HOT 2
- The secure-boot-example does not tell you how to copy the boot.ug and boot.sig to the eMMC! HOT 15
- Failed to read correct length, returned 0 HOT 1
- sudo ./rpiboot early exit without -d flag
- CM4 is not being detected as as mass storage HOT 4
- Cannot write program_pubkey=1 to OTP memory HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usbboot.