summaryrefslogtreecommitdiff
path: root/dumpstate
diff options
context:
space:
mode:
authorPatrick Tjin <pattjin@google.com>2018-06-27 12:10:08 -0700
committerPatrick Tjin <pattjin@google.com>2018-06-27 12:10:49 -0700
commit9e33c9b6883a18141b5733239620a9c52db98ef9 (patch)
tree0a3c459eab860c9b3f3ae01a767f3cdcf4cf508e /dumpstate
parent6018cf49e7fa8a8fc419ac29971773b223345c5c (diff)
crosshatch: add WLC to dumpstate
Bug: 110245589 Test: boot, grab bugreport, see new info Change-Id: Ica5f4737f90eba9694c0a16a29b5d6efac0ffb39
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 cbf9e68..2e10a87 100755
--- a/dumpstate/DumpstateDevice.cpp
+++ b/dumpstate/DumpstateDevice.cpp
@@ -303,6 +303,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"});