aboutsummaryrefslogtreecommitdiffstats
path: root/flashutils
Commit message (Collapse)AuthorAgeFilesLines
* recovery: fix build on x86Emilio López2012-11-101-2/+0
| | | | | | Recovery fails to build for x86 targets without these Change-Id: Ib40d61a15ef8c3e23c6f667c0d13f744213b34fa
* Fix build on gcc 4.6.Evan McClain2012-05-181-3/+3
| | | | | | | | Several programs were not linked against libcrecovery which has the __system function. Change-Id: I12b33a9157ab74825129896d0f2177fa83638464 Signed-off-by: Evan McClain <aeroevan@gmail.com>
* Fix up the autoinclusion rules for the recoveryimage target.Koushik Dutta2011-11-271-11/+12
|
* Support overriding of the bml partition used for boot and recovery. This is ↵Koushik Dutta2011-07-072-1/+18
| | | | | | not ideal, because that means that there are different flash_image binaries for different samsung phones. But as far as I know, there is no way to find out which bml device is boot or recovery. Change-Id: I5e3b83dd9267a275def003182c1bd5d2cf585896
* tar nandroid and /data/media support.Koushik Dutta2011-06-083-44/+1
| | | | Change-Id: I9405e701887fc83c422c63c1dbf5ff087fff880d
* remove logging, fix bugKoushik Dutta2011-05-301-1/+1
| | | | Change-Id: Ie300222a3754a1ed7de5851a2298526a416da5d3
* remove logging, fix bugKoushik Dutta2011-05-301-6/+1
| | | | Change-Id: Ia7d0f5e7cdf64235bb2142d9143fff3f289ad605
* more loggingKoushik Dutta2011-05-261-0/+2
| | | | Change-Id: I2f5f37751f16c8b50f5c3ccf1eb56b9b52f44c6b
* fix formattingKoushik Dutta2011-05-262-6/+13
| | | | Change-Id: Ic6162e5044b50544fab2d5aa83e1e22f373419d7
* fix up some implicit declarationsKoushik Dutta2011-05-262-0/+2
| | | | Change-Id: Ia98bb5bea04a9cb87bf1993687e7f91f46022509
* testKoushik Dutta2011-05-265-16/+28
| | | | Change-Id: I25bd6846aea09247459c89ba98e6ac34c3debaa3
* bml_over_mtd: Take care of bad blocks on "boot" partition for Samsung Galaxy ↵codeworkx2011-04-251-1/+0
| | | | | | | | | | | | | S Phones. The Samsung Galaxy S bootloader apparently expects the kernel to be flashed to BML-managed flash - bad erase blocks will be mapped from a reservoir area. CWM however just skips bad blocks, the usual procedure for mtd-accessed flash. Consequently, the bootloader sees a corrupt zImage, and will usually crash when the kernel initializes. This of course will only happen when the "boot" partition has bad blocks. This patch was written by "eifert" and adds a tool called "bml_over_mtd" for flashing boot images which takes care of bad blocks and maps them to a reservoir area, like BML does. Change-Id: If570717a19b879d47d70d937a0751cd85853eacd
* bml fixesKoushik Dutta2011-04-221-2/+3
| | | | Change-Id: I442ef3c155bab36db578ca5735215aedda353c29
* Revert "allow precise device detection"Koushik Dutta2011-04-175-25/+16
| | | | This reverts commit ed7d296dfabd9d0297514518f41ead36130302e7.
* allow precise device detectionKoushik Dutta2011-04-165-16/+25
| | | | Change-Id: Ie837500d459c95df0b1a5f849b3eba718cf8cf09
* fix erroneous detection of device flash type when device is explicitly ↵Koushik Dutta2011-03-171-5/+17
| | | | | | provided. fix bugs in mount generation. Change-Id: I54a35390550b1384f12c4b12267029d77bef8fa3
* Merge from ClockworkMod recoveryKoushik Dutta2010-12-181-0/+7
| | | | Change-Id: Id5b312147173ced559a62d97029acede6c2f8766
* Fix write_raw_image on mtd devices.Koushik Dutta2010-12-132-8/+13
| | | | Change-Id: I0fa64d4f4deaf8f067be3bd0b0bb963cf5af3f3f
* fix up bmlutils some moreKoushik Dutta2010-12-121-1/+4
| | | | Change-Id: Ia11e917a6c0dc8164d599e02154f9f7b2934ed65
* recovery: Autodetection of device flash typeSteve Kondik2010-11-143-8/+215
| | | | | | | | Detect flash type at runtime rather than requiring this to be set in the device configuration. The detection is based on the existence of /proc/mtd, /proc/emmc, or /dev/block/bml1. Change-Id: I464962a567022c5862c249f06d36c2d1cddeacba
* Refactor recovery's block device handling to work across variant hardware in ↵Koushik Dutta2010-11-105-0/+494
a cleaner fashion. Re add firmware update Change-Id: I699ad22390ed14e597d17a7bcb32ad1b1af00b4b support mmc misc Change-Id: Iff02f8d03db6835f501d052140cebeefee521305 fix compile errors Change-Id: I032edbd157a8a15f561bb83330c715ebaa008d18 fix compile errors Change-Id: Idff3449be3376f22fceefc2c35637527f8df8f3f Initial work to clean up the block devices. Change-Id: I4be20ac124864a281be9cd116e211a2618404a27 all done Change-Id: I0338f62f6a045556ebe90b0200685be113178319 fix up nandroid Change-Id: I886f00271183e6d2921c080b0939341f2cf12a4d