some debug things
This commit is contained in:
parent
96851b7035
commit
3c53abd77c
3
Makefile
3
Makefile
@ -169,6 +169,9 @@ firmware/initramfs/root/modules_idl4k_7108_ST40HOST_LINUX_32BITS/axe_dmx.ko:
|
|||||||
tools/axehelper: tools/axehelper.c
|
tools/axehelper: tools/axehelper.c
|
||||||
$(TOOLCHAIN)/bin/sh4-linux-gcc -o tools/axehelper -Wall -lrt tools/axehelper.c
|
$(TOOLCHAIN)/bin/sh4-linux-gcc -o tools/axehelper -Wall -lrt tools/axehelper.c
|
||||||
|
|
||||||
|
tools/axehelper.$(HOST_ARCH): tools/axehelper.c
|
||||||
|
gcc -o tools/axehelper.$(HOST_ARCH) -Wall -lrt tools/axehelper.c
|
||||||
|
|
||||||
tools/syscall-dump.so: tools/syscall-dump.c
|
tools/syscall-dump.so: tools/syscall-dump.c
|
||||||
$(TOOLCHAIN)/bin/sh4-linux-gcc -o tools/syscall-dump.o -c -fPIC -Wall tools/syscall-dump.c
|
$(TOOLCHAIN)/bin/sh4-linux-gcc -o tools/syscall-dump.o -c -fPIC -Wall tools/syscall-dump.c
|
||||||
$(TOOLCHAIN)/bin/sh4-linux-gcc -o tools/syscall-dump.so -shared -rdynamic tools/syscall-dump.o -ldl
|
$(TOOLCHAIN)/bin/sh4-linux-gcc -o tools/syscall-dump.so -shared -rdynamic tools/syscall-dump.o -ldl
|
||||||
|
617
debug/PTI.txt
Normal file
617
debug/PTI.txt
Normal file
@ -0,0 +1,617 @@
|
|||||||
|
File /proc/STAPI/stpti/PTI0/BufferInfo
|
||||||
|
**************************************
|
||||||
|
|
||||||
|
(abs) BASE____ TOP_____ READ____ WRITE___ QWRITE__ Threshld BuffrCnt
|
||||||
|
#fd60a610: 72718000 729aa000 7299b8ac 7299bae0 7299bae0 7299bae0 80000524 0006c6c8 ; #000
|
||||||
|
#fd60a630: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #001
|
||||||
|
#fd60a650: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #002
|
||||||
|
#fd60a670: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #003
|
||||||
|
#fd60a690: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #004
|
||||||
|
#fd60a6b0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #005
|
||||||
|
#fd60a6d0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #006
|
||||||
|
#fd60a6f0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #007
|
||||||
|
#fd60a710: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #008
|
||||||
|
#fd60a730: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #009
|
||||||
|
#fd60a750: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #010
|
||||||
|
#fd60a770: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #011
|
||||||
|
#fd60a790: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #012
|
||||||
|
#fd60a7b0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #013
|
||||||
|
#fd60a7d0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #014
|
||||||
|
#fd60a7f0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #015
|
||||||
|
#fd60a810: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #016
|
||||||
|
#fd60a830: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #017
|
||||||
|
#fd60a850: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #018
|
||||||
|
#fd60a870: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #019
|
||||||
|
#fd60a890: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #020
|
||||||
|
#fd60a8b0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #021
|
||||||
|
#fd60a8d0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #022
|
||||||
|
#fd60a8f0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #023
|
||||||
|
#fd60a910: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #024
|
||||||
|
#fd60a930: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #025
|
||||||
|
#fd60a950: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #026
|
||||||
|
#fd60a970: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #027
|
||||||
|
#fd60a990: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #028
|
||||||
|
#fd60a9b0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #029
|
||||||
|
#fd60a9d0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #030
|
||||||
|
#fd60a9f0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #031
|
||||||
|
#fd60aa10: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #032
|
||||||
|
#fd60aa30: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #033
|
||||||
|
#fd60aa50: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #034
|
||||||
|
#fd60aa70: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #035
|
||||||
|
#fd60aa90: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #036
|
||||||
|
#fd60aab0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #037
|
||||||
|
#fd60aad0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #038
|
||||||
|
#fd60aaf0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #039
|
||||||
|
#fd60ab10: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #040
|
||||||
|
#fd60ab30: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #041
|
||||||
|
#fd60ab50: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #042
|
||||||
|
#fd60ab70: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #043
|
||||||
|
#fd60ab90: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #044
|
||||||
|
#fd60abb0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #045
|
||||||
|
#fd60abd0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #046
|
||||||
|
#fd60abf0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #047
|
||||||
|
#fd60ac10: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #048
|
||||||
|
#fd60ac30: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #049
|
||||||
|
#fd60ac50: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #050
|
||||||
|
#fd60ac70: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #051
|
||||||
|
#fd60ac90: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #052
|
||||||
|
#fd60acb0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #053
|
||||||
|
#fd60acd0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #054
|
||||||
|
#fd60acf0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #055
|
||||||
|
#fd60ad10: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #056
|
||||||
|
#fd60ad30: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #057
|
||||||
|
#fd60ad50: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #058
|
||||||
|
#fd60ad70: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #059
|
||||||
|
#fd60ad90: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #060
|
||||||
|
#fd60adb0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #061
|
||||||
|
#fd60add0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #062
|
||||||
|
#fd60adf0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #063
|
||||||
|
#fd60ae10: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #064
|
||||||
|
#fd60ae30: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #065
|
||||||
|
#fd60ae50: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #066
|
||||||
|
#fd60ae70: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #067
|
||||||
|
#fd60ae90: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #068
|
||||||
|
#fd60aeb0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #069
|
||||||
|
#fd60aed0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #070
|
||||||
|
#fd60aef0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #071
|
||||||
|
#fd60af10: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #072
|
||||||
|
#fd60af30: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #073
|
||||||
|
#fd60af50: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #074
|
||||||
|
#fd60af70: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #075
|
||||||
|
#fd60af90: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #076
|
||||||
|
#fd60afb0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #077
|
||||||
|
#fd60afd0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #078
|
||||||
|
#fd60aff0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #079
|
||||||
|
#fd60b010: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #080
|
||||||
|
#fd60b030: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #081
|
||||||
|
#fd60b050: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #082
|
||||||
|
#fd60b070: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #083
|
||||||
|
#fd60b090: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #084
|
||||||
|
#fd60b0b0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #085
|
||||||
|
#fd60b0d0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #086
|
||||||
|
#fd60b0f0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #087
|
||||||
|
#fd60b110: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #088
|
||||||
|
#fd60b130: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #089
|
||||||
|
#fd60b150: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #090
|
||||||
|
#fd60b170: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #091
|
||||||
|
#fd60b190: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #092
|
||||||
|
#fd60b1b0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #093
|
||||||
|
#fd60b1d0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #094
|
||||||
|
#fd60b1f0: 00000000 00000000 00000000 00000000 00000000 00000000 7fffffff 00000000 ; #095
|
||||||
|
|
||||||
|
File /proc/STAPI/stpti/PTI0/CAMInfo
|
||||||
|
***********************************
|
||||||
|
|
||||||
|
16 filters at CAM offset 0000000000
|
||||||
|
Flt CAM_A_Data/Mask CAM_B_Data/Mask NM_A
|
||||||
|
000 ffffffffffffffff ffffffffffffffff 0 00
|
||||||
|
ffffffffffffffff ffffffffffffffff
|
||||||
|
001 ffffffffffffffff ffffffffffffffff 0 00
|
||||||
|
ffffffffffffffff ffffffffffffffff
|
||||||
|
002 ffffffffffffffff ffffffffffffffff 0 00
|
||||||
|
ffffffffffffffff ffffffffffffffff
|
||||||
|
003 ffffffffffffffff ffffffffffffffff 0 00
|
||||||
|
ffffffffffffffff ffffffffffffffff
|
||||||
|
004 ffffffffffffffff ffffffffffffffff 0 00
|
||||||
|
ffffffffffffffff ffffffffffffffff
|
||||||
|
005 ffffffffffffffff ffffffffffffffff 0 00
|
||||||
|
ffffffffffffffff ffffffffffffffff
|
||||||
|
006 ffffffffffffffff ffffffffffffffff 0 00
|
||||||
|
ffffffffffffffff ffffffffffffffff
|
||||||
|
007 ffffffffffffffff ffffffffffffffff 0 00
|
||||||
|
ffffffffffffffff ffffffffffffffff
|
||||||
|
008 ffffffffffffffff ffffffffffffffff 0 00
|
||||||
|
ffffffffffffffff ffffffffffffffff
|
||||||
|
009 ffffffffffffffff ffffffffffffffff 0 00
|
||||||
|
ffffffffffffffff ffffffffffffffff
|
||||||
|
010 ffffffffffffffff ffffffffffffffff 0 00
|
||||||
|
ffffffffffffffff ffffffffffffffff
|
||||||
|
011 ffffffffffffffff ffffffffffffffff 0 00
|
||||||
|
ffffffffffffffff ffffffffffffffff
|
||||||
|
012 ffffffffffffffff ffffffffffffffff 0 00
|
||||||
|
ffffffffffffffff ffffffffffffffff
|
||||||
|
013 ffffffffffffffff ffffffffffffffff 0 00
|
||||||
|
ffffffffffffffff ffffffffffffffff
|
||||||
|
014 ffffffffffffffff ffffffffffffffff 0 00
|
||||||
|
ffffffffffffffff ffffffffffffffff
|
||||||
|
015 ffffffffffffffff ffffffffffffffff 0 00
|
||||||
|
ffffffffffffffff ffffffffffffffff
|
||||||
|
|
||||||
|
File /proc/STAPI/stpti/PTI0/FullObjectTree
|
||||||
|
******************************************
|
||||||
|
|
||||||
|
0x81d53600 [1ff07fff] pDevice0
|
||||||
|
0x81d53400 [00f0bfff] vDevice0 StreamID=1 Protocol=0
|
||||||
|
0x819d31a0 [0000ffff] Session0
|
||||||
|
0x81a9ea60 [0001c000] Signal0
|
||||||
|
0x81a9e9e0 [0001c001] Signal1
|
||||||
|
0x81a9e960 [0001c002] Signal2
|
||||||
|
0x81a9e8e0 [0001c003] Signal3
|
||||||
|
0x81a9e860 [0001c004] Signal4
|
||||||
|
0x81a9e7e0 [0001c005] Signal5
|
||||||
|
0x81a9e760 [0001c006] Signal6
|
||||||
|
0x81a9e6e0 [0001c007] Signal7
|
||||||
|
0x81a9e660 [0001c008] Signal8
|
||||||
|
0x81a9e5a0 [0001c009] Signal9
|
||||||
|
0x81a9e520 [0001c00a] Signal10
|
||||||
|
0x81a9e4a0 [0001c00b] Signal11
|
||||||
|
0x81a9e420 [0001c00c] Signal12
|
||||||
|
0x81a9e3a0 [0001c00d] Signal13
|
||||||
|
0x81a9e320 [0001c00e] Signal14
|
||||||
|
0x81a9e2a0 [0001c00f] Signal15
|
||||||
|
0x81a9e220 [0001c010] Signal16
|
||||||
|
0x81a9e1e0 [0001c011] Signal17
|
||||||
|
0x81a9e160 [0001c012] Signal18
|
||||||
|
0x81be5fa0 [0001c013] Signal19
|
||||||
|
0x81be5f20 [0001c014] Signal20
|
||||||
|
0x81be5ea0 [0001c015] Signal21
|
||||||
|
0x81be5e20 [0001c016] Signal22
|
||||||
|
0x81be5da0 [0001c017] Signal23
|
||||||
|
0x81be5d20 [0001c018] Signal24
|
||||||
|
0x81be5ca0 [0001c019] Signal25
|
||||||
|
0x81be5c20 [0001c01a] Signal26
|
||||||
|
0x81be5ba0 [0001c01b] Signal27
|
||||||
|
0x81be5b20 [0001c01c] Signal28
|
||||||
|
0x81be5aa0 [0001c01d] Signal29
|
||||||
|
0x81be5a20 [0001c01e] Signal30
|
||||||
|
0x81be59a0 [0001c01f] Signal31
|
||||||
|
0x81d53200 [01f0bfff] vDevice1 StreamID=0 Protocol=0
|
||||||
|
0x81a0fae0 [0100ffff] Session0
|
||||||
|
0x81be5920 [0101c000] Signal0
|
||||||
|
0x81be58a0 [0101c001] Signal1
|
||||||
|
0x81be5820 [0101c002] Signal2
|
||||||
|
0x81be57a0 [0101c003] Signal3
|
||||||
|
0x81be5720 [0101c004] Signal4
|
||||||
|
0x81be56a0 [0101c005] Signal5
|
||||||
|
0x81be5620 [0101c006] Signal6
|
||||||
|
0x81be55a0 [0101c007] Signal7
|
||||||
|
0x81be5520 [0101c008] Signal8
|
||||||
|
0x81be5460 [0101c009] Signal9
|
||||||
|
0x81be53e0 [0101c00a] Signal10
|
||||||
|
0x81be5360 [0101c00b] Signal11
|
||||||
|
0x81be52e0 [0101c00c] Signal12
|
||||||
|
0x81be5260 [0101c00d] Signal13
|
||||||
|
0x81be51e0 [0101c00e] Signal14
|
||||||
|
0x81be5160 [0101c00f] Signal15
|
||||||
|
0x81be8fa0 [0101c010] Signal16
|
||||||
|
0x81be8f60 [0101c011] Signal17
|
||||||
|
0x81be8ee0 [0101c012] Signal18
|
||||||
|
0x81be8e60 [0101c013] Signal19
|
||||||
|
0x81be8de0 [0101c014] Signal20
|
||||||
|
0x81be8d60 [0101c015] Signal21
|
||||||
|
0x81be8ce0 [0101c016] Signal22
|
||||||
|
0x81be8c60 [0101c017] Signal23
|
||||||
|
0x81be8be0 [0101c018] Signal24
|
||||||
|
0x81be8b60 [0101c019] Signal25
|
||||||
|
0x81be8ae0 [0101c01a] Signal26
|
||||||
|
0x81be8a60 [0101c01b] Signal27
|
||||||
|
0x81be89e0 [0101c01c] Signal28
|
||||||
|
0x81be8960 [0101c01d] Signal29
|
||||||
|
0x81be88e0 [0101c01e] Signal30
|
||||||
|
0x81be8860 [0101c01f] Signal31
|
||||||
|
0x81d53000 [02f0bfff] vDevice2 StreamID=3 Protocol=0
|
||||||
|
0x81a0f520 [0200ffff] Session0
|
||||||
|
0x81be87e0 [0201c000] Signal0
|
||||||
|
0x81be8760 [0201c001] Signal1
|
||||||
|
0x81be86e0 [0201c002] Signal2
|
||||||
|
0x81be8660 [0201c003] Signal3
|
||||||
|
0x81be85e0 [0201c004] Signal4
|
||||||
|
0x81be8560 [0201c005] Signal5
|
||||||
|
0x81be84e0 [0201c006] Signal6
|
||||||
|
0x81be8460 [0201c007] Signal7
|
||||||
|
0x81be83e0 [0201c008] Signal8
|
||||||
|
0x81be8320 [0201c009] Signal9
|
||||||
|
0x81be82a0 [0201c00a] Signal10
|
||||||
|
0x81be8220 [0201c00b] Signal11
|
||||||
|
0x81be81a0 [0201c00c] Signal12
|
||||||
|
0x81be8120 [0201c00d] Signal13
|
||||||
|
0x81bebf60 [0201c00e] Signal14
|
||||||
|
0x81bebee0 [0201c00f] Signal15
|
||||||
|
0x81bebe60 [0201c010] Signal16
|
||||||
|
0x81bebe20 [0201c011] Signal17
|
||||||
|
0x81bebda0 [0201c012] Signal18
|
||||||
|
0x81bebd20 [0201c013] Signal19
|
||||||
|
0x81bebca0 [0201c014] Signal20
|
||||||
|
0x81bebc20 [0201c015] Signal21
|
||||||
|
0x81bebba0 [0201c016] Signal22
|
||||||
|
0x81bebb20 [0201c017] Signal23
|
||||||
|
0x81bebaa0 [0201c018] Signal24
|
||||||
|
0x81beba20 [0201c019] Signal25
|
||||||
|
0x81beb9a0 [0201c01a] Signal26
|
||||||
|
0x81beb920 [0201c01b] Signal27
|
||||||
|
0x81beb8a0 [0201c01c] Signal28
|
||||||
|
0x81beb820 [0201c01d] Signal29
|
||||||
|
0x81beb7a0 [0201c01e] Signal30
|
||||||
|
0x81beb720 [0201c01f] Signal31
|
||||||
|
0x819e1e00 [03f0bfff] vDevice3 StreamID=2 Protocol=0
|
||||||
|
0x81a15e20 [0300ffff] Session0
|
||||||
|
0x81beb6a0 [0301c000] Signal0
|
||||||
|
0x81beb620 [0301c001] Signal1
|
||||||
|
0x81beb5a0 [0301c002] Signal2
|
||||||
|
0x81beb520 [0301c003] Signal3
|
||||||
|
0x81beb4a0 [0301c004] Signal4
|
||||||
|
0x81beb420 [0301c005] Signal5
|
||||||
|
0x81beb3a0 [0301c006] Signal6
|
||||||
|
0x81beb320 [0301c007] Signal7
|
||||||
|
0x81beb2a0 [0301c008] Signal8
|
||||||
|
0x81beb1e0 [0301c009] Signal9
|
||||||
|
0x81beb160 [0301c00a] Signal10
|
||||||
|
0x81bedfa0 [0301c00b] Signal11
|
||||||
|
0x81bedf20 [0301c00c] Signal12
|
||||||
|
0x81bedea0 [0301c00d] Signal13
|
||||||
|
0x81bede20 [0301c00e] Signal14
|
||||||
|
0x81bedda0 [0301c00f] Signal15
|
||||||
|
0x81bedd20 [0301c010] Signal16
|
||||||
|
0x81bedce0 [0301c011] Signal17
|
||||||
|
0x81bedc60 [0301c012] Signal18
|
||||||
|
0x81bedbe0 [0301c013] Signal19
|
||||||
|
0x81bedb60 [0301c014] Signal20
|
||||||
|
0x81bedae0 [0301c015] Signal21
|
||||||
|
0x81beda60 [0301c016] Signal22
|
||||||
|
0x81bed9e0 [0301c017] Signal23
|
||||||
|
0x81bed960 [0301c018] Signal24
|
||||||
|
0x81bed8e0 [0301c019] Signal25
|
||||||
|
0x81bed860 [0301c01a] Signal26
|
||||||
|
0x81bed7e0 [0301c01b] Signal27
|
||||||
|
0x81bed760 [0301c01c] Signal28
|
||||||
|
0x81bed6e0 [0301c01d] Signal29
|
||||||
|
0x81bed660 [0301c01e] Signal30
|
||||||
|
0x81bed5e0 [0301c01f] Signal31
|
||||||
|
0x819e1c00 [04f0bfff] vDevice4 StreamID=4 Protocol=0
|
||||||
|
0x81a158a0 [0400ffff] Session0
|
||||||
|
0x81bed560 [0401c000] Signal0
|
||||||
|
0x81bed4e0 [0401c001] Signal1
|
||||||
|
0x81bed460 [0401c002] Signal2
|
||||||
|
0x81bed3e0 [0401c003] Signal3
|
||||||
|
0x81bed360 [0401c004] Signal4
|
||||||
|
0x81bed2e0 [0401c005] Signal5
|
||||||
|
0x81bed260 [0401c006] Signal6
|
||||||
|
0x81bed1e0 [0401c007] Signal7
|
||||||
|
0x81bed160 [0401c008] Signal8
|
||||||
|
0x81beff60 [0401c009] Signal9
|
||||||
|
0x81befee0 [0401c00a] Signal10
|
||||||
|
0x81befe60 [0401c00b] Signal11
|
||||||
|
0x81befde0 [0401c00c] Signal12
|
||||||
|
0x81befd60 [0401c00d] Signal13
|
||||||
|
0x81befce0 [0401c00e] Signal14
|
||||||
|
0x81befc60 [0401c00f] Signal15
|
||||||
|
0x81befbe0 [0401c010] Signal16
|
||||||
|
0x81befba0 [0401c011] Signal17
|
||||||
|
0x81befb20 [0401c012] Signal18
|
||||||
|
0x81befaa0 [0401c013] Signal19
|
||||||
|
0x81befa20 [0401c014] Signal20
|
||||||
|
0x81bef9a0 [0401c015] Signal21
|
||||||
|
0x81bef920 [0401c016] Signal22
|
||||||
|
0x81bef8a0 [0401c017] Signal23
|
||||||
|
0x81bef820 [0401c018] Signal24
|
||||||
|
0x81bef7a0 [0401c019] Signal25
|
||||||
|
0x81bef720 [0401c01a] Signal26
|
||||||
|
0x81bef6a0 [0401c01b] Signal27
|
||||||
|
0x81bef620 [0401c01c] Signal28
|
||||||
|
0x81bef5a0 [0401c01d] Signal29
|
||||||
|
0x81bef520 [0401c01e] Signal30
|
||||||
|
0x81bef4a0 [0401c01f] Signal31
|
||||||
|
0x819e1a00 [05f0bfff] vDevice5 StreamID=5 Protocol=0
|
||||||
|
0x81a15320 [0500ffff] Session0
|
||||||
|
0x81bef420 [0501c000] Signal0
|
||||||
|
0x81bef3a0 [0501c001] Signal1
|
||||||
|
0x81bef320 [0501c002] Signal2
|
||||||
|
0x81bef2a0 [0501c003] Signal3
|
||||||
|
0x81bef220 [0501c004] Signal4
|
||||||
|
0x81bef1a0 [0501c005] Signal5
|
||||||
|
0x81bef120 [0501c006] Signal6
|
||||||
|
0x81bf1f60 [0501c007] Signal7
|
||||||
|
0x81bf1ee0 [0501c008] Signal8
|
||||||
|
0x81bf1e20 [0501c009] Signal9
|
||||||
|
0x81bf1da0 [0501c00a] Signal10
|
||||||
|
0x81bf1d20 [0501c00b] Signal11
|
||||||
|
0x81bf1ca0 [0501c00c] Signal12
|
||||||
|
0x81bf1c20 [0501c00d] Signal13
|
||||||
|
0x81bf1ba0 [0501c00e] Signal14
|
||||||
|
0x81bf1b20 [0501c00f] Signal15
|
||||||
|
0x81bf1aa0 [0501c010] Signal16
|
||||||
|
0x81bf1a60 [0501c011] Signal17
|
||||||
|
0x81bf19e0 [0501c012] Signal18
|
||||||
|
0x81bf1960 [0501c013] Signal19
|
||||||
|
0x81bf18e0 [0501c014] Signal20
|
||||||
|
0x81bf1860 [0501c015] Signal21
|
||||||
|
0x81bf17e0 [0501c016] Signal22
|
||||||
|
0x81bf1760 [0501c017] Signal23
|
||||||
|
0x81bf16e0 [0501c018] Signal24
|
||||||
|
0x81bf1660 [0501c019] Signal25
|
||||||
|
0x81bf15e0 [0501c01a] Signal26
|
||||||
|
0x81bf1560 [0501c01b] Signal27
|
||||||
|
0x81bf14e0 [0501c01c] Signal28
|
||||||
|
0x81bf1460 [0501c01d] Signal29
|
||||||
|
0x81bf13e0 [0501c01e] Signal30
|
||||||
|
0x81bf1360 [0501c01f] Signal31
|
||||||
|
|
||||||
|
|
||||||
|
File /proc/STAPI/stpti/PTI0/FullSlotInfo
|
||||||
|
****************************************
|
||||||
|
|
||||||
|
(rel) Stat PH Md SecP SFlg Nslt KeyI EvtMask_ Idx# DMA# PktCount
|
||||||
|
#fd606610: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #000
|
||||||
|
#fd606650: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #001
|
||||||
|
#fd606690: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #002
|
||||||
|
#fd6066d0: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #003
|
||||||
|
#fd606710: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #004
|
||||||
|
#fd606750: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #005
|
||||||
|
#fd606790: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #006
|
||||||
|
#fd6067d0: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #007
|
||||||
|
#fd606810: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #008
|
||||||
|
#fd606850: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #009
|
||||||
|
#fd606890: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #010
|
||||||
|
#fd6068d0: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #011
|
||||||
|
#fd606910: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #012
|
||||||
|
#fd606950: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #013
|
||||||
|
#fd606990: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #014
|
||||||
|
#fd6069d0: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #015
|
||||||
|
#fd606a10: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #016
|
||||||
|
#fd606a50: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #017
|
||||||
|
#fd606a90: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #018
|
||||||
|
#fd606ad0: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #019
|
||||||
|
#fd606b10: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #020
|
||||||
|
#fd606b50: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #021
|
||||||
|
#fd606b90: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #022
|
||||||
|
#fd606bd0: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #023
|
||||||
|
#fd606c10: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #024
|
||||||
|
#fd606c50: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #025
|
||||||
|
#fd606c90: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #026
|
||||||
|
#fd606cd0: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #027
|
||||||
|
#fd606d10: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #028
|
||||||
|
#fd606d50: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #029
|
||||||
|
#fd606d90: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #030
|
||||||
|
#fd606dd0: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 ; #031
|
||||||
|
|
||||||
|
File /proc/STAPI/stpti/PTI0/IndexerInfo
|
||||||
|
***************************************
|
||||||
|
|
||||||
|
(abs) PclSel IdxrCfg EventM AF_M DMA# ______________________MPEG_START_CODE_MASKS____________________________ IdxCount
|
||||||
|
#fd60b270: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ; #000 *
|
||||||
|
#fd60b2b0: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001 ; #001 *
|
||||||
|
#fd60b2f0: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002 ; #002 *
|
||||||
|
#fd60b330: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000003 ; #003 *
|
||||||
|
#fd60b370: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000004 ; #004 *
|
||||||
|
#fd60b3b0: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000005 ; #005 *
|
||||||
|
#fd60b3f0: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000006 ; #006 *
|
||||||
|
#fd60b430: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000007 ; #007 *
|
||||||
|
#fd60b470: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000008 ; #008 *
|
||||||
|
#fd60b4b0: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000009 ; #009 *
|
||||||
|
#fd60b4f0: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000000a ; #010 *
|
||||||
|
#fd60b530: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000000b ; #011 *
|
||||||
|
#fd60b570: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000000c ; #012 *
|
||||||
|
#fd60b5b0: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000000d ; #013 *
|
||||||
|
#fd60b5f0: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000000e ; #014 *
|
||||||
|
#fd60b630: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000000f ; #015 *
|
||||||
|
#fd60b670: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000010 ; #016 *
|
||||||
|
#fd60b6b0: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000011 ; #017 *
|
||||||
|
#fd60b6f0: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000012 ; #018 *
|
||||||
|
#fd60b730: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000013 ; #019 *
|
||||||
|
#fd60b770: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000014 ; #020 *
|
||||||
|
#fd60b7b0: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000015 ; #021 *
|
||||||
|
#fd60b7f0: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000016 ; #022 *
|
||||||
|
#fd60b830: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000017 ; #023 *
|
||||||
|
#fd60b870: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000018 ; #024 *
|
||||||
|
#fd60b8b0: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000019 ; #025 *
|
||||||
|
#fd60b8f0: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000001a ; #026 *
|
||||||
|
#fd60b930: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000001b ; #027 *
|
||||||
|
#fd60b970: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000001c ; #028 *
|
||||||
|
#fd60b9b0: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000001d ; #029 *
|
||||||
|
#fd60b9f0: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000001e ; #030 *
|
||||||
|
#fd60ba30: 00000000 00000000 00000000 0000 ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000001f ; #031 *
|
||||||
|
|
||||||
|
File /proc/STAPI/stpti/PTI0/MemoryStatistics
|
||||||
|
********************************************
|
||||||
|
|
||||||
|
ObjManMemoryTally 31624 bytes
|
||||||
|
ObjManHighWaterMark 35088 bytes
|
||||||
|
Sizeof STPTI_Driver global data 1240 bytes
|
||||||
|
|
||||||
|
File /proc/STAPI/stpti/PTI0/ObjectTree
|
||||||
|
**************************************
|
||||||
|
|
||||||
|
0x81d53400 [00f0bfff] vDevice0 StreamID=1 Protocol=0
|
||||||
|
0x819d31a0 [0000ffff] Session0
|
||||||
|
0x81a9ea60 [0001c000] Signal0 {Buffer32}
|
||||||
|
0x81a9e9e0 [0001c001] Signal1
|
||||||
|
0x81a9e960 [0001c002] Signal2
|
||||||
|
0x81a9e8e0 [0001c003] Signal3
|
||||||
|
0x81a9e860 [0001c004] Signal4
|
||||||
|
0x81a9e7e0 [0001c005] Signal5
|
||||||
|
0x81a9e760 [0001c006] Signal6
|
||||||
|
0x81a9e6e0 [0001c007] Signal7
|
||||||
|
0x81a9e660 [0001c008] Signal8
|
||||||
|
0x81a9e5a0 [0001c009] Signal9
|
||||||
|
0x81a9e520 [0001c00a] Signal10
|
||||||
|
0x81a9e4a0 [0001c00b] Signal11
|
||||||
|
0x81a9e420 [0001c00c] Signal12
|
||||||
|
0x81a9e3a0 [0001c00d] Signal13
|
||||||
|
0x81a9e320 [0001c00e] Signal14
|
||||||
|
0x81a9e2a0 [0001c00f] Signal15
|
||||||
|
0x81a9e220 [0001c010] Signal16
|
||||||
|
0x81a9e1e0 [0001c011] Signal17
|
||||||
|
0x81a9e160 [0001c012] Signal18
|
||||||
|
0x81be5fa0 [0001c013] Signal19
|
||||||
|
0x81be5f20 [0001c014] Signal20
|
||||||
|
0x81be5ea0 [0001c015] Signal21
|
||||||
|
0x81be5e20 [0001c016] Signal22
|
||||||
|
0x81be5da0 [0001c017] Signal23
|
||||||
|
0x81be5d20 [0001c018] Signal24
|
||||||
|
0x81be5ca0 [0001c019] Signal25
|
||||||
|
0x81be5c20 [0001c01a] Signal26
|
||||||
|
0x81be5ba0 [0001c01b] Signal27
|
||||||
|
0x81be5b20 [0001c01c] Signal28
|
||||||
|
0x81be5aa0 [0001c01d] Signal29
|
||||||
|
0x81be5a20 [0001c01e] Signal30
|
||||||
|
0x81be59a0 [0001c01f] Signal31
|
||||||
|
0x81f10240 [00014020] Buffer32 DMA=0,Size=0x292000 {Signal0,Slot33,Slot34,Slot35,Slot36,Slot37,Slot38,Slot39,Slot40,Slot41,Slot42,Slot43,Slot44}
|
||||||
|
0x81a137e0 [00028021] Slot33 Idx=0,Mode=3,Pid=0x0012 {Buffer32}
|
||||||
|
0x81a13860 [00028022] Slot34 Idx=1,Mode=3,Pid=0x0bba {Buffer32}
|
||||||
|
0x81a138e0 [00028023] Slot35 Idx=2,Mode=3,Pid=0x0bbb {Buffer32}
|
||||||
|
0x81a13960 [00028024] Slot36 Idx=3,Mode=3,Pid=0x1b94 {Buffer32}
|
||||||
|
0x81a134e0 [00028025] Slot37 Idx=4,Mode=3,Pid=0x1b95 {Buffer32}
|
||||||
|
0x81a131e0 [00028026] Slot38 Idx=5,Mode=3,Pid=0x1b96 {Buffer32}
|
||||||
|
0x81a139e0 [00028027] Slot39 Idx=6,Mode=3,Pid=0x0000 {Buffer32}
|
||||||
|
0x81a13ce0 [00028028] Slot40 Idx=7,Mode=3,Pid=0x0001 {Buffer32}
|
||||||
|
0x81a135e0 [00028029] Slot41 Idx=8,Mode=3,Pid=0x0010 {Buffer32}
|
||||||
|
0x81a13b60 [0002802a] Slot42 Idx=9,Mode=3,Pid=0x0011 {Buffer32}
|
||||||
|
0x81a13be0 [0002802b] Slot43 Idx=10,Mode=3,Pid=0x1b9f {Buffer32}
|
||||||
|
0x81a13260 [0002802c] Slot44 Idx=11,Mode=3,Pid=0x0201 {Buffer32}
|
||||||
|
|
||||||
|
File /proc/STAPI/stpti/PTI0/PIDTable
|
||||||
|
************************************
|
||||||
|
(rel) PID
|
||||||
|
#fd606410: 0012 ; #000
|
||||||
|
#fd606412: 0bba ; #001
|
||||||
|
#fd606414: 0bbb ; #002
|
||||||
|
#fd606416: 1b94 ; #003
|
||||||
|
#fd606418: 1b95 ; #004
|
||||||
|
#fd60641a: 1b96 ; #005
|
||||||
|
#fd60641c: 0000 ; #006
|
||||||
|
#fd60641e: 0001 ; #007
|
||||||
|
#fd606420: 0010 ; #008
|
||||||
|
#fd606422: 0011 ; #009
|
||||||
|
#fd606424: 1b9f ; #010
|
||||||
|
#fd606426: 0201 ; #011
|
||||||
|
#fd606428: e000 ; #012
|
||||||
|
#fd60642a: e000 ; #013
|
||||||
|
#fd60642c: e000 ; #014
|
||||||
|
#fd60642e: e000 ; #015
|
||||||
|
#fd606430: e000 ; #016
|
||||||
|
#fd606432: e000 ; #017
|
||||||
|
#fd606434: e000 ; #018
|
||||||
|
#fd606436: e000 ; #019
|
||||||
|
#fd606438: e000 ; #020
|
||||||
|
#fd60643a: e000 ; #021
|
||||||
|
#fd60643c: e000 ; #022
|
||||||
|
#fd60643e: e000 ; #023
|
||||||
|
#fd606440: e000 ; #024
|
||||||
|
#fd606442: e000 ; #025
|
||||||
|
#fd606444: e000 ; #026
|
||||||
|
#fd606446: e000 ; #027
|
||||||
|
#fd606448: e000 ; #028
|
||||||
|
#fd60644a: e000 ; #029
|
||||||
|
#fd60644c: e000 ; #030
|
||||||
|
#fd60644e: e000 ; #031
|
||||||
|
|
||||||
|
File /proc/STAPI/stpti/PTI0/PrintBuffer
|
||||||
|
***************************************
|
||||||
|
|
||||||
|
stptiAPI_DriverInit:304: Initialising STPTI Driver STPTI5-REL_1.6.3 (DVB) on 7108 Cut2.x
|
||||||
|
stptiAPI_DriverInit:315: (Single CPU) Non IPRC.
|
||||||
|
stptiAPI_DriverInit:323: Registering Objects for TANGO, physical device 0
|
||||||
|
stptiHAL_pDeviceInit:160: Clocks Per Second = 1000.
|
||||||
|
stptiHAL_pDeviceInit:172: TANGO TP mapped... [ fd600000 => fd600000 ]
|
||||||
|
stptiHAL_pDeviceInit:178: Bypassing Secure CoProcessor.
|
||||||
|
stptiHAL_EventTaskInit:136: Started Driver Task 0x819d23e0 (stptiHAL_EventNotifyTask)
|
||||||
|
stptiHAL_pDeviceInit:293: TP ISR installed on number 0x000000a0.
|
||||||
|
stptiHAL_pDeviceInit:311: TP Firmware loaded successfully
|
||||||
|
stptiHAL_pDeviceInit:335: Started TP from reset (waiting for Ready)
|
||||||
|
STxP70_TP: Starting TP version 00070200 [CS0000C60B] $Rev: 1853 $ Built 18:33:15 Feb 21 2012
|
||||||
|
STxP70_TP: Total Usage 34240 of 37000 bytes.
|
||||||
|
stptiHAL_pDeviceInit:454: TP (device0) Started Successfully.
|
||||||
|
stptiHAL_pDeviceInit:458: Across 16 vDevices, there are 256 slots, 96 buffers, 32 indexers, 256 hw section filters.
|
||||||
|
stptiAPI_DriverInit:422: Registering Functions for TSInput, device 0
|
||||||
|
STPTI_Init:305: Initialised Device: "PTI0", PhysicalIndex=0
|
||||||
|
STPTI_Init:305: Initialised Device: "PTI1", PhysicalIndex=0
|
||||||
|
STPTI_Init:305: Initialised Device: "PTI2", PhysicalIndex=0
|
||||||
|
STPTI_Init:305: Initialised Device: "PTI3", PhysicalIndex=0
|
||||||
|
STPTI_Init:305: Initialised Device: "PTI4", PhysicalIndex=0
|
||||||
|
STPTI_Init:305: Initialised Device: "PTI5", PhysicalIndex=0
|
||||||
|
stptiTSHAL_TSInputStfeConfigure:496: Configuring TSInput StreamID 0x0000 (starting Disabled)
|
||||||
|
stptiTSHAL_StfeWritePIDBase:2387: Using Software Leaky PID of period 16650000
|
||||||
|
stptiTSHAL_TSInputStfeEnable:767: Enabling TSInput StreamID 0x0000
|
||||||
|
stptiHAL_pDeviceConfigureLive:934: Starting STFE Live channel 0 on TP (device0)
|
||||||
|
stptiTSHAL_TSInputStfeConfigure:496: Configuring TSInput StreamID 0x0001 (starting Disabled)
|
||||||
|
stptiTSHAL_StfeWritePIDBase:2387: Using Software Leaky PID of period 16650000
|
||||||
|
stptiTSHAL_TSInputStfeEnable:767: Enabling TSInput StreamID 0x0001
|
||||||
|
stptiHAL_pDeviceConfigureLive:934: Starting STFE Live channel 1 on TP (device0)
|
||||||
|
stptiTSHAL_TSInputStfeConfigure:496: Configuring TSInput StreamID 0x0002 (starting Disabled)
|
||||||
|
stptiTSHAL_StfeWritePIDBase:2387: Using Software Leaky PID of period 16650000
|
||||||
|
stptiTSHAL_TSInputStfeEnable:767: Enabling TSInput StreamID 0x0002
|
||||||
|
stptiHAL_pDeviceConfigureLive:934: Starting STFE Live channel 2 on TP (device0)
|
||||||
|
stptiTSHAL_TSInputStfeConfigure:496: Configuring TSInput StreamID 0x0003 (starting Disabled)
|
||||||
|
stptiTSHAL_StfeWritePIDBase:2387: Using Software Leaky PID of period 16650000
|
||||||
|
stptiTSHAL_TSInputStfeEnable:767: Enabling TSInput StreamID 0x0003
|
||||||
|
stptiHAL_pDeviceConfigureLive:934: Starting STFE Live channel 3 on TP (device0)
|
||||||
|
|
||||||
|
File /proc/STAPI/stpti/PTI0/SlotInfo
|
||||||
|
************************************
|
||||||
|
|
||||||
|
(rel) Stat PH Md SecP SFlg Nslt KeyI EvtMask_ Idx# DMA# PktCount
|
||||||
|
#fd606610: 0015 00 03 0000 0002 ffff 0000 001f4c07 ffff 0000 0000814d ; #000 *
|
||||||
|
#fd606650: 0400 00 03 0000 0002 ffff 0000 001f4c07 ffff 0000 00000000 ; #001 *
|
||||||
|
#fd606690: 0400 00 03 0000 0002 ffff 0000 001f4c07 ffff 0000 00000000 ; #002 *
|
||||||
|
#fd6066d0: 0017 00 03 0000 0002 ffff 0000 001f4c07 ffff 0000 00000c0c ; #003 *
|
||||||
|
#fd606710: 0091 00 03 0000 0002 ffff 0000 001f4c07 ffff 0000 0006cb46 ; #004 *
|
||||||
|
#fd606750: 009d 00 03 0000 0002 ffff 0000 001f4c07 ffff 0000 0000628d ; #005 *
|
||||||
|
#fd606790: 001d 00 03 0000 0002 ffff 0000 001f4c07 ffff 0000 00000c72 ; #006 *
|
||||||
|
#fd6067d0: 0016 00 03 0000 0002 ffff 0000 001f4c07 ffff 0000 00000c72 ; #007 *
|
||||||
|
#fd606810: 001b 00 03 0000 0002 ffff 0000 001f4c07 ffff 0000 00000060 ; #008 *
|
||||||
|
#fd606850: 0012 00 03 0000 0002 ffff 0000 001f4c07 ffff 0000 00000c72 ; #009 *
|
||||||
|
#fd606890: 001c 00 03 0000 0002 ffff 0000 001f4c07 ffff 0000 0000028a ; #010 *
|
||||||
|
#fd6068d0: 0019 00 03 0000 0002 ffff 0000 001f4c07 ffff 0000 0000aa13 ; #011 *
|
||||||
|
#fd606910: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #012 *
|
||||||
|
#fd606950: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #013 *
|
||||||
|
#fd606990: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #014 *
|
||||||
|
#fd6069d0: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #015 *
|
||||||
|
#fd606a10: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #016 *
|
||||||
|
#fd606a50: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #017 *
|
||||||
|
#fd606a90: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #018 *
|
||||||
|
#fd606ad0: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #019 *
|
||||||
|
#fd606b10: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #020 *
|
||||||
|
#fd606b50: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #021 *
|
||||||
|
#fd606b90: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #022 *
|
||||||
|
#fd606bd0: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #023 *
|
||||||
|
#fd606c10: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #024 *
|
||||||
|
#fd606c50: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #025 *
|
||||||
|
#fd606c90: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #026 *
|
||||||
|
#fd606cd0: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #027 *
|
||||||
|
#fd606d10: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #028 *
|
||||||
|
#fd606d50: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #029 *
|
||||||
|
#fd606d90: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #030 *
|
||||||
|
#fd606dd0: 0400 00 00 0000 0000 ffff 0000 001f4c07 ffff ffff 00000000 ; #031 *
|
||||||
|
|
||||||
|
File /proc/STAPI/stpti/PTI0/UtilizationTP
|
||||||
|
*****************************************
|
||||||
|
|
||||||
|
11% average cpu usage
|
||||||
|
CLP: .............................Xxx [0000000004]
|
||||||
|
|
||||||
|
|
||||||
|
File /proc/STAPI/stpti/PTI0/pDevice
|
||||||
|
***********************************
|
||||||
|
|
||||||
|
TP_MappedAddress = 0xfd600000 TP_Status = 3 RUNNING
|
||||||
|
TP_InterruptCount = 0001425659 Unhandled_Interrupts = 0000000000
|
||||||
|
TP f/w reported version is 70200, driver compiled in f/w API version 70200
|
||||||
|
Pipeline PacketCounts are in=0040935040 pushed=0010163302 pulled=0010163302 (with 0000000000 PushFailures)
|
||||||
|
TP DebugScratch is 0x00000000 0x00000000 0x00000000 0x00000000
|
||||||
|
0 0 0 0
|
||||||
|
|
||||||
|
File /proc/STAPI/stpti/PTI0/vDeviceInfo
|
||||||
|
***************************************
|
||||||
|
|
||||||
|
(abs) PktC TPErrC CCErr Tag PFB_ PFSz Mode STCWord0 STCWord1 EVENTMSK FLAGS WCSI CAM_p DataEntry
|
||||||
|
#fd606010: 02281f68 00000000 00000004 0001 0000 0020 0001 c715ac2d 0000006f 000e1804 00000000 ffff 0000 00000000 00000000ffff0000000000000000000000000000 ; #000
|
15
debug/proc.txt
Normal file
15
debug/proc.txt
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#
|
||||||
|
# Enable tuner debug
|
||||||
|
#
|
||||||
|
|
||||||
|
echo "deb 0xffffffff" > /proc/bus/nim_sockets
|
||||||
|
|
||||||
|
#
|
||||||
|
# Enable i2c debug
|
||||||
|
#
|
||||||
|
|
||||||
|
echo "i2c_dbg_trans 1" > /proc/bus/ivo_i2c
|
||||||
|
|
||||||
|
#
|
||||||
|
# proc PTI files - see PTI.txt
|
||||||
|
#
|
1
tools/.gitignore
vendored
1
tools/.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
axehelper
|
axehelper
|
||||||
|
axehelper.x86_64
|
||||||
syscall-dump.o
|
syscall-dump.o
|
||||||
syscall-dump.o.x86_64
|
syscall-dump.o.x86_64
|
||||||
syscall-dump.so
|
syscall-dump.so
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
unsigned long
|
static unsigned long
|
||||||
getTick ()
|
getTick ()
|
||||||
{
|
{
|
||||||
static unsigned long init = 0;
|
static unsigned long init = 0;
|
||||||
@ -19,6 +19,256 @@ getTick ()
|
|||||||
return t - init;
|
return t - init;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct regdmp {
|
||||||
|
unsigned flags;
|
||||||
|
unsigned shift;
|
||||||
|
unsigned mask;
|
||||||
|
const char *name;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct reg {
|
||||||
|
unsigned reg;
|
||||||
|
unsigned flags;
|
||||||
|
struct regdmp *wdmp;
|
||||||
|
struct regdmp *rdmp;
|
||||||
|
const char *name;
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct regdmp f129w[] = {
|
||||||
|
{ 0, 3, 1, "I2C_FASTMODE" },
|
||||||
|
{ 0, 0, 3, "I2CADDR_INC" },
|
||||||
|
{ 0, 0, 0, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct regdmp f12aw[] = {
|
||||||
|
{ 0, 7, 1, "I2CT_ON" },
|
||||||
|
{ 0, 4, 7, "ENARPT_LEVEL" },
|
||||||
|
{ 0, 3, 1, "SCLT_DELAY" },
|
||||||
|
{ 0, 2, 1, "STOP_ENABLE" },
|
||||||
|
{ 0, 1, 1, "STOP_SDAT2SDA" },
|
||||||
|
{ 0, 0, 0, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct regdmp f1a0w[] = {
|
||||||
|
{ 0, 7, 1, "TIM_OFF" },
|
||||||
|
{ 0, 6, 1, "DISEQC_RESET" },
|
||||||
|
{ 0, 4, 3, "TIM_CMD" },
|
||||||
|
{ 0, 3, 1, "DIS_PRECHARGE" },
|
||||||
|
{ 0, 0, 7, "DISTX_MODE" },
|
||||||
|
{ 0, 0, 0, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct regdmp f216w[] = {
|
||||||
|
{ 0, 0,31, "DEMOD_MODE" },
|
||||||
|
{ 0, 0, 0, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct regdmp f23dw[] = {
|
||||||
|
{ 0, 8,255,"K_FREQ_HDR" },
|
||||||
|
{ 0, 4,15, "KC_COARSE_EXP" },
|
||||||
|
{ 0, 0,15, "BETA_FREQ" },
|
||||||
|
{ 0, 0, 0, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct regdmp f1a8r[] = {
|
||||||
|
{ 0, 7, 1, "TX_FAIL" },
|
||||||
|
{ 0, 6, 1, "FIFO_FULL" },
|
||||||
|
{ 0, 5, 1, "TX_IDLE" },
|
||||||
|
{ 0, 4, 1, "GAP_BURST" },
|
||||||
|
{ 0, 0,15, "TXFIFO_BYTES" },
|
||||||
|
{ 0, 0, 0, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct regdmp f206r[] = {
|
||||||
|
{ 0, 7, 1, "AGC1_LOCKED" },
|
||||||
|
{ 0, 4, 1, "AGC1_MINPOWER" },
|
||||||
|
{ 0, 3, 1, "AGCOUT_FAST" },
|
||||||
|
{ 0, 0, 7, "AGCIQ_BETA" },
|
||||||
|
{ 0, 0, 0, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct regdmp f211r[] = {
|
||||||
|
{ 0, 7, 1, "MANUAL_MODCOD" },
|
||||||
|
{ 0, 2,31, "DEMOD_MODCOD" },
|
||||||
|
{ 0, 0, 3, "DEMOD_TYPE" },
|
||||||
|
{ 0, 0, 0, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct regdmp f212r[] = {
|
||||||
|
{ 0, 7, 1, "CAR_LOCK" },
|
||||||
|
{ 0, 5, 3, "TMGLOCK_QUALITY" },
|
||||||
|
{ 0, 3, 1, "LOCK_DEFINITE" },
|
||||||
|
{ 0, 0, 1, "OVADC_DETECT" },
|
||||||
|
{ 0, 0, 0, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct regdmp f33er[] = {
|
||||||
|
{ 0, 4, 1, "PRFVIT" },
|
||||||
|
{ 0, 3, 1, "LOCKEDVIT" },
|
||||||
|
{ 0, 0, 0, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct regdmp f369r[] = {
|
||||||
|
{ 0, 7, 1, "PKTDELIN_DELOCK" },
|
||||||
|
{ 0, 6, 1, "SYNCDUPDFL_BADDFL" },
|
||||||
|
{ 0, 5, 1, "CONTINUOUS_STREAM" },
|
||||||
|
{ 0, 4, 1, "UNACCEPTED_STREAM" },
|
||||||
|
{ 0, 3, 1, "BCH_ERROR_FLAG" },
|
||||||
|
{ 0, 1, 1, "PKTDELIN_LOCK" },
|
||||||
|
{ 0, 0, 1, "FIRST_LOCK" },
|
||||||
|
{ 0, 0, 0, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct regdmp f381r[] = {
|
||||||
|
{ 0, 7, 1, "TSFIFO_LINEOK" },
|
||||||
|
{ 0, 6, 1, "TSFIFO_ERROR" },
|
||||||
|
{ 0, 0, 1, "DIL_READY" },
|
||||||
|
{ 0, 0, 0, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct reg reg_tbl[] = {
|
||||||
|
{ 0xf129, 0, f129w, NULL, "I2CCFG" },
|
||||||
|
{ 0xf12a, 0, f12aw, NULL, "P1_I2CRPT" },
|
||||||
|
{ 0xf1a0, 0, f1a0w, NULL, "P1_DISTXCTL" },
|
||||||
|
{ 0xf1a7, 0, NULL, NULL, "P1_DISTXDATA" },
|
||||||
|
{ 0xf1a8, 0, NULL, f1a8r, "P1_DISTXSTATUS" },
|
||||||
|
{ 0xf206, 0, NULL, f206r, "P2_AGC1CN" },
|
||||||
|
{ 0xf20e, 0, NULL, NULL, "P2_AGCIQIN1" },
|
||||||
|
{ 0xf211, 0, NULL, f211r, "P2_DMDMODCOD" },
|
||||||
|
{ 0xf212, 0, NULL, f212r, "P2_DSTATUS" },
|
||||||
|
{ 0xf216, 0, f216w, NULL, "P2_DMDISTATE" },
|
||||||
|
{ 0xf22d, 0, NULL, NULL, "P2_AGC2_REF" },
|
||||||
|
{ 0xf23d, 0, f23dw, NULL, "P2_CARFREQ" },
|
||||||
|
{ 0xf248, 0, NULL, NULL, "P2_CFRINIT1" },
|
||||||
|
{ 0xf25e, 0, NULL, NULL, "P2_SFRINIT1" },
|
||||||
|
{ 0xf280, 0, NULL, NULL, "P2_NNOSDATAT1" },
|
||||||
|
{ 0xf284, 0, NULL, NULL, "P2_NNOSPLHT1" },
|
||||||
|
{ 0xf33e, 0, NULL, f33er, "P2_VSTATUSVIT" },
|
||||||
|
{ 0xf369, 0, NULL, f369r, "P2_PDELSTATUS1" },
|
||||||
|
{ 0xf381, 0, NULL, f381r, "P2_TSSTATUS" },
|
||||||
|
{ 0xf399, 0, NULL, NULL, "P2_ERRCNT12" },
|
||||||
|
{ 0xf406, 0, NULL, f206r, "P1_AGC1CN" },
|
||||||
|
{ 0xf40e, 0, NULL, NULL, "P1_AGCIQIN1" },
|
||||||
|
{ 0xf411, 0, NULL, f211r, "P1_DMDMODCOD" },
|
||||||
|
{ 0xf412, 0, NULL, f212r, "P1_DSTATUS" },
|
||||||
|
{ 0xf416, 0, f216w, NULL, "P1_DMDISTATE" },
|
||||||
|
{ 0xf42d, 0, NULL, NULL, "P1_AGC2_REF" },
|
||||||
|
{ 0xf43d, 0, f23dw, NULL, "P1_CARFREQ" },
|
||||||
|
{ 0xf448, 0, NULL, NULL, "P1_CFRINIT1" },
|
||||||
|
{ 0xf45e, 0, NULL, NULL, "P1_SFRINIT1" },
|
||||||
|
{ 0xf480, 0, NULL, NULL, "P1_NNOSDATAT1" },
|
||||||
|
{ 0xf484, 0, NULL, NULL, "P1_NNOSPLHT1" },
|
||||||
|
{ 0xf53e, 0, NULL, f33er, "P1_VSTATUSVIT" },
|
||||||
|
{ 0xf569, 0, NULL, f369r, "P1_PDELSTATUS1" },
|
||||||
|
{ 0xf581, 0, NULL, f381r, "P1_TSSTATUS" },
|
||||||
|
{ 0xf599, 0, NULL, NULL, "P1_ERRCNT12" },
|
||||||
|
{ 0, 0, NULL, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
static int
|
||||||
|
i2c_line(int rd, int t1, const char *s)
|
||||||
|
{
|
||||||
|
static struct reg *old_rt[2] = { NULL, NULL };
|
||||||
|
static int old_cmd[2] = { 0, 0 };
|
||||||
|
int r, addr, cnt, d[16], val;
|
||||||
|
struct reg *rt;
|
||||||
|
struct regdmp *rtd;
|
||||||
|
char buf[1024];
|
||||||
|
|
||||||
|
r = sscanf(s + 11, "%x, %d) %x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x",
|
||||||
|
&addr, &cnt,
|
||||||
|
&d[0], &d[1], &d[2], &d[3], &d[4], &d[5], &d[6], &d[7],
|
||||||
|
&d[8], &d[9], &d[10], &d[11], &d[12], &d[13], &d[14], &d[15]);
|
||||||
|
if (r < 3 || cnt != r - 2)
|
||||||
|
return -1;
|
||||||
|
if (addr < 0xd0 || addr > 0xd3)
|
||||||
|
return -1;
|
||||||
|
if (rd) {
|
||||||
|
if (old_rt[t1] == NULL)
|
||||||
|
return -1;
|
||||||
|
if (cnt < 1) {
|
||||||
|
old_rt[t1] = NULL;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
val = d[0];
|
||||||
|
if (cnt > 1)
|
||||||
|
val |= d[1] << 8;
|
||||||
|
if (cnt > 2)
|
||||||
|
val |= d[2] << 16;
|
||||||
|
if (cnt > 3)
|
||||||
|
val |= d[3] << 24;
|
||||||
|
snprintf(buf, sizeof(buf), "%-40s ;", s);
|
||||||
|
for (rtd = old_rt[t1]->rdmp; rtd && rtd->name; rtd++) {
|
||||||
|
if (strlen(buf) > 70) {
|
||||||
|
printf("%s\n", buf);
|
||||||
|
sprintf(buf, "%40s ;", "");
|
||||||
|
}
|
||||||
|
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " %s=0x%x",
|
||||||
|
rtd->name, (val >> rtd->shift) & rtd->mask);
|
||||||
|
}
|
||||||
|
printf("%s\n", buf);
|
||||||
|
old_rt[t1] = NULL;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
if (d[0] < 0xf1 || d[0] > 0xf5)
|
||||||
|
return -1;
|
||||||
|
if (cnt < 2)
|
||||||
|
return -1;
|
||||||
|
old_cmd[t1] = (d[0] << 8) | d[1];
|
||||||
|
for (rt = reg_tbl; rt->name; rt++)
|
||||||
|
if (rt->reg == old_cmd[t1])
|
||||||
|
break;
|
||||||
|
if (rt->name == NULL)
|
||||||
|
return -1;
|
||||||
|
old_rt[t1] = rt;
|
||||||
|
val = 0;
|
||||||
|
if (cnt > 2)
|
||||||
|
val = d[2];
|
||||||
|
if (cnt > 3)
|
||||||
|
val |= d[3] << 8;
|
||||||
|
if (cnt > 4)
|
||||||
|
val |= d[4] << 16;
|
||||||
|
if (cnt > 5)
|
||||||
|
val |= d[5] << 24;
|
||||||
|
snprintf(buf, sizeof(buf), "%-40s ; %s", s, rt->name);
|
||||||
|
for (rtd = old_rt[t1]->wdmp; rtd && rtd->name; rtd++) {
|
||||||
|
if (strlen(buf) > 70) {
|
||||||
|
printf("%s\n", buf);
|
||||||
|
sprintf(buf, "%40s ;", "");
|
||||||
|
}
|
||||||
|
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " %s=0x%x",
|
||||||
|
rtd->name, (val >> rtd->shift) & rtd->mask);
|
||||||
|
}
|
||||||
|
printf("%s\n", buf);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
i2c_decoder(void)
|
||||||
|
{
|
||||||
|
char buf[1024];
|
||||||
|
int r;
|
||||||
|
|
||||||
|
while (!feof(stdin)) {
|
||||||
|
if (fgets(buf, sizeof(buf), stdin) == NULL)
|
||||||
|
break;
|
||||||
|
if (buf[0] == '\0')
|
||||||
|
continue;
|
||||||
|
buf[strlen(buf)-1] = '\0';
|
||||||
|
r = -1;
|
||||||
|
if (!strncmp(buf, "[i2c] wrte(", 11))
|
||||||
|
r = i2c_line(0, 0, buf);
|
||||||
|
else if (!strncmp(buf, "[i2c] read(", 11))
|
||||||
|
r = i2c_line(1, 0, buf);
|
||||||
|
else if (!strncmp(buf, "[i2c] t1_w(", 11))
|
||||||
|
r = i2c_line(0, 1, buf);
|
||||||
|
else if (!strncmp(buf, "[i2c] t1_r(", 11))
|
||||||
|
r = i2c_line(1, 1, buf);
|
||||||
|
if (r < 0)
|
||||||
|
printf("%s\n", buf);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
if (argc > 1 && !strcmp(argv[1], "wait")) {
|
if (argc > 1 && !strcmp(argv[1], "wait")) {
|
||||||
@ -35,5 +285,8 @@ int main(int argc, char *argv[])
|
|||||||
if (f && !access(f, R_OK))
|
if (f && !access(f, R_OK))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (argc > 1 && !strcmp(argv[1], "i2c_decoder")) {
|
||||||
|
i2c_decoder();
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user