History log of /system/core/fastboot/fastboot.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
015d73ff4e12e0ae3a5c44ed2f69d24cbe7982d3 15-Sep-2014 Daniel Rosenberg <drosen@google.com> fastboot: Remove tos from flashall

bug: 17498561
Change-Id: I0190c1a5ac635375404799c040e4be523fa29622
Signed-off-by: Daniel Rosenberg <drosen@google.com>
/system/core/fastboot/fastboot.c
a42adff905600219cbf5ef217d2b46670225aca3 17-Jul-2014 Jeremy Compostella <jeremy.compostella@intel.com> fastboot: add the support of the second stage image [DO NOT MERGE]

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>
/system/core/fastboot/fastboot.c
fab6ebafa693989a629ec9c662f0ed0668c2c42d 25-Jun-2014 JP Abgrall <jpa@google.com> am 47050442: am 31132182: am 07703339: Merge "Wait for device to disappear after "fastboot reboot"."

* commit '4705044243225ffde88910154485a84c27a33709':
Wait for device to disappear after "fastboot reboot".
f530c93c4aab818de51fd7123199bef6621047f8 28-May-2014 Daniel Rosenberg <drosen@google.com> Added support for vendor partition and image

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>
/system/core/fastboot/fastboot.c
ec25e7bc4bb8c203f89f133136a62a08410d6ceb 24-Jun-2014 Mark Wachsler <wachsler@google.com> Wait for device to disappear after "fastboot reboot".

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
/system/core/fastboot/fastboot.c
cf86e2f85d98ed10cf5e0672e41631f6ea7e3e34 16-May-2014 Ying Wang <wangying@google.com> Fix host 64-bit build.

Bug: 13751317
Change-Id: Ib42d24408d053bacc24142ed18fc5f3181d2345b
/system/core/fastboot/fastboot.c
5957c1ffe79b34d8b1859f9f11644d1007193cbc 30-Apr-2014 Mark Salyzyn <salyzyn@google.com> fastboot: turn on -Werror

- Deal with a missing initializer issue
- Deal with some -Wunused issues
- Deal with some signed/unsigned issues
- switch to usleep from sleep to facilitate win_sdk compile

Change-Id: I64e32a5b0782aeed9582f489e866173c4df1afbf
/system/core/fastboot/fastboot.c
8d7ddb35d510824e50833a9b31ae6486393b1436 08-May-2014 Alexander Levitskiy <sanek@google.com> Revert "System: Fastboot: warning fixit, misc bugs and cleanup."

This reverts commit 782111b3bc5d372afc8d66ab6023e834b7c23b88.

Change-Id: Ib66400dfaeef7f01e6461a57b9f09be08de2f1fe
/system/core/fastboot/fastboot.c
782111b3bc5d372afc8d66ab6023e834b7c23b88 06-May-2014 Sasha Levitskiy <sanek@google.com> System: Fastboot: warning fixit, misc bugs and cleanup.

Change-Id: Ib8517a852977962de3f05c879ba7dce89bcef644
Signed-off-by: Sasha Levitskiy <sanek@google.com>
/system/core/fastboot/fastboot.c
7e85974fc2fc48a0cea7bb9bafcfcda863138eb6 07-May-2014 JP Abgrall <jpa@google.com> fastboot: support for overriding format fs-type and size

This changes allows overriding the fs-type and size that
are normally returned by the booloader.

This is in preparation for supporting other FSes.

Change-Id: I8d141a0d4d14df9fe84d3b131484e9696fcd8870
Signed-off-by: JP Abgrall <jpa@google.com>
/system/core/fastboot/fastboot.c
73a4ad288ffdabfbdac0930737def7fdcf65d07c 29-Apr-2014 Daniel Rosenberg <drosen@google.com> fastboot: Added tos as an optional image

Change-Id: Ibff1f74ee4a949501ceae0b897f896067f022763
Signed-off-by: Daniel Rosenberg <drosen@google.com>
/system/core/fastboot/fastboot.c
82280594ef7e9dc908aa67f3da8661ff54a96c9e 29-Apr-2014 Daniel Rosenberg <drosen@google.com> fastboot: Fixed optional entries

