SalmaxChang
dd1cd8388f
dumpstate: add timeout for AoC memory dump
...
AoC memory dumps will take too long time and cause dumpstate board
timeout. Add 2s timeout for the memory dumps.
Bug: 216422700
Test: Triggered bugreport and checked dumpstate file.
Change-Id: Iedb49fa78caf7c5c54a9a1f69191d7441b7308ee
2022-03-17 02:03:12 +00:00
YiHo Cheng
1f04eb4aa6
dumpstate: Add tmu register dump
...
Add tmu register dump in thermal dumpstate section
Bug: 215040856
Test: check tmu register dump output in thermal dumpstate
Change-Id: Ia71d801b28b64abefbc472be717eb4e266599964
2022-03-01 01:23:19 +00:00
SalmaxChang
a04c61d42b
dumpstate: correct verbose logging property
...
Bug: 221173724
Change-Id: I9d525c55bed2f05e7e89d2253f7bd4f67b7cd6f3
2022-02-24 14:55:11 +08:00
Rick Yiu
13a4cde946
Dumpstate: Dump vendor group value
...
Dump attributes and tasks for each vendor group.
Bug: 216844247
Test: build pass
Change-Id: I001efa93fb1ea2fc283daaa28363a0cfc1eefbe8
2022-02-14 06:05:03 +00:00
Fangzhou Liu
536a1fea9b
Add CPA latency files into bugreport
...
Bug: b/215395069
Test: Verify bugreport
Change-Id: I6e500a741388a17f023d160dc7aca6dee81ee7af
2022-01-20 01:59:59 +00:00
George Lee
0d5e6ab435
bcl: Remove unused sysfs read
...
Bug: 197028142
Test: adb bugreport
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ia14108684ece750df7ce18314b97059f25b04591
2021-12-16 13:38:38 -08:00
Hsiu-Chang Chen
9401fa60b4
dumpstate: dump wlan firmware symbol file
...
Bug: 205919442
Test: Build Pass
Change-Id: Ib48b8bdf002e6462a7a0499f02b6a7b76329dee4
2021-12-14 11:10:37 +00:00
TeYuan Wang
404a90ef54
dumpstate: add more cooling device debug info
...
Bug: 202813409
Test: check dumpstate_board.txt
Change-Id: Ice04536c321d35553a948cdea2e6a1add207c2c7
2021-12-08 00:52:53 +00:00
davidycchen
8b35b3cf81
dumpstate: read C10 touch information
...
Dump the touch information and rawdata when bugreport is triggered.
Bug: 199104466
Test: adb bugreport
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I1047ddfd063d90114b3ff2173c3b4da3a2bb414a
2021-12-01 10:01:51 +00:00
Jenny Ho
49425acfb8
dumpstate: sync battery dumpstate data
...
Bug: 205071645
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I16dbfb492311e532fa14a001686ca1d3386b57aa
2021-11-15 01:53:30 +00:00
Ted Lin
270a005cb4
dumpstate: eeprom and fix the permission problem
...
Bug: 200119012
Change-Id: I753ab06c819f6b1c739a87f27785bcdab05282b6
Signed-off-by: Ted Lin <tedlin@google.com>
2021-11-11 06:48:39 +00:00
Jenny Ho
184fe31622
dumpstate: dump battery maxfg monitor log
...
Bug: 196755019
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I04e2be21680c2cc673af1205cdb772fa3b845bd4
2021-11-11 06:48:39 +00:00
Ted Lin
189567984c
dumpstate: initialize for gs201
...
Sync code for charger/guage/PPS/gvotables/Mitigation.
Bug:200119012
Change-Id: I1046626185ac516c5ed4d491e4d7fe7822d1db1b
Signed-off-by: Ted Lin <tedlin@google.com>
2021-11-11 06:48:39 +00:00
Michael Eastwood
54862e27b5
Save .cpa files generated when camera HAL is killed by the watchdog thread.
...
Bug: 197979923
Test: m -j
Change-Id: Ifbf22dbd9f5fe58d69e27ec157c10fafde4b18e3
2021-11-01 22:58:37 +00:00
Max Kogan
56ea9bfc5b
dumpstate: merge AoC gs101 dumpstate
...
Bug: 203827311
Change-Id: Icb7a925445992d534cae86625b249b46952d9d53
2021-10-28 05:14:06 +00:00
Joseph Jang
24b6c9320a
dumpstate: Add support to get GSC DEBUG DUMP
...
In order to get GSC DEBUG DUMP in bugreport zip file, we add a new
console command "./vendor/bin/hw/citadel_updater -D" to retrieve 1KB
GSC DEBUG DUMP for dumpstate.
If so, we could check GSC DEBUG DUMP in dumpstate_board.txt from bugreport.
File: dumpstate_board.txt
------ Citadel VERSION (vendor/bin/hw/citadel_updater -lv) ------
0.0.2/nugget_v0.0.1138-399621c+ 2021-10-07 08:53:24 josephjang
Chip: Google Dauntless D2 (evt)
Board: 0
RO_A: 0.1.1/17af49b9 ok
RO_B: * 0.1.1/b0de9d69 ok
RW_A: * 0.0.2/nugget_v0.0.1138-399621c+ ok
RW_B: Error
------ Citadel STATS (vendor/bin/hw/citadel_updater --stats) ------
hard_reset_count 1
time_since_hard_reset 335976980
wake_count 5
time_at_last_wake 335920127
time_spent_awake 50563801
deep_sleep_count 4
time_at_last_deep_sleep 268360610
time_spent_in_deep_sleep 285413177
time_at_ap_reset 11401
time_at_ap_bootloader_done 10939493
PHONE_ON_L: 1
VOL_UP_L: 1
VOL_DN_L: 1
TEMP.RANGE: 39,39
------ GSC DEBUG DUMP (vendor/bin/hw/citadel_updater -D) ------
debug dump start
000007d70605 85 00 0174aa0d 00000000
000007f56df5 85 00 0174aa0d 00000000
0000080212cd 85 00 0174aa0d 00000000
00000b73fe80 85 00 0174aa0d 00000000
debug dump end
------ Section end: gsc ------
Bug: 194113345
Change-Id: I48feabac2bf2b42f8f0b10a396ea066ace67b694
2021-10-18 14:49:38 +00:00
Kyle Tso
1fc334c1c6
dumpstate: dump logbuffer tcpm logs in bugreport
...
(Port of ag/15018442)
Bug: 189792358
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I936028d0d3360f2611b672bdc353438fb8478ca6
2021-09-02 14:08:05 +08:00
Roger Wang
49d98956fc
dumpstate: remove wifi fw symbol table
...
In b/183180525, vendor mentioned they won't provide
fw symbol table (logstrs.bin) in terms of their internal
concern. Hence, remove wifi fw symbol table from dumpstate.
Bug: 197849117
Test: build pass, device can connect to AP.
Change-Id: I91f5c38b87fd099961a95ac2ddf7fb8232003cd7
2021-08-27 10:24:13 +08:00
Michael Eastwood
bdd18706de
Attach the latest .cpa file to bugreports (gs201).
...
* Latest is determined by alphabetical order
* To find the .cpa file, unzip the bug report and run
`tar -xvf dumpstate_board.bin`
* The .cpa file can then be found under the `camera/` directory
* This can be disabled with the prop
`vendor.camera.debug.camera_performance_analyzer.attach_to_bugreport`
Bug: 191169822
Test: m -j
Change-Id: Iee7fbe45dfd5bbd67af0e5ebd965884b84e531ff
2021-08-16 13:28:38 -07:00
Armelle Laine
ab4c5929db
Include /dev/trusty-log0 as one of the Cloudripper's dumpstate_board section
...
- DumpState add trusty section to dump /dev/trusty-log0
- ueventd.gs101.rc: add /dev/trusty-log0 (system ownership) and r/w permissions to user/group
Test: adb root; adb shell lshal debug android.hardware.dumpstate@1.1::IDumpstateDevice/default trusty
Bug: 192036703
Change-Id: I752ee9c9a88855485d71ed9deb1555df5bb005cd
Signed-off-by: Armelle Laine <armellel@google.com>
2021-06-25 20:37:56 +00:00
Aaron Ding
bb4beafe47
Create gs201 device folder baseline
...
clone from gs101 sha 9d1c97c2
Bug: 183183095
Change-Id: Ie7112bdf0aceb33c9e1956aa52e961b670582733
2021-05-19 13:35:26 +08:00