summaryrefslogtreecommitdiffstats
path: root/fastboot/engine.c
Commit message (Collapse)AuthorAgeFilesLines
* Teach fastboot to allow required variables per product.Wink Saville2011-04-041-1/+33
| | | | | | | | | | | | | | | | | | | | 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
* am 42b871f1: am c37ba1c9: Merge "Check fastboot oem command line length"Jean-Baptiste Queru2010-07-291-1/+7
|\ | | | | | | | | | | | | Merge commit '42b871f1bfc116d53d1bff9d7497415494b2e0e0' * commit '42b871f1bfc116d53d1bff9d7497415494b2e0e0': Check fastboot oem command line length
| * am c37ba1c9: Merge "Check fastboot oem command line length"Jean-Baptiste Queru2010-07-291-1/+7
| |\ | | | | | | | | | | | | | | | | | | Merge commit 'c37ba1c916d73fbf35c6faba1e252e2916d2d41d' into gingerbread-plus-aosp * commit 'c37ba1c916d73fbf35c6faba1e252e2916d2d41d': Check fastboot oem command line length
| | * Check fastboot oem command line lengthBruce Beare2010-07-151-1/+7
| | | | | | | | | | | | | | | Change-Id: I301af09c4ec460c9049b75cc7f4d2c50cfe00ceb Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
* | | am beb72464: am 63e5205c: fastboot: make it so I can actually see the ↵Brian Swetland2010-07-131-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | bootloader chatter Merge commit 'beb72464ff8c501597cd7e098090f7d131dc5ccb' * commit 'beb72464ff8c501597cd7e098090f7d131dc5ccb': fastboot: make it so I can actually see the bootloader chatter
| * | fastboot: make it so I can actually see the bootloader chatterBrian Swetland2010-07-011-1/+2
| |/ | | | | | | | | | | | | | | - prefix bootloader messages with (bootloader) - remove the fancy right justified no newline business Change-Id: Ica16ebe6a25971db423c5db06300a280d93faf3e Signed-off-by: Brian Swetland <swetland@google.com>
* / fastboot should return non-zero exit code on errorBrian Carlstrom2010-04-231-3/+3
|/ | | | | | | | | | | | | | | | | | 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
* Add wall-clock timing for each fastboot Action.Daniel Sandler2010-02-251-3/+25
| | | | | | (For diagnosing slow flashes.) Change-Id: Ibbcbd080db551c8590ca8bfe50e9ddb45eea5661
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+289
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-289/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+289