summaryrefslogtreecommitdiff
path: root/dumpstate
diff options
context:
space:
mode:
authorPat Tjin <pattjin@google.com>2018-06-28 00:26:27 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-06-28 00:26:27 +0000
commit62becc393e1bdc2b3cabc49b996e9a2ef8a425cd (patch)
tree76030e67654e55681fe06cd08cb945b99fc20e1e /dumpstate
parentd5573673c87c191f1295062a01facd7715ea7f6d (diff)
parent9e33c9b6883a18141b5733239620a9c52db98ef9 (diff)
Merge "crosshatch: add WLC to dumpstate" into pi-dev
Diffstat (limited to 'dumpstate')
-rwxr-xr-xdumpstate/DumpstateDevice.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp
index 4a6ac53..e78280f 100755
--- a/dumpstate/DumpstateDevice.cpp
+++ b/dumpstate/DumpstateDevice.cpp
@@ -331,6 +331,8 @@ Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) {
DumpFileToFd(fd, "Maxim FG registers", "/d/regmap/4-0036/registers");
DumpFileToFd(fd, "Maxim FG NV RAM", "/d/regmap/4-000b/registers");
RunCommandToFd(fd, "QCOM FG SRAM", {"/vendor/bin/sh", "-c", "echo 0 > /d/fg/sram/address ; echo 500 > /d/fg/sram/count ; cat /d/fg/sram/data"});
+ DumpFileToFd(fd, "WLC VER", "/sys/devices/platform/soc/a88000.i2c/i2c-0/0-0061/version");
+ DumpFileToFd(fd, "WLC STATUS", "/sys/devices/platform/soc/a88000.i2c/i2c-0/0-0061/status");
RunCommandToFd(fd, "eSIM Status", {"/vendor/bin/sh", "-c", "od -t x1 /sys/firmware/devicetree/base/chosen/cdt/cdb2/esim"});