deb: dumpstate: Add emmc maker and capacity for debugging

Change-Id: I6fa5f72dbac007b0ba949c98f751eec71b7465d4
Signed-off-by: paris_yeh <paris_yeh@asus.com>
This commit is contained in:
paris_yeh 2013-08-16 14:35:15 -07:00 committed by Ed Tam
parent 3f58287b73
commit 9a049bd47a

View file

@ -32,4 +32,8 @@ void dumpstate_board()
dump_file("INTERRUPTS", "/proc/interrupts"); dump_file("INTERRUPTS", "/proc/interrupts");
run_command("MODEM TOMBSTONES", 5, SU_PATH, "root", "ls", "-l", "/data/tombstones/mdm", NULL); run_command("MODEM TOMBSTONES", 5, SU_PATH, "root", "ls", "-l", "/data/tombstones/mdm", NULL);
dump_ks_bridges(); dump_ks_bridges();
dump_file("eMMC manfid",
"/sys/devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001/manfid");
dump_file("eMMC capacity",
"/sys/devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001/sec_count");
}; };