summaryrefslogtreecommitdiffstats
path: root/fastboot
Commit message (Collapse)AuthorAgeFilesLines
* Teach fastboot to allow required variables per product.Wink Saville2011-04-043-3/+55
| | | | | | | | | | | | | | | | | | | | 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>
* | dist for dist_filesYing Wang2010-12-091-1/+1
| | | | | | | | Change-Id: I665572a2212f1239b02b7816e37ada210afbdb48
* | 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>
* | | Allow OSX fastboot to work with more devices.Nick Pelly2010-07-221-4/+2
| | | | | | | | | | | | | | | | | | | | | ClearPipeStallBothEnds() appears to fail on some devices, but if we ignore that error then fastboot does work. So ignore the error. Change-Id: Ic866ece28a57c081e34079e1a032fa8155301ddf
* | | am beb72464: am 63e5205c: fastboot: make it so I can actually see the ↵Brian Swetland2010-07-132-2/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | 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-012-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | - prefix bootloader messages with (bootloader) - remove the fancy right justified no newline business Change-Id: Ica16ebe6a25971db423c5db06300a280d93faf3e Signed-off-by: Brian Swetland <swetland@google.com>
* | | am a8c74049: am 931bdcc0: Set explicit timeout on USB control transferWerner Johansson2010-06-301-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'a8c7404956b4370162a87ae09b851266a4933b54' * commit 'a8c7404956b4370162a87ae09b851266a4933b54': Set explicit timeout on USB control transfer
| * | Set explicit timeout on USB control transferWerner Johansson2010-06-301-0/+1
| | | | | | | | | | | | | | | This attempts to solve the intermittent issues with serial number showing up as all question marks when issuing "fastboot devices"
* | | am dc594284: Merge "Fix kernel panics in fastboot on OS X." into krakenJeff Brown2010-05-211-1/+22
|\ \ \ | |/ /
| * | Fix kernel panics in fastboot on OS X.Jeff Brown2010-05-211-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The kernel panic seems to be related to the driver trying to allocate too many pages from the IO mapper. That may be caused by the fact that we try to perform a 100+ MiB transfer in a single IO operation. This change breaks the transfer down into 1 MiB chunks. So far after a day of testing, no kernel panics have occurred compared to 5 in the previous 24 hours! Change-Id: I8d27a546e0c0bf4fe2f0fc7fcad65a88d3e6bee0
* | | 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>
| * Fix adb, fastboot to compile in Windows SDK under Linux.Raphael2010-04-231-2/+9
| | | | | | | | | | | | (Merged from master Change I3d0e4cab) Change-Id: Ib3fd566bdaf09d5893a6b0c66168c76c6b0d92eb
* | fastboot should return non-zero exit code on errorBrian Carlstrom2010-04-233-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix adb, fastboot to compile in Windows SDK under Linux.Raphael2010-04-131-2/+9
|/ | | | Change-Id: I3d0e4cabd65d9de17036901a22ec3277a6d58e64
* Add wall-clock timing for each fastboot Action.Daniel Sandler2010-02-251-3/+25
| | | | | | (For diagnosing slow flashes.) Change-Id: Ibbcbd080db551c8590ca8bfe50e9ddb45eea5661
* 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
| | |
| | * get rid of utils/executablepath.h, which now lives in the simulatorMathias Agopian2009-08-261-1/+0
| | |
* | | Merge change I31dbed7bAndroid (Google) Code Review2009-10-081-0/+2
|\ \ \ | | | | | | | | | | | | | | | | * changes: Add adb's ANDROID_SERIAL to fastboot too.
| * | | 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.
* | | | Fix flashstation breakage.Elliott Hughes2009-10-071-1/+2
|/ / / | | | | | | | | | We need to reset 'writable' each time round the loop (i.e. for each device).
* | | Make fastboot say "no permissions" for non-writable devices.Elliott Hughes2009-10-065-8/+20
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | 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 retry to USB read call.Dan Murphy2009-08-191-11/+17
| | | | | | | | | | | | | | | | | | | | | | If the USB connection to the device is reset but is still there the code should retry to re-connect the device and continue. This is a short term fix for a bootloader issue. We should revisit and look for a better solution. Signed-off-by: Dan Murphy <D.Murphy@motorola.com> Signed-off-by: Mike Lockwood <lockwood@android.com>
* | fastboot: Add support for Motorola USB vendor ID.Mike Lockwood2009-08-051-2/+4
| | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* | get rid of utils/executablepath.h, which now lives in the simulatorMathias Agopian2009-05-311-1/+0
|/
* 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-282-10/+23
| | | | | | | 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-0318-0/+3140
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0318-3140/+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-172-2/+15
|
* Initial ContributionThe Android Open Source Project2008-10-2118-0/+3124