History log of /system/core/fastboot/fastboot.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
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
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
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