Skip to content

Commit 90e6b50

Browse files
committed
Update cmdlist-*.txt for FUS_TPM171E_107.1.38.0
Also add targets to the Makefile and make run-cli easier to call.
1 parent d2a6508 commit 90e6b50

File tree

3 files changed

+140
-172
lines changed

3 files changed

+140
-172
lines changed

Makefile

+18-5
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,28 @@ decrypt: decrypt.c
5858

5959
# _Cust_dump_all_thread (b.da)
6060
threaddump.txt:
61-
$(MAKE) run-cli CLICOMMAND=b.da | tee $@
61+
$(call run-cli,b.da,$@)
6262

6363
dtv_svc.threaddump.txt:
64-
$(MAKE) run-cli CLICOMMAND=b.dtvall | tee $@
64+
$(call run-cli,b.dtvall,$@)
65+
66+
.PRECIOUS: cmdlist-guest.txt
67+
cmdlist-guest.txt:
68+
$(call run-cli,b.scm 2)
69+
$(call run-cli,ls,$@)
70+
71+
.PRECIOUS: cmdlist-sv.txt
72+
cmdlist-sv.txt:
73+
$(call run-cli,b.scm 0)
74+
$(call run-cli,ls,$@)
6575

6676
MEMDUMP_BASE_ADDR ?= 0xc0008000
6777
MEMDUMP_LEN ?= 9264960 # ls -l Image
6878

6979
.PRECIOUS: memdump.txt
7080
memdump.txt:
71-
$(MAKE) run-cli CLICOMMAND="b.scm 0"
72-
$(MAKE) run-cli CLICOMMAND="b.mdmp $(MEMDUMP_BASE_ADDR) $(MEMDUMP_LEN)" | tee $@
81+
$(call run-cli,b.scm 0)
82+
$(call run-cli,b.mdmp $(MEMDUMP_BASE_ADDR) $(MEMDUMP_LEN),$@)
7383

7484
memdump.bin: memdump.txt
7585
$(PERL) -ne 'if (($$_) = /^0x.*? \| ([^|]+)/) { print chr hex for /[0-9a-f]{2}/g }' < $< > $@
@@ -104,9 +114,12 @@ dtv_driver.lds: dtv_driver.ko threaddump.lds
104114
$(PERL) -nE 'say "$$2 = 0x$$1;" if /^([0-9a-f]+)\s+.\s.*\s(\S+)$$/ && hex($$1) > 0' | \
105115
sort -k3 > $@
106116

117+
run-cli = $(MAKE) run-cli CLICOMMAND="$1" TEETO="$2"
118+
107119
.PHONY: run-cli
108120
run-cli: cli
109-
$(ADB) push cli $(INSTALL_DIR)/cli && $(ADB) shell $(INSTALL_DIR)/cli $(CLICOMMAND)
121+
$(ADB) push cli $(INSTALL_DIR)/cli
122+
$(ADB) shell $(INSTALL_DIR)/cli $(CLICOMMAND)$ $(if $(TEETO),| tee $(TEETO))
110123

111124
.PHONY: clean
112125
clean:

cmdlist-guest.txt

+12
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ ir.rx.list :ir.rx.list - list Ir key id value
215215
ir.rx.send :ir.rx.send [KeyId] - send key id into ir key queue
216216
ir.rx.pl :ir.rx.printlog - print irrc log buffer history
217217
ir.rx.rl :ir.rx.resetlog - reset irrc log buffer history
218+
ir.rx.irrc :ir.rx.irrc - key record
218219
rtc.d_on :RTC.d_on
219220
rtc.d_off :RTC.d_off
220221
rtc.d_l :RTC.d_l
@@ -267,6 +268,7 @@ aud.uop.vbcut :Set Virtual Bass Cutoff
267268
aud.uop.dm :dual-mono steup
268269
aud.uop.eac3 :E-ac3 raw enable
269270
aud.uop.pq :Post-Proc Query
271+
aud.uop.arccap :setarc capability
270272
aud.uop.eq.flag :EQ function on/off
271273
aud.uop.eq.m :EQ mode configuration
272274
aud.uop.eq.set :Set EQ Table
@@ -275,6 +277,13 @@ aud.uop.sbass.flag :sbass function on/off
275277
aud.uop.sbass.bb :Bass boost gain configuration
276278
aud.uop.sbass.cb :Clear boost gain configuration
277279
aud.uop.sbass.q :query sbass Table
280+
aud.uop.silence.flag :silence function on/off
281+
aud.uop.silence.thre :Silence Threshold configuration
282+
aud.uop.silence.wait :Silence attack wait time configuration
283+
aud.uop.silence.gain :Silence attack fix gain configuration
284+
aud.uop.silence.rstep :Silence Release Step configuration
285+
aud.uop.silence.astep :Silence Attack Step configuration
286+
aud.uop.silence.q :query Silence configuration
278287
aud.uop.limiter.flag :individual limiter flag
279288
aud.uop.limiter.thre :limiter fixed mode threshold
280289
aud.uop.limiter.release :limiter release rate
@@ -544,6 +553,9 @@ vdp.s.bg :Vdp background
544553
vdp.s.121 :Vdp 121 scaling
545554
vdp.s.game :Vdp Game Mode
546555
vdp.s.fix :Vdp Fix Mode
556+
vdp.lbox.d_on :LBOX.d_on
557+
vdp.lbox.d_off :LBOX.d_off
558+
vdp.lbox.d_l :LBOX.d_l
547559
prescale.d_on :PRESCALE.d_on
548560
prescale.d_off :PRESCALE.d_off
549561
prescale.d_l :PRESCALE.d_l

0 commit comments

Comments
 (0)