android_bootable_recovery/flashutils
codeworkx 9c4c8e2c66 bml_over_mtd: Take care of bad blocks on "boot" partition for Samsung Galaxy 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
2011-04-25 11:16:41 -07:00
..
Android.mk bml_over_mtd: Take care of bad blocks on "boot" partition for Samsung Galaxy S Phones. 2011-04-25 11:16:41 -07:00
dump_image.c Revert "allow precise device detection" 2011-04-17 00:49:15 -07:00
erase_image.c Revert "allow precise device detection" 2011-04-17 00:49:15 -07:00
flash_image.c Revert "allow precise device detection" 2011-04-17 00:49:15 -07:00
flashutils.c bml fixes 2011-04-22 12:12:32 -07:00
flashutils.h Revert "allow precise device detection" 2011-04-17 00:49:15 -07:00