diff options
| author | Pat Tjin <pattjin@google.com> | 2018-06-28 00:26:27 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-06-28 00:26:27 +0000 |
| commit | 62becc393e1bdc2b3cabc49b996e9a2ef8a425cd (patch) | |
| tree | 76030e67654e55681fe06cd08cb945b99fc20e1e /dumpstate | |
| parent | d5573673c87c191f1295062a01facd7715ea7f6d (diff) | |
| parent | 9e33c9b6883a18141b5733239620a9c52db98ef9 (diff) | |
Merge "crosshatch: add WLC to dumpstate" into pi-dev
Diffstat (limited to 'dumpstate')
| -rwxr-xr-x | dumpstate/DumpstateDevice.cpp | 2 |
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"}); |