Previously, if an image was listed as optional, but was not found,
flashall would fail. Now it will proceed if optional images are not
present.

Change-Id: Ic82595cf0cd6ddce4c676de590f03f1a95f32040
Signed-off-by: Daniel Rosenberg <drosen@google.com>
/system/core/fastboot/fastboot.c
e6f3e9bd2656fe132f829ed035fdea0cb111369d 12-Mar-2014 Dmitry Grinberg <dmitrygr@google.com> fastboot: allow format on devices with small buffers

Formatting large partitions on devices with small transfer buffers did
not work before since format used a strange path through the code to
send data. It now uses the normal path. Also cleaned up a bit. FS
code now lives in a separate file and the custom path for format is
gone.

Change-Id: If4e01cabc2e250b7c02ca7ce8c268e51d49e1529
/system/core/fastboot/fastboot.c
29fd7b1f4f86e4955cf78156a9de174c5b7233c1 15-Jan-2014 Mohamad Ayyash <mkayyash@google.com> fastboot: Make tags_offset a command line option.

cherry picked from commit bdf513c5f25b3c2051af737c37a7734c4559208e

Change-Id: I4ceca528f88cc8ede5742f8a67bec972e41eebe7
/system/core/fastboot/fastboot.c
66ed50af6870210ce013a5588a688434a5d48ee9 22-Nov-2013 The Android Open Source Project <initial-contribution@android.com> Merge commit '536dea9d61a032e64bbe584a97463c6638ead009' into HEAD

Change-Id: I5c469a4b738629d99d721cad7ded02d6c35f56d5
14e28d39f7f094225c1ddae8fa43bd792c621a8f 29-Oct-2013 Elliott Hughes <enh@google.com> Fix a bunch of small system/core bugs.

Missing frees in:
adb/file_sync_client.c
fastboot/fastboot.c
libsparse/output_file.c

Missing closedirs in:
adb/file_sync_service.c
cpio/mkbootfs.c
libcutils/dir_hash.c

Potential buffer overrun in:
gpttool/gpttool.c

Incorrect NULL check in:
libsparse/backed_block.c

Bug: https://code.google.com/p/android/issues/detail?id=61564
Change-Id: If97838a9e73a77aef7f416c31c237ce1fca4ce21
/system/core/fastboot/fastboot.c
157b00171a06f9ac2fd25ee3a86e801e896713d6 02-Oct-2013 Mark Wachsler <wachsler@google.com> Wait for device to disappear after reboot-bootloader.

(Linux only for now) With fastboot reading serial numbers from sysfs, it had
become possible for a fastboot command issued immediately after rebooting
the bootloader to fail, because sysfs still thought the device was online.
To prevent this, after reboot-bootloader we wait for the device to disconnect.

Also made usb_read and usb_write fail immediately if the descriptor has been
closed; this prevents an incorrect error message ("Bad file descriptor")
when errors from fb_getvar are ignored (e.g., by fb_format_supported).

Also removed unused fd param from filter_usb_device, and simplified logic
in usb_write by using do/while instead of a special case for len == 0.

Change-Id: I799b857eab411fd8ad25f5777fc61c685152ea86
/system/core/fastboot/fastboot.c
622810ceff6d98779171c68391465c7434adeb1d 28-Jun-2013 Rom Lemarchand <romlem@google.com> fastboot: add support for sparse images in flashall and update

Change-Id: I66a73b16a988a65fc91fb22a26d11986025089de
Signed-off-by: Rom Lemarchand <romlem@google.com>
/system/core/fastboot/fastboot.c
c9cce4b981c79d543d2d10d2365e81fb39ad3da9 28-Jun-2013 Rom Lemarchand <romlem@google.com> fastboot: Remove legacy MINGW workarounds

The version of MINGW we compile with has more advanced POSIX support.
Removing legacy MINGW workarounds as those are not needed anymore.

Change-Id: Id5d67176b719db6c3667be6d63c41432e0ba9f30
Signed-off-by: Rom Lemarchand <romlem@google.com>
/system/core/fastboot/fastboot.c
7b8970c577c788c9af582dac797c63b3134b201e 08-Mar-2013 JP Abgrall <jpa@google.com> fastboot: add support for some obscure args.

