4133 files changed
+297870
No files matched your search
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+7
@@ -0,0 +1,7 @@
|
||||
#!/vendor/bin/sh
|
||||
echo "Citadel VERSION\n"
|
||||
vendor/bin/hw/citadel_updater -lv
|
||||
echo "Citadel STATS\n"
|
||||
vendor/bin/hw/citadel_updater --stats
|
||||
echo "GSC DEBUG DUMP\n"
|
||||
vendor/bin/hw/citadel_updater -D
|
||||
BIN
Binary file not shown.
+11
@@ -0,0 +1,11 @@
|
||||
#!/vendor/bin/sh
|
||||
echo "--- pcie0 dump ---"
|
||||
cat /dev/logbuffer_pcie0
|
||||
echo "--- pcie1 dump ---"
|
||||
cat /dev/logbuffer_pcie1
|
||||
|
||||
echo "--- pcie link statistics ---"
|
||||
for f in /sys/devices/platform/*.pcie/link_stats/*
|
||||
do
|
||||
echo "$f: `cat $f`"
|
||||
done
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+48
@@ -0,0 +1,48 @@
|
||||
#!/vendor/bin/sh
|
||||
|
||||
echo 'Temperatures'
|
||||
for f in /sys/class/thermal/thermal* ; do
|
||||
echo `cat $f/type`: `cat $f/temp`
|
||||
done
|
||||
|
||||
echo 'Cooling Device Current State'
|
||||
for f in /sys/class/thermal/cooling* ; do
|
||||
echo `cat $f/type`: `cat $f/cur_state`
|
||||
done
|
||||
|
||||
echo 'Cooling Device User Vote State'
|
||||
for f in /sys/class/thermal/cooling* ; do
|
||||
if ! [ -r $f/user_vote ]; then continue; fi;
|
||||
echo `cat $f/type`: `cat $f/user_vote`
|
||||
done
|
||||
|
||||
echo 'Cooling Device Time in State'
|
||||
for f in /sys/class/thermal/cooling* ; do
|
||||
echo `cat $f/type`: `cat $f/stats/time_in_state_ms`
|
||||
done
|
||||
|
||||
echo 'Cooling Device Trans Table'
|
||||
for f in /sys/class/thermal/cooling* ; do
|
||||
echo `cat $f/type`: `cat $f/stats/trans_table`
|
||||
done
|
||||
|
||||
echo 'Cooling Device State2Power Table'
|
||||
for f in /sys/class/thermal/cooling* ; do
|
||||
if ! [ -r $f/state2power_table ]; then continue; fi;
|
||||
echo `cat $f/type`: `cat $f/state2power_table`
|
||||
done
|
||||
|
||||
echo 'TMU state:'
|
||||
cat /sys/module/gs_thermal/parameters/tmu_reg_dump_state
|
||||
echo 'TMU intpend:'
|
||||
cat /sys/module/gs_thermal/parameters/tmu_reg_dump_intpend
|
||||
echo 'TMU current temperature:'
|
||||
cat /sys/module/gs_thermal/parameters/tmu_reg_dump_current_temp
|
||||
echo 'TMU_TOP rise thresholds:'
|
||||
cat /sys/module/gs_thermal/parameters/tmu_top_reg_dump_rise_thres
|
||||
echo 'TMU_TOP fall thresholds:'
|
||||
cat /sys/module/gs_thermal/parameters/tmu_top_reg_dump_fall_thres
|
||||
echo 'TMU_SUB rise thresholds:'
|
||||
cat /sys/module/gs_thermal/parameters/tmu_sub_reg_dump_rise_thres
|
||||
echo 'TMU_SUB fall thresholds:'
|
||||
cat /sys/module/gs_thermal/parameters/tmu_sub_reg_dump_fall_thres
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
#!/vendor/bin/sh
|
||||
|
||||
DIR=/data/vendor/dump_touch
|
||||
LOCKFILE="$DIR"/dumping
|
||||
LOGFILE="$DIR"/dump.log
|
||||
|
||||
if [ ! -f $LOCKFILE ] || [ ! -f $LOGFILE ] || [ "$(cat $LOCKFILE)" = 0 ]
|
||||
then
|
||||
echo "-----------------------------------------------------"
|
||||
echo "Info : Touch debug data not found! Backfilling..."
|
||||
echo "-----------------------------------------------------"
|
||||
/vendor/bin/predump_touch.sh > /dev/null 2>&1
|
||||
fi
|
||||
|
||||
state=$(cat $LOCKFILE)
|
||||
if [ "$state" != 2 ]
|
||||
then
|
||||
echo "Unexpected state! Expected 2 but found ${state}"
|
||||
fi
|
||||
|
||||
if [ -f $LOGFILE ]
|
||||
then
|
||||
cat $LOGFILE
|
||||
echo "" > $LOGFILE
|
||||
fi
|
||||
|
||||
if [ -f $LOCKFILE ]
|
||||
then
|
||||
echo 0 > $LOCKFILE
|
||||
fi
|
||||
BIN
Binary file not shown.
+3
@@ -0,0 +1,3 @@
|
||||
#!/vendor/bin/sh
|
||||
echo "--- Trusty TEE0 Logs ---"
|
||||
cat /dev/trusty-log0
|
||||
Reference in new issue
Block a user