浏览代码

add mmc vendor info

Alfonso Gamboa 3 年之前
父节点
当前提交
be160e323e
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      SD_ROOT/wz_mini/bin/gather_wz_logs.sh

+ 4 - 0
SD_ROOT/wz_mini/bin/gather_wz_logs.sh

@@ -53,6 +53,10 @@ lsmod > /opt/wz_mini/tmp/log_gather/kmod.log
 echo "gather app.ver"
 cp /system/bin/app.ver /opt/wz_mini/tmp/log_gather/system_app.ver
 
+echo "gather mmc info"
+cat /sys/bus/mmc/devices/mmc1\:0001/mmc1\:0001\:1/* > /opt/wz_mini/tmp/log_gather/mmc_sys.log
+
+
 if [ -f /tmp/sd_check_result.txt ]; then
 	echo "copy sd_check_result.txt"
 	cp /tmp/sd_check_result.txt /opt/wz_mini/tmp/log_gather/sd_check_result.txt