Some devices use mkbootimg with weird args for which fastboot
only a hardcoded value.

Now fastboot recognizes those args.

Made handling of global vars more consistent.

Bug: 8341331
Change-Id: Ic09f148ccd0249f49935fdc63e517cf8ab2229bc
/system/core/fastboot/fastboot.c
5ee5d389d6cb90b3cd2856730f8ff12211bc95d2 29-Sep-2012 Ken Sumrall <ksumrall@android.com> Update fastboot to wipe ext4 partitions before flashing

To prevent false error reports from e2fsck, update fastboot to erase
a partition identified as being ext4 partition before flashing an image
to it.

bug: 7259359

Change-Id: I85e9963aa8247b4b33fdd57f994cdb3ee72b670f
/system/core/fastboot/fastboot.c
c7b75dcc1aa121574d7677c97ff7d9b4ba91e624 30-Aug-2012 Colin Cross <ccross@android.com> fastboot: move help command before usb connect

Move the help command handling before the call to open_device
so that is doesn't block when no device is connected.

Bug: 7078873
Change-Id: I4e9a4317bd72b4ceb4b9fc838eafd2e57b17a473
/system/core/fastboot/fastboot.c
bb0d0721e6bc5dcedc9bbbac0ea8fa4e57f487ad 20-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 94938c9d: am ed2e672f: Merge "Print strerror for file read errors during flashing"

* commit '94938c9d60d6467ec40df4254beadc50bb787934':
Print strerror for file read errors during flashing
ed2e672f3b929ac49617de11e6530c812b082eb6 20-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Print strerror for file read errors during flashing"
64ba258b7a17fd5f0abd788c1b021ad45ad732b9 08-Dec-2011 Matt Gumbel <matthew.k.gumbel@intel.com> Print strerror for file read errors during flashing

Change-Id: I7390867abd00036f19eb4d1a1ce23aa0aca50674
Signed-off-by: Matt Gumbel <matthew.k.gumbel@intel.com>
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
/system/core/fastboot/fastboot.c
a7a64579c24b6a6dd41105a85a1fd5901f7cdf14 25-Jul-2012 Colin Cross <ccross@android.com> am 36f2e2ac: am 23ee469c: Merge "fastboot: change default sparse limit to disabled"

* commit '36f2e2ac96f8b2163a37773f5cb92cfff75dede2':
fastboot: change default sparse limit to disabled
a2b3ded589759c413c5231a89111e0349e92ec62 25-Jul-2012 Colin Cross <ccross@android.com> am cecc3186: am f650c075: Merge "fastboot: check argc before using argv"

* commit 'cecc3186ca18ddf7a2d43a12353c45a81ab2baca':
fastboot: check argc before using argv
0bbfb3976e9491b3e1a872ebdaa850ef868a24aa 25-Jul-2012 Colin Cross <ccross@android.com> fastboot: change default sparse limit to disabled

Change the default sparse limit to disabled to prevent resparsing files
unless the bootloader or user specifies a sparse limit. Some
bootloaders issue an erase before every flash command, which causes
earlier parts of the downloaded image to get erased.

Change-Id: Iac6f3b05580aba8b82ed0f2f800979a49c33c691
/system/core/fastboot/fastboot.c
8fb6e06ba44b92258bf44110ea5361496257e24e 25-Jul-2012 Colin Cross <ccross@android.com> fastboot: check argc before using argv

"fastboot -w" would segfault because *argv was invalid when no
non-option arguments were specified. Check argc > 0 before
dereferencing argv.

Change-Id: I822a799e6a38e4e5c0a4eca48c6343b8a08a6185
/system/core/fastboot/fastboot.c
9a70e5c33891632c89c9f3f03e30d7183227d661 18-Jul-2012 Colin Cross <ccross@android.com> resolved conflicts for merge of 4d72d881 to master

Change-Id: Ic092d27d3fc2bcc4db8a375bbcb5b86c111bf062
f838788e6a4d57634a53eb597ee76a597feffcb5 25-May-2012 Colin Cross <ccross@android.com> fastboot: add support for auto-resparsing large files

Add support to fastboot for automatically using libsparse to break large
files, whether they are in sparse or normal format, into multiple sparse
files that can each fit into the target's memory. Allows flashing
images that are larger than the size of the available memory on the
target.

