From 02d3dd24907604e7f61f1baa15d3662c42b437fa Mon Sep 17 00:00:00 2001 From: Andrew Dodd Date: Sun, 10 Jun 2012 21:30:46 -0400 Subject: n7000: Set BOARD_SUPPRESS_EMMC_WIPE Nearly all N7000 units have a defective Samsung eMMC chip (VYL00M fwrev 0x19) that cannot handle MMC ERASE commands. This is the cause of rampant bricking of devices seen on XDA, especially since the shipment of official ICS releases like XXLPY. While our kernel currently blocks ERASE commands making this redundant, it's best to be doubly safe. Also, this should disable ERASE functionality in our updater-scripts, rendering them safe to flash even on "dangerous" kernels. (This needs testing to be sure.) Change-Id: Ice6e747faa7b715c3a2d8e28d962588d8436b174 --- BoardConfig.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/BoardConfig.mk b/BoardConfig.mk index d9f6ff6..e5f98ee 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -140,6 +140,13 @@ BOARD_CHARGER_RES := device/samsung/galaxys2/res/charger # assert, galaxynote needs to be removed later TARGET_OTA_ASSERT_DEVICE := galaxynote,n7000,GT-N7000 +# Nearly all shipped N7000 devices have defective eMMC chips (VYL00M fwrev 0x19) +# Prevent usage of ERASE commands in recovery on these boards. +# This is redundant for our recovery since the kernel has MMC_CAP_ERASE +# disabled for mshci.c, however it makes nightly ZIPs safer to flash +# from kernels that still have MMC_CAP_ERASE enabled. +BOARD_SUPPRESS_EMMC_WIPE := true + # Use the non-open-source parts, if they're present -include vendor/samsung/n7000/BoardConfigVendor.mk -- cgit v1.1