platform_system_core/fastboot
David Krause 913eb8bf87 Enlarge USB bulk transfer size for faster downloads
The default USB transfer bulk is fixed as 4096 in fastboot util code for
Windows and Linux. Enlarging the bulk size can greatly improve the image
download speed via USB.

For Windows, adjust the max bulk size to 1MB to maximize the USB transfer
speed. With this change, the USB transfer speed can be doubled to 20MB/s.

For Linux, adjust the max bulk size to 16384 to maximize the USB transfer
speed according to MAX_USBFS_BUFFER_SIZE definition in drivers/usb/core/devio.c.

For OSX, the maxLenToSend is already 1MB in code.

Change-Id: If6af8c6301f6f6c2ef345e37241706f16d8f5cda
2011-03-28 11:45:21 -05:00
..
Android.mk Fix adb, fastboot to compile in Windows SDK under Linux. 2010-04-23 13:07:17 -07:00
bootimg.c fastboot, mkbootimg: support alternate base addresses 2009-04-28 16:05:07 -07:00
engine.c am c37ba1c9: Merge "Check fastboot oem command line length" 2010-07-29 11:08:02 -07:00
engineering_key.p12 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
fastboot.c fastboot: Add help message for continue command 2010-12-29 13:11:53 -08:00
fastboot.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
genkey.sh auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
p12topem.sh auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
protocol.c fastboot: make it so I can actually see the bootloader chatter 2010-07-01 13:54:13 -07:00
signfile.sh auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
usb.h Make fastboot say "no permissions" for non-writable devices. 2009-10-06 18:07:49 -07:00
usb_linux.c Enlarge USB bulk transfer size for faster downloads 2011-03-28 11:45:21 -05:00
usb_osx.c Fix kernel panics in fastboot on OS X. 2010-05-21 13:24:25 -07:00
usb_windows.c Enlarge USB bulk transfer size for faster downloads 2011-03-28 11:45:21 -05:00
usbtest.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
util_linux.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
util_osx.c get rid of utils/executablepath.h, which now lives in the simulator 2009-08-26 14:46:18 -07:00
util_windows.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00