By default, any file over 512MB will be sparsed into 512MB chunks. The
limit can be modified with the -m argument, or sparsing can be forced
with -S or avoided with -N. If -m is not specified, the target can
override the default by implementing getvar:max-download-size

Change-Id: I6c59381c3d24475c4f2587ea877200b96971cbd7
/system/core/fastboot/fastboot.c
8879f988bac8d4cb46fb82e3d82ad69a9ed89b16 23-May-2012 Colin Cross <ccross@android.com> fastboot: use getopt_long

Modify the fastboot argument parsing to use getopt_long. This
simplifies argument parsing, and permutes all the commands to the end of
argv to allow parsing them later.

Also moves usb initailization between argument and command processing,
to allow commands to query parameters over usb.

Change-Id: I883572f52c4190c80ee3b4aa4511ea2061a6b734
/system/core/fastboot/fastboot.c
a032dedefe275b1d5a08b9856dfcfcb12579b4a7 06-Jun-2012 JP Abgrall <jpa@google.com> fastboot: Let "fastboot devices" work in all cases

Ignore ANDROID_SERIAL when requesting to list devices, or else it is
impossible to list devices without unsetting the env var. Even
ANDROID_SERIAL= fastboot devices
or
fastboot -s "" devices
won't work.

Change-Id: Ie92f35bda852c6ecea4ebaefb75b8f18c10b6d0c
/system/core/fastboot/fastboot.c
dd32794a29ddd3b630b8eb7f8032c168a13b2cb4 06-Jun-2012 Scott Anderson <saa@android.com> am 866b1bd5: fastboot: Make the format of "devices -l" match adb\'s

* commit '866b1bd5051db4f22b634df1f8a06bc1c9aa2e26':
fastboot: Make the format of "devices -l" match adb's
866b1bd5051db4f22b634df1f8a06bc1c9aa2e26 05-Jun-2012 Scott Anderson <saa@android.com> fastboot: Make the format of "devices -l" match adb's

Change-Id: Iec7b02fee8298a4437d1827623e9f61688a73f42
Signed-off-by: Scott Anderson <saa@android.com>
/system/core/fastboot/fastboot.c
3447b11d3e72bdc7409f63ec76ceba1babe06486 14-May-2012 JP Abgrall <jpa@google.com> am 177a74ac: am c1f88106: Merge "fastboot: Change -w to format after the erase of userdata & cache" into jb-dev

* commit '177a74aced971b89c319fb61ee12da0ca40f0c12':
fastboot: Change -w to format after the erase of userdata & cache
30ae5806e920cb824d019defd856068f09dd0db6 08-May-2012 JP Abgrall <jpa@google.com> fastboot: Change -w to format after the erase of userdata & cache

If the bootloader doesn't support formatting of those partitions
(either because it doesn't support the getvar commands needed or
the partition type is not supported), the errors are printed but
doesn't halt processing of subsequent commands.

Change-Id: I816ac2e5e7593846fcb4fd39c793a8dbdd996f6f
Signed-off-by: Mike J. Chen <mjchen@google.com>
/system/core/fastboot/fastboot.c
a61bcad58ba1f7359183a333ee58303ed67e4a2f 02-May-2012 Scott Anderson <saa@android.com> resolved conflicts for merge of 13081c69 to master

Change-Id: I631e466fc53e9b0f4a39f24f959b4ae9b626bdda
13081c6915220db03886b177f1a8e0b2c63467c9 06-Apr-2012 Scott Anderson <saa@android.com> fastboot: Add ability to specify device path

For manufacturing and testing, there is a need to talk to
whatever device is connected to a given port on the host. This
change modifies fastboot's "-s" option to take either a serial
number or a device path. The device paths of the connected
devices can be listed using "fastboot -l devices" whose output
will resemble:

016B75D60A00600D usb:2-5 fastboot
AD3C12020173 usb:1-4.3 fastboot

The second column lists the device paths. If the -l option is
not given, the output from "fastboot devices" will be the same as
it used to be (i.e. the paths will not be printed).

