summaryrefslogtreecommitdiffstats
path: root/fastboot
Commit message (Collapse)AuthorAgeFilesLines
* am ad32ebec: am 97133621: Merge "system: core: fastboot: Increase USB ↵Badhri Jagan Sridharan2014-12-052-3/+3
|\ | | | | | | | | | | | | protocol buffer size to 1024" * commit 'ad32ebecc9a0d781f66f39f467be0b30cc05f65b': system: core: fastboot: Increase USB protocol buffer size to 1024
| * am 97133621: Merge "system: core: fastboot: Increase USB protocol buffer ↵Badhri Jagan Sridharan2014-12-042-3/+3
| |\ | | | | | | | | | | | | | | | | | | size to 1024" * commit '971336213a32e5f3841bc22413632e0108f1c9e2': system: core: fastboot: Increase USB protocol buffer size to 1024
| | * Merge "system: core: fastboot: Increase USB protocol buffer size to 1024"Badhri Jagan Sridharan2014-12-042-3/+3
| | |\
| | | * system: core: fastboot: Increase USB protocol buffer size to 1024Channagoud Kadabi2014-11-072-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With USB3.0 SS support the max packet size supported by USB protocol is 1024 bytes. When connected to a USB device in SuperSpeed, if only 512 bytes are sent at a time the device would interpret each transfer as a short packet and slows down overall throughput. To accommodate for SuperSpeed USB bulk endpoints, increase the buffer size to 1024. Change-Id: I4f447fe38045bc0008e2d6dd3f36c2d6819d6c15
* | | | am fafbd329: am ba1552bd: Merge "Clarify the strcmp() with the empty string."Stephen Hines2014-11-271-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'fafbd329cb1685dc91172230a0671175e80ca8b3': Clarify the strcmp() with the empty string.
| * | | am ba1552bd: Merge "Clarify the strcmp() with the empty string."Stephen Hines2014-11-271-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'ba1552bd2438a8a47779ed3d05d5ce15bfb5741c': Clarify the strcmp() with the empty string.
| | * | Clarify the strcmp() with the empty string.Stephen Hines2014-11-261-1/+1
| | | | | | | | | | | | | | | | Change-Id: Ie246b3c2de3f19b95693f634b0ebd46bdcf3962b
* | | | am 8d49c8b0: am f66486ef: Merge "Fix incorrect path name check."Stephen Hines2014-11-271-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '8d49c8b0bfdc7bed855acec603bacc355b5bcb8c': Fix incorrect path name check.
| * | | am f66486ef: Merge "Fix incorrect path name check."Stephen Hines2014-11-271-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'f66486ef09bfc53da65ca6b4137c47d583f31356': Fix incorrect path name check.
| | * | Merge "Fix incorrect path name check."Stephen Hines2014-11-261-1/+1
| | |\ \
| | | * | Fix incorrect path name check.Stephen Hines2014-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was caught by clang 3.6's -Wpointer-bool-conversion. The device_path field is a char[256], and thus never NULL. The intention for this code was to check whether or not there is a named path at all. Checking whether this is an empty string matches the original intent. Change-Id: I5ccedc03167e6a457e472089de26130aff7f96e3
* | | | | am 87fdfc71: am cb321921: Merge "fastboot: add parameter for unbuffered ↵Elliott Hughes2014-11-251-1/+9
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | stderr/stdout" * commit '87fdfc718e9eccdd9c40e7bca7a48af40b6bf732': fastboot: add parameter for unbuffered stderr/stdout
| * | | | am cb321921: Merge "fastboot: add parameter for unbuffered stderr/stdout"Elliott Hughes2014-11-251-1/+9
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'cb321921fe04f6ccaeb56c4bf3e8965ee4764738': fastboot: add parameter for unbuffered stderr/stdout
| | * | | fastboot: add parameter for unbuffered stderr/stdoutFlorian Bäuerle2014-11-241-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is useful for writing Windows GUIs that want to parse the output of fastboot before it exits. Change-Id: Ic0171fe379fc4db7b65b1501e5f2e771ac7c62c4 Signed-off-by: Florian Bäuerle <florian.bae@gmail.com>
* | | | | am 542324f4: am 0750f786: Merge "Remove explict use of ASCII encoding"Elliott Hughes2014-11-211-1/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '542324f4b48897d40adb010afc440261c599633d': Remove explict use of ASCII encoding
| * | | | am 0750f786: Merge "Remove explict use of ASCII encoding"Elliott Hughes2014-11-211-1/+1
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '0750f78659758352490e599d057a39dc44e93340': Remove explict use of ASCII encoding
| | * | | Remove explict use of ASCII encodingAl Sutton2014-11-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace the use of CFStringGetCString with kCFStringEncodingASCII specified with CFStringGetFileSystemRepresentation which will ensure the correct character encoding is used to conver the CFString into a NULL terminated char array suitable for use with POSIX APIs. Change-Id: Ibab1dc05c4f4db8604d329a493b4241992b8e69d
* | | | | am 4c2aec09: am aa3e17e1: Merge "Return path including executable instead of ↵Elliott Hughes2014-11-201-5/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | without" * commit '4c2aec09cf2da437f3995ff4cac87e4c20d1d4b0': Return path including executable instead of without
| * | | | am aa3e17e1: Merge "Return path including executable instead of without"Elliott Hughes2014-11-201-5/+5
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'aa3e17e1b685218cddeb7a05e68ff1721a322147': Return path including executable instead of without
| | * | | Return path including executable instead of withoutAl Sutton2014-11-201-5/+5
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous implementation returned the path the executable was in instead of returning the path including the executable (i.e. it returned ...bin instead of ...bin/executable). This is not what the original methods did and caused the process forking of adb to fail. This patch corrects the implementation. Change-Id: Ib58497cab35706041f170c1bc97c31fd5d965f90
* | | | am 2097e9a1: am 20860a28: Merge "Fix building on modern versions of Xcode ↵Elliott Hughes2014-11-191-8/+9
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | and OS X." * commit '2097e9a1491e850545cd0c38522c22dafd2cf6af': Fix building on modern versions of Xcode and OS X.
| * | | am 20860a28: Merge "Fix building on modern versions of Xcode and OS X."Elliott Hughes2014-11-191-8/+9
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '20860a28c5be013da111cb794c92dae02aa30089': Fix building on modern versions of Xcode and OS X.
| | * | Fix building on modern versions of Xcode and OS X.Al Sutton2014-11-191-8/+9
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent versions of XCode fail to compile the adb and fastboot binaries due to two functions being deprecated in 10.9 (GetCurrentProcess and ProcessInformationCopyDictionary), and the use of -Werrror. This patch replaces the method implementations which use calls to methods deprecated in the 10.9 SDK with versions which only call non-deprecated methods. Change-Id: I855bf26aff45093ca9022924f3ecd1b80f2305a8
| | * am 64f44b84: Merge "Remove obsolete reference to ddk; Fixes for -Werror" ↵Stephen Hines2014-10-011-2/+0
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | into lmp-dev * commit '64f44b8444dabd69cf391d42e10d44e8e926a79d': Remove obsolete reference to ddk; Fixes for -Werror
* | | \ am ae7bf095: Fix adb/fastboot windows compilations.Christopher Ferris2014-11-071-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'ae7bf0959bd3f79afbf365e41f015ed1c304afdc': Fix adb/fastboot windows compilations.
| * | | Fix adb/fastboot windows compilations.Christopher Ferris2014-11-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Many of the windows files where not including stdlib.h even though they are using malloc/free calls. Change-Id: If6959df9909d9d9928e9f4a2a96018166361cf3c
* | | | am f9d61a00: am 4acabfee: am 64f44b84: Merge "Remove obsolete reference to ↵Stephen Hines2014-10-021-2/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | ddk; Fixes for -Werror" into lmp-dev * commit 'f9d61a007426f47337f9842930b15c2160281c58': Remove obsolete reference to ddk; Fixes for -Werror
| * | | am 4acabfee: am 64f44b84: Merge "Remove obsolete reference to ddk; Fixes for ↵Stephen Hines2014-10-021-2/+0
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | -Werror" into lmp-dev * commit '4acabfee9e00962be02d06a6771da2e7ade20859': Remove obsolete reference to ddk; Fixes for -Werror
| | * | Remove obsolete reference to ddk; Fixes for -WerrorAndrew Hsieh2014-09-301-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 14416410 1. The new mingw-w64 toolchain x86_64-w64-mingw32-4.8 has ddk in x86_64-w64-mingw32/include/ddk 2. Add -Wno-error=cpp to suppress a warning that turns into error thanks to -Werror: Please include winsock2.h before windows.h 3. Cast GetLastError() return type DWORD to "int" 4. Include direct.h for _mkdir 5. Include stdint.h for uint8_t on Windows Change-Id: I4bec0587f6573692f08c760da6c98ae551b8b5eb
| * | | am 81b857f3: Merge "fastboot: Remove tos from flashall" into lmp-devDaniel Rosenberg2014-09-171-4/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '81b857f3a21f3ae96a5ec72e54982fe30278049f': fastboot: Remove tos from flashall
* | | | am 24e834ab: am 81b857f3: Merge "fastboot: Remove tos from flashall" into ↵Daniel Rosenberg2014-09-161-4/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | lmp-dev * commit '24e834ab6037cee0d3e8569d5fd45695f86865bd': fastboot: Remove tos from flashall
| * | | am 81b857f3: Merge "fastboot: Remove tos from flashall" into lmp-devDaniel Rosenberg2014-09-161-4/+1
| |\ \ \ | | |/ / | |/| / | | |/ | | | * commit '81b857f3a21f3ae96a5ec72e54982fe30278049f': fastboot: Remove tos from flashall
| | * fastboot: Remove tos from flashallDaniel Rosenberg2014-09-151-4/+1
| | | | | | | | | | | | | | | | | | bug: 17498561 Change-Id: I0190c1a5ac635375404799c040e4be523fa29622 Signed-off-by: Daniel Rosenberg <drosen@google.com>
| * | am a42adff9: fastboot: add the support of the second stage image [DO NOT MERGE]Jeremy Compostella2014-08-161-13/+32
| |\ \ |/ / / | | _ | | | | * commit 'a42adff905600219cbf5ef217d2b46670225aca3': fastboot: add the support of the second stage image [DO NOT MERGE]
| * fastboot: add the support of the second stage image [DO NOT MERGE]Jeremy Compostella2014-08-151-13/+32
| | | | | | | | | | | | | | | | | | | | The AOSP bootimage format allows the use of a second stage image however the fastboot boot and flash:row commands do not allow the "secondstage" optional argument. This patch adds the support of this argument for both commands. Change-Id: I00403a95d7460a00233841ba0fe0e8a69d78c7b4 Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
| * Scan all descriptors when checking for fastboot [DO NOT MERGE]Patrick Tjin2014-07-171-15/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | For Linux, the USB code was only looking at the first descriptor when searching for the fastboot interface which caused some devices to not be found. Also clarify some code by using the actual USB structures instead of void or char pointers. (Cherry Picked from aac89db8a541f609d8268966f7b3ded44da03bd1) Change-Id: I9e4871c4d477ac10ba75bb17a955f176809af289 Signed-off-by: Patrick Tjin <pattjin@google.com>
* | am 87ad7cdc: am e1ba39aa: Merge "Fix 64-bit host build."Ying Wang2014-08-141-1/+2
|\ \ | | | | | | | | | | | | * commit '87ad7cdc590aa4033f0b7ae23d83e2fbc119d07a': Fix 64-bit host build.
| * | Fix 64-bit host build.Ying Wang2014-08-141-1/+2
| | | | | | | | | | | | | | | Bug: 13751317 Change-Id: Ibf62935b7d12a55ffc57242a26a2581b52796847
* | | am 3a5f3db2: am c894ced1: Merge "Fix fastboot for Darwin."Tim Murray2014-07-251-0/+1
|\ \ \ | |/ / | | | | | | | | | * commit '3a5f3db2aa5324518eb71c69cd1fb3e2125cbd43': Fix fastboot for Darwin.
| * | Fix fastboot for Darwin.Tim Murray2014-07-241-0/+1
| | | | | | | | | | | | | | | | | | bug 16172793 Change-Id: Ib58446effc13a6e465d176da141b025d36841b8f
* | | am 7793a109: am 5328f671: Merge "Scan all descriptors when checking for ↵Patrick Tjin2014-07-171-15/+34
|\ \ \ | |/ / | | / | |/ |/| | | | | fastboot" * commit '7793a10993a357db6a963760737193992055a690': Scan all descriptors when checking for fastboot
| * Scan all descriptors when checking for fastbootPatrick Tjin2014-07-111-15/+34
| | | | | | | | | | | | | | | | | | | | | | | | For Linux, the USB code was only looking at the first descriptor when searching for the fastboot interface which caused some devices to not be found. Also clarify some code by using the actual USB structures instead of void or char pointers. Change-Id: I9e4871c4d477ac10ba75bb17a955f176809af289 Signed-off-by: Patrick Tjin <pattjin@google.com>
* | am b2ac4243: am f76c8fe6: am 328c3ef6: Merge "Fix typo in fs.h"Elliott Hughes2014-07-101-1/+1
|\ \ | |/ | | | | | | * commit 'b2ac4243000057baf1656c93197150ba7665137e': Fix typo in fs.h
| * Fix typo in fs.hMarkus Mayer2014-07-091-1/+1
| | | | | | | | | | | | | | fs.h defined _FH_H_ rather than _FS_H_ Change-Id: I710ef53e88d3601e486fde9957f6d022871d9602 Signed-off-by: Markus Mayer <code@mmayer.net>
* | am 47050442: am 31132182: am 07703339: Merge "Wait for device to disappear ↵JP Abgrall2014-06-251-0/+1
|\ \ | |/ | | | | | | | | | | after "fastboot reboot"." * commit '4705044243225ffde88910154485a84c27a33709': Wait for device to disappear after "fastboot reboot".
| * Wait for device to disappear after "fastboot reboot".Mark Wachsler2014-06-241-0/+1
| | | | | | | | | | | | | | | | | | | | This is a follow-up to commit 157b00171a06f9ac2fd25ee3a86e801e896713d6. After "fastboot reboot", "fastboot devices" was still showing the device as connected even though it was starting to reboot; now "fastboot reboot" will wait until the device has disconnected. The wait timeout is 3 seconds. Change-Id: I8066741f0be91e53f3e3f5bc968bc1b9de31db05
* | Added support for vendor partition and imageDaniel Rosenberg2014-06-241-2/+5
| | | | | | | | | | | | | | | | Modified fastboot to flash vendor.img as well. Moved symlink for /vendor to occur after mounting partitions. Changed mount to also create the mount point. Change-Id: I78e1ba24e6bb8b4af96a67ee0569af579439e682 Signed-off-by: Daniel Rosenberg <drosen@google.com>
* | Merge "fastboot: Allow searching for needed dynamic libs in '.' (F2FS)"JP Abgrall2014-06-191-1/+1
|\ \
| * | fastboot: Allow searching for needed dynamic libs in '.' (F2FS)JP Abgrall2014-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the default rpath includes $ORIGIN/../lib So we throw in '.' which should help distributions of fastboot. readelf -d $(which fastboot)|grep RPATH 0x0000000f (RPATH) Library rpath: [$ORIGIN/../lib:.] Bug: 15731906 Change-Id: I2f4345d178e5b3c87f6f159faf105ae30f3b52eb Signed-off-by: JP Abgrall <jpa@google.com>
* | | Store libf2fs_fmt_host_dyn on the build server.Ying Wang2014-06-191-2/+6
|/ / | | | | | | | | | | | | It will be dynamically loaded by fastboot. Bug: 15731906 Change-Id: Iff6f2b745b4ffd2c5fe343160b3efb8dcd5702fa