device_google_gs101/dumpstate
Joseph Jang 473f1211f1 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: I1c43c337cef49b2be4af27d2dc28797e29f0dc9a
2021-10-19 08:39:28 +00:00
..
android.hardware.dumpstate@1.1-service.gs101.rc Update dumpstate HAL to V1.1 2021-05-05 06:09:11 +00:00
Android.mk Update dumpstate HAL to V1.1 2021-05-05 06:09:11 +00:00
DumpstateDevice.cpp dumpstate: Add support to get GSC DEBUG DUMP 2021-10-19 08:39:28 +00:00
DumpstateDevice.h Attach the latest .cpa file to bugreports. 2021-07-09 15:18:01 +00:00
service.cpp Update dumpstate HAL to V1.1 2021-05-05 06:09:11 +00:00