Finally, note that the format of the device paths are platform
dependent. The example above is from Linux. On OS-X, the paths
will be "usb:" followed by hex digits. For Windows, the device
paths will be printed as "????????????" and the -s option will
not be able to select a device until someone implements the
underlying functionality in usb_windows.c.

Change-Id: I1f01b8f47acd32edb0ac18db107316a2c923bbde
Signed-off-by: Scott Anderson <saa@android.com>
/system/core/fastboot/fastboot.c
c4ddca25e0a1b60453c7fe7b4b73a412d4a940eb 27-Feb-2012 Ramanan Rajeswaran <ramanan@google.com> am f1ab88c2: am 73c019b3: Add asus vendor id

* commit 'f1ab88c23460a608cd6d6f6492fb2b039405c0f2':
Add asus vendor id
f1ab88c23460a608cd6d6f6492fb2b039405c0f2 27-Feb-2012 Ramanan Rajeswaran <ramanan@google.com> am 73c019b3: Add asus vendor id

* commit '73c019b30a7c70c50d2a854982143d5eb8c74f8c':
Add asus vendor id
73c019b30a7c70c50d2a854982143d5eb8c74f8c 24-Feb-2012 Ramanan Rajeswaran <ramanan@google.com> Add asus vendor id

Change-Id: I6d10b1788903aba526af7f654b12c302c3e9fc89
/system/core/fastboot/fastboot.c
c8ba5366da7e23ebf1cd76bcf49449b878563102 16-Dec-2011 Anatol Pomazau <anatol@google.com> Implement 'fastboot format' command

Some filesystems (e.g. ext4) require flushing an initial
fs image, right after erasing it the partition is unusable.

Doing erase,flush emptyfs is a little bit scaring so we have a
separate command that performs it as atomic step:

- get size of partition
- create an empty filesystem image
- erase the partition
- flush empty fs to the partition

This command applicable only for ext4 filesystem and checks the
partition type before formatting it.

Change-Id: I8529bc3485739487f0d91312f7c0ab1a6e5d8b44
/system/core/fastboot/fastboot.c
714052ba4d86a2d411a3944f5034c5a5833ffbb6 05-Feb-2012 Mike J. Chen <mjchen@google.com> DO NOT MERGE

fastboot: Change -w to format after the erase of userdata & cache

If the bootloader doesn't support formatting of those partitions
(either because it doesn't support the getvar commands needed or
the partition type is not supported), the errors are printed but
doesn't halt processing of subsequent commands.

Change-Id: I816ac2e5e7593846fcb4fd39c793a8dbdd996f6f
Signed-off-by: Mike J. Chen <mjchen@google.com>
/system/core/fastboot/fastboot.c
ca2074b78d44ce5fb60fae64da84e53c2b82cb8a 13-Feb-2012 Mike Lockwood <lockwood@google.com> Revert "Implement 'fastboot format' command"

until Windows support is done

This reverts commit 452e11885afb53d59b2aa38b15e3be41c568d1e6.
/system/core/fastboot/fastboot.c
452e11885afb53d59b2aa38b15e3be41c568d1e6 16-Dec-2011 Anatol Pomazau <anatol@google.com> Implement 'fastboot format' command

Some filesystems (e.g. ext4) require flushing an initial
fs image, right after erasing it the partition is unusable.

Doing erase,flush emptyfs is a little bit scaring so we have a
separate command that performs it as atomic step:

- get size of partition
- create an empty filesystem image
- erase the partition
- flush empty fs to the partition

This command applicable only for ext4 filesystem and checks the
partition type before formatting it.

Change-Id: Ifa42deaa66c3cb96ff786a73c3fadad92658f395
/system/core/fastboot/fastboot.c
6f53225ef9f60a18a69b4ad3ba920ada168b719e 04-Feb-2012 Anatol Pomazau <anatol@google.com> Revert "Implement 'fastboot format' command"

This reverts commit 230d160a718333651f7ca1557404f96682795b37
/system/core/fastboot/fastboot.c
230d160a718333651f7ca1557404f96682795b37 16-Dec-2011 Anatol Pomazau <anatol@google.com> Implement 'fastboot format' command

Some filesystems (e.g. ext4) require flushing an initial
fs image, right after erasing it the partition is unusable.

