diff options
author | Jie Song <jies@google.com> | 2018-05-14 21:48:30 -0700 |
---|---|---|
committer | Jie Song <jies@google.com> | 2018-05-15 12:06:07 -0700 |
commit | 56a8398a8b63d4390f81e910f066919963357bd0 (patch) | |
tree | 108a63e27fc701ac7f5886d7edf4f6c20be8dde4 /dumpstate | |
parent | 8c0a516a530e70f3f03ae5d9a3de90598c4b7191 (diff) | |
download | bonito-56a8398a8b63d4390f81e910f066919963357bd0.tar.gz |
Dump eSIM presence status into Bugreport
Bug: 79717758
Test: Take bugreport and check eSIM status
Change-Id: Ibe42359a5e7bc6a19429d51cd83ed6bcb8fa71c2
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 a61ac901..916c7b01 100755 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -307,6 +307,8 @@ Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) { 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"}); + RunCommandToFd(fd, "eSIM Status", {"/vendor/bin/sh", "-c", "od -t x1 /sys/firmware/devicetree/base/chosen/cdt/cdb2/esim"}); + // Keep this at the end as very long on not for humans DumpFileToFd(fd, "WLAN FW Log Symbol Table", "/vendor/firmware/Data.msc"); |