The trick was to use flock, and flock every fastboot call.
On Wednesday, January 30, 2013 7:21:55 AM UTC-8, Tyler Baker wrote:Does anyone know if it is possible to flash using fastboot two devices at the same time? I have setup a automated test environment to flash platform builds, however if the test server tries to flash two devices at the same time all the fastboot processes hang.In dmesg, I get flooded with these messages:usb 1-5: usbfs: USBDEVFS_CONTROL failed cmd fastboot rqt 128 rq 6 len 256 ret -71Thinking this might be a USB driver issues, I have tried this on three different machines, same result. Even build and installed the 3.6 and 3.7 kernels, no dice there.After all of this I think I need to put some resource protection on fastboot binary, any thoughts?Tyler
Write a script with all fastboot commands adding device serial numbers in an array.
fastboot -s <@Serial number>
Did anyone find a solution on how to flash multiple connected devices with fastboot and is willing to share the steps or at leastmore insights?
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.