Doing erase,flush emptyfs is a little bit scaring so we have a
separate command that performs it as atomic step:

- get size of partition
- create an empty filesystem image
- erase the partition
- flush empty fs to the partition

This command applicable only for ext4 filesystem and checks the
partition type before formatting it.

Change-Id: I8529bc1dc64237f1f0d91312f7c0ab1a6e5d8b44
/system/core/fastboot/fastboot.c
21311f87c60bb75588e12227e7c0b9812e751b4a 03-Feb-2012 Anatol Pomazau <anatol@google.com> Revert "Implement 'fastboot format' command"

This reverts commit 049dff53ef368bd84d0bddcb4c91f408774949c1
/system/core/fastboot/fastboot.c
65cf84f3ff959eec0c97229489d58279feaf3bcb 16-Dec-2011 Anatol Pomazau <anatol@google.com> Implement 'fastboot format' command

Some filesystems (e.g. ext4) require flushing an initial
fs image, right after erasing it the partition is unusable.

Doing erase,flush emptyfs is a little bit scaring so we have a
separate command that performs it as atomic step:

- get size of partition
- create an empty filesystem image
- erase the partition
- flush empty fs to the partition

This command applicable only for ext4 filesystem and checks the
partition type before formatting it.

Change-Id: I8529bc1dc64698f1f0d91312f7c0ab1a6e5d8b44
/system/core/fastboot/fastboot.c
049dff53ef368bd84d0bddcb4c91f408774949c1 16-Dec-2011 Anatol Pomazau <anatol@google.com> Implement 'fastboot format' command

Some filesystems (e.g. ext4) require flushing an initial
fs image, right after erasing it the partition is unusable.

Doing erase,flush emptyfs is a little bit scaring so we have a
separate command that performs it as atomic step:

- get size of partition
- create an empty filesystem image
- erase the partition
- flush empty fs to the partition

This command applicable only for ext4 filesystem and checks the
partition type before formatting it.

Change-Id: I8529bc1dc64698f1f0d91312f7c0ab1a6e5d8b44
/system/core/fastboot/fastboot.c
46f86f11d446a650602057f8a07eba1f609d7fe9 24-Jan-2012 Xavier Ducrohet <xav@android.com> am 0c054095: am 746f3243: Add USB vendor IDs for Quanta, INQ and Sony.

* commit '0c05409510037fd7372c3fe7ab240ebf33b15831':
Add USB vendor IDs for Quanta, INQ and Sony.
0c05409510037fd7372c3fe7ab240ebf33b15831 24-Jan-2012 Xavier Ducrohet <xav@android.com> am 746f3243: Add USB vendor IDs for Quanta, INQ and Sony.

* commit '746f3243f6d30ab51a36dcfea76eac3ba29ac625':
Add USB vendor IDs for Quanta, INQ and Sony.
746f3243f6d30ab51a36dcfea76eac3ba29ac625 14-Jan-2012 Xavier Ducrohet <xav@android.com> Add USB vendor IDs for Quanta, INQ and Sony.

Change-Id: I224e067d9a64e8e9e7afbad0760a4b07f965bf83
/system/core/fastboot/fastboot.c
38412163da933664791cf511056953b9e3bd1454 24-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am 70580b20: am 149ae11f: Merge "adb,fastboot: add USB support for Intel Vendor ID"

* commit '70580b20bc8485002df0b3e89e42754c8c9796ff':
adb,fastboot: add USB support for Intel Vendor ID
f60e8638282d66c108f1e1dea030856312f65892 17-Jan-2012 Wu, Hao <hao.wu@intel.com> adb,fastboot: add USB support for Intel Vendor ID

This patch adds Intel USB Vendor ID into the support
list for adb and fastboot.

Signed-off-by: Wu, Hao <hao.wu@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
/system/core/fastboot/fastboot.c
d7608a40d6bed0d8ca686414a5a4f44b6d4d0435 30-Sep-2011 Jean-Baptiste Queru <jbq@google.com> Flash cache partition with cache.img by default.

Bug: 5153694
Change-Id: If322d13286e9b0f14877d1a4f03f6bd288ee71f3
/system/core/fastboot/fastboot.c
b98762f7824c291dc5d9a9b757af434ef31d8c81 05-Apr-2011 Wink Saville <wink@google.com> Teach fastboot to allow required variables per product.

