android_bootable_recovery/mtdutils
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
bml_over_mtd.c bml_over_mtd: Take care of bad blocks on "boot" partition for Samsung Galaxy S Phones. 2011-04-25 11:16:41 -07:00
mtdutils.c Merge from ClockworkMod recovery 2010-12-18 17:42:31 -08:00
mtdutils.h Merge from ClockworkMod recovery 2010-12-18 17:42:31 -08:00