diff options
| author | nagendra modadugu <ngm@google.com> | 2018-08-09 17:54:05 -0700 |
|---|---|---|
| committer | nagendra modadugu <ngm@google.com> | 2018-08-14 15:59:08 -0700 |
| commit | a155537a927b2f31a8d6a23438398e60c679c243 (patch) | |
| tree | 2ba4ed2009ed4ab947f6eaf8991aed89e6870c43 /dumpstate | |
| parent | 0c6e56fbbf1831ff37b2ffca466631603b68b039 (diff) | |
dumpstate: add citadel info to bugreports
It would be handy to have citadel info in
bug reports, which we have had to manually
request thus far.
Bug: 112442165
Bug: 112278102
Test: verified userdebug report includes citadel info
Change-Id: I137b28f467d0933c334ac93d12e027976f13b5f4
Diffstat (limited to 'dumpstate')
| -rwxr-xr-x | dumpstate/DumpstateDevice.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index 24271cd..38552b0 100755 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -344,6 +344,11 @@ Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) { dumpModem(fd, fdModem); } + // Citadel info (only enabled on -eng and -userdebug builds) + RunCommandToFd(fd, "Citadel ID", {"/vendor/bin/hw/citadel_updater", "--id"}); + RunCommandToFd(fd, "Citadel VER", {"/vendor/bin/hw/citadel_updater", "-lv"}); + RunCommandToFd(fd, "Citadel SELFTEST", {"/vendor/bin/hw/citadel_updater", "--selftest"}); + // Keep this at the end as very long on not for humans DumpFileToFd(fd, "WLAN FW Log Symbol Table", "/vendor/firmware/Data.msc"); |