This is needed for products like xoom-cdma and xoom-cdma-lte.
The xoom-cdma-lte product requires an lte baseband binary but
it's not needed for xoom-cdma.

This is implemented by allowing an optional product parameter
to "required" statements. The parameter is separated from
"required" by a colon so the version-baseband-2 requirment in
board-info.txt for stingray becomes:

require-for-product:xoom-cdma-lte version-baseband-2=ltedc_u_03.25.00|ltedc_u_03.19.00

In the above statement, only xoom-cdma-lte requires version-baseband-2
and the baseband can be lte_u_03.25.00 or lte_u_03.19.00. For other
products version-baseband-2 will be ignored.


Change-Id: I786bec5f5661c2243d87925b064fc6124d3cffa1
/system/core/fastboot/fastboot.c
2d13d1408bef9e26cc418e6fc2579dfd12378a3c 02-Mar-2011 JP Abgrall <jpa@google.com> fastboot: fix arg handling causing no-op.

Change-Id: I89d4a6d14e542d8f2d7832d94b0a7cee6eb88305
/system/core/fastboot/fastboot.c
ee52055ae5eeb951bb4805bd8aa57d63718e1ce7 26-Feb-2011 Tsu Chiang Chuang <tsu@google.com> Add explicit 'help' command to fastboot.

Change-Id: I350feab372e105755509c81604d57b2de1a69163
/system/core/fastboot/fastboot.c
512405a421fa69a7a003854d9270cd109b026267 30-Dec-2010 Jean-Baptiste Queru <jbq@google.com> am f1c2a735: Merge "fastboot: Add help message for continue command"

* commit 'f1c2a7352f19cf729f91bf2559fc93ef12c74dca':
fastboot: Add help message for continue command
24ce4bc8d7c4706286ef0530870dea80a1a0cd11 14-Oct-2010 Bruce Beare <bruce.j.beare@intel.com> fastboot: Add help message for continue command

Change-Id: I578b1b7c2d74d09d44ce9100bfe582aaa25c31b1
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
/system/core/fastboot/fastboot.c
c09b7cf1c96d007b35cfa47f464156bf628107de 14-May-2010 Dima Zavin <dima@android.com> am 509f7399: fastboot: Add more vendor usb ids
509f7399b8f246f506307b22039e63323ec09622 14-May-2010 Dima Zavin <dima@android.com> fastboot: Add more vendor usb ids

Change-Id: Ied48302b50412f27dcf49d40913e4b900f3bd153
Signed-off-by: Dima Zavin <dima@android.com>
/system/core/fastboot/fastboot.c
eb31c0bdc0eac0898f01cdc1737cea94269f8f27 23-Apr-2010 Brian Carlstrom <bdc@google.com> fastboot should return non-zero exit code on error

When using fastboot in scripts, it currently is necessary to parse the
output for FAILED messages and possible other indications of
error. This happens relatively often, for example when there are radio
update issues. Fortunately, fb_execute_queue already has a notion that
an error has occured which is used to abort the queue execution.

This change makes the status value be returned from fb_execute_queue
to main which can then return it as an exit status. usage cases were
also changed to return 1.

Note the code already returned 1 for error in one other case when
there was a problem with boot, so there is a precedent for return 1 on
error in this program.

Change-Id: Ib0463b08c8f2569495e248dd84e331f7e3691039
/system/core/fastboot/fastboot.c
931175a1c5f01f57781c9fcf64beade6ed5148ff 13-Feb-2010 Dima Zavin <dima@android.com> fastboot: add nand page size param, used for boot and flash:raw commands

Change-Id: I07451363f4d4ac8665598722491968e6ee0953ee
Signed-off-by: Dima Zavin <dima@android.com>
/system/core/fastboot/fastboot.c
2f3d96ee5b6ba43b49d0e08c75b9a74b05f37b8b 28-Jan-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 20f410a4 to master

