summaryrefslogtreecommitdiffstats
path: root/fastboot/fastboot.c
Commit message (Collapse)AuthorAgeFilesLines
* Teach fastboot to allow required variables per product.Wink Saville2011-04-041-1/+16
| | | | | | | | | | | | | | | | | | | | 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
* fastboot: fix arg handling causing no-op.JP Abgrall2011-03-011-1/+1
| | | | Change-Id: I89d4a6d14e542d8f2d7832d94b0a7cee6eb88305
* Add explicit 'help' command to fastboot.Tsu Chiang Chuang2011-02-251-23/+29
| | | | Change-Id: I350feab372e105755509c81604d57b2de1a69163
* am f1c2a735: Merge "fastboot: Add help message for continue command"Jean-Baptiste Queru2010-12-291-0/+1
|\ | | | | | | | | * commit 'f1c2a7352f19cf729f91bf2559fc93ef12c74dca': fastboot: Add help message for continue command
| * fastboot: Add help message for continue commandBruce Beare2010-12-291-0/+1
| | | | | | | | | | Change-Id: I578b1b7c2d74d09d44ce9100bfe582aaa25c31b1 Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
* | am 509f7399: fastboot: Add more vendor usb idsDima Zavin2010-05-141-0/+2
|\|
| * fastboot: Add more vendor usb idsDima Zavin2010-05-141-0/+2
| | | | | | | | | | Change-Id: Ied48302b50412f27dcf49d40913e4b900f3bd153 Signed-off-by: Dima Zavin <dima@android.com>
* | fastboot should return non-zero exit code on errorBrian Carlstrom2010-04-231-3/+5
|/ | | | | | | | | | | | | | | | | | 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
* fastboot: add nand page size param, used for boot and flash:raw commandsDima Zavin2010-02-161-4/+11
| | | | | Change-Id: I07451363f4d4ac8665598722491968e6ee0953ee Signed-off-by: Dima Zavin <dima@android.com>
* resolved conflicts for merge of 20f410a4 to masterJean-Baptiste Queru2010-01-281-0/+1
|\ | | | | | | Change-Id: I187f29848c223c8c548323e0fa20ea0f3b8a3909
| * resolved simple conflict with dc9cf66cAndroid Git Automerger2010-01-211-0/+1
| |\
| | * Add Dell's vendor ID to fastboot.Xavier Ducrohet2010-01-211-0/+1
| | | | | | | | | | | | Change-Id: I1d88d2a8b3f5c0a9bade2a207b5d9c5a0b776655
| * | merge from open-source masterJean-Baptiste Queru2009-11-081-0/+1
| |\ \ | | |/ | |/|
* | | fastboot: add Nvidia vendor id to fastbootErik Gilling2010-01-201-0/+1
| | | | | | | | | | | | Signed-off-by: Erik Gilling <konkers@android.com>
* | | am ef063fe3: merge from open-source masterJean-Baptiste Queru2009-11-091-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * \ \ merge from open-source masterJean-Baptiste Queru2009-11-091-0/+1
| |\ \ \ | | |/ / | |/| / | | |/
| | * Add support for Acer devicesRobert CH Chou2009-11-031-0/+1
| | |
* | | Add adb's ANDROID_SERIAL to fastboot too.Elliott Hughes2009-10-071-0/+2
| | | | | | | | | | | | | | | | | | | | | We noticed this when trying to script on-device testing for the dalvik continuous build. Also fix a typo in adb's help.
* | | Make fastboot say "no permissions" for non-writable devices.Elliott Hughes2009-10-061-0/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* / fastboot: Add support for Motorola USB vendor ID.Mike Lockwood2009-08-051-2/+4
|/ | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* fastboot: Update the help message with -b argumentDima Zavin2009-04-301-0/+1
| | | | Signed-off-by: Dima Zavin <dima@android.com>
* fastboot, mkbootimg: support alternate base addressesBrian Swetland2009-04-281-1/+15
| | | | | | | 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>
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-181-0/+1
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+673
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-673/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-1/+4
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-1/+14
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+657