Change-Id: I187f29848c223c8c548323e0fa20ea0f3b8a3909
20f410a41890113de126680518c13cdab359c66d 22-Jan-2010 Android Git Automerger <android-git-automerger@android.com> resolved simple conflict with dc9cf66c
af82f21df7b87af2b378a46c8f338ebdd9c66175 22-Jan-2010 Xavier Ducrohet <xav@android.com> Add Dell's vendor ID to fastboot.

Change-Id: I1d88d2a8b3f5c0a9bade2a207b5d9c5a0b776655
/system/core/fastboot/fastboot.c
37e9e904360d6a8757c958dacaab1343eacb7fa8 21-Jan-2010 Erik Gilling <konkers@android.com> fastboot: add Nvidia vendor id to fastboot

Signed-off-by: Erik Gilling <konkers@android.com>
/system/core/fastboot/fastboot.c
c923980e785c533e41e403e9644368643dbac952 09-Nov-2009 Jean-Baptiste Queru <jbq@google.com> am ef063fe3: merge from open-source master

Merge commit 'ef063fe3066153dab5389b6baba6cb4e36888106'

* commit 'ef063fe3066153dab5389b6baba6cb4e36888106':
Add support for Acer devices
FreeBSD support for usb-connected devices in adb
Make get_my_path() safer
Fix use of memset function
ef063fe3066153dab5389b6baba6cb4e36888106 09-Nov-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master
436db2e382f0cf47bf3255783c12f35e5750cdf7 09-Nov-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master
e25ff1c682ae5cc87af5e76de7e31a2702b620f3 21-Sep-2009 Robert CH Chou <Robert_CH_Chou@acer.com.tw> Add support for Acer devices
/system/core/fastboot/fastboot.c
31dbed7b60d8237d6d05dc6bf230167a5854b77a 08-Oct-2009 Elliott Hughes <enh@google.com> Add adb's ANDROID_SERIAL to fastboot too.

We noticed this when trying to script on-device testing for the dalvik
continuous build.

Also fix a typo in adb's help.
/system/core/fastboot/fastboot.c
b4add9b74525210478bac702d27fdaf9cf7ab18f 07-Oct-2009 Elliott Hughes <enh@google.com> Make fastboot say "no permissions" for non-writable devices.

Without this patch, "adb devices" will say "no permissions" when it sees
a device it can't write to, but "fastboot devices" will silently ignore it.
This is confusing to n00bs, especially since it doesn't seem to be widely
known that a device's USB id might be different in the bootloader (meaning
two udev rules are needed). It can also be confusing if you're sshed in,
when you can't access the device because you won't be in the "plugdev"
group, but "fastboot devices" won't make this clear.

I'm not sure about the Mac OS and Windows changes. AIUI, devices are always
writable on those platforms, but I don't use either, so I can't test this.
This patch shouldn't alter the behavior on either of those platforms.
/system/core/fastboot/fastboot.c
09070d9e8685645f4ca8ecca62ae489472aed646 05-Aug-2009 Mike Lockwood <lockwood@android.com> fastboot: Add support for Motorola USB vendor ID.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/fastboot/fastboot.c
95ec983887867a117f4ef87073495111aff4a506 01-May-2009 Dima Zavin <dima@android.com> fastboot: Update the help message with -b argument

Signed-off-by: Dima Zavin <dima@android.com>
/system/core/fastboot/fastboot.c
2a63bb7abf1b27a7a2e8fd5951d77f71a2f290d4 29-Apr-2009 Brian Swetland <swetland@google.com> fastboot, mkbootimg: support alternate base addresses

Add the --base flag to mkbootimg and -b flag to fastboot, to allow
the default kernel base address (0x10000000) to be changed.

Signed-off-by: Brian Swetland <swetland@google.com>
/system/core/fastboot/fastboot.c
f614d64d4b4dfcd20c77ac3ccf2d9c9090a49303 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
/system/core/fastboot/fastboot.c
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/fastboot/fastboot.c
e54eebbf1a908d65ee8cf80bab62821c05666d70 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/fastboot/fastboot.c
13f797da7f190e9ea52f2f3d235210b8a4963b21 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/system/core/fastboot/fastboot.c
35237d135807af84bf9b0e5b8d7f8633e58db6f5 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/system/core/fastboot/fastboot.c
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/system/core/fastboot/fastboot.c