Project

General

Profile

EC20 Linux » History » Version 3

laforge, 12/19/2016 04:27 PM

1 3 laforge
{{>toc}}
2
3 1 laforge
h1. EC20 Linux
4
5
h2. SMD
6
7
<pre>
8
root@9615-cdp:/sys/kernel/debug/smd# cat tbl
9
name=DS cid=0 ch type=0 xfer type=1 ref_count=2
10
name= cid=0 ch type=0 xfer type=0 ref_count=0
11
name= cid=0 ch type=0 xfer type=0 ref_count=0
12
name= cid=0 ch type=0 xfer type=0 ref_count=0
13
name=MSGR_SMD_P1 cid=4 ch type=11 xfer type=2 ref_count=2
14
name=MSGR_SMD_P0 cid=5 ch type=11 xfer type=2 ref_count=2
15
name=IPCRTR cid=6 ch type=1 xfer type=2 ref_count=1
16
name=IPCRTR cid=7 ch type=2 xfer type=2 ref_count=1
17
name=sys_mon cid=8 ch type=1 xfer type=2 ref_count=1
18
name=DIAG_CNTL cid=9 ch type=1 xfer type=2 ref_count=2
19
name=DIAG cid=10 ch type=1 xfer type=2 ref_count=2
20
name=apr_audio_svc cid=11 ch type=1 xfer type=2 ref_count=1
21
name=apr_voice_svc cid=12 ch type=2 xfer type=2 ref_count=2
22
name=apr_apps2 cid=13 ch type=1 xfer type=2 ref_count=1
23
name=RPCRPY_CNTL cid=14 ch type=0 xfer type=2 ref_count=2
24
name=IPCROUTER cid=15 ch type=0 xfer type=0 ref_count=1
25
name=SSM_RTR cid=16 ch type=0 xfer type=2 ref_count=1
26
name=sys_mon cid=17 ch type=0 xfer type=2 ref_count=1
27
name=DIAG_2 cid=18 ch type=0 xfer type=2 ref_count=2
28
name=DIAG_CNTL cid=19 ch type=0 xfer type=2 ref_count=2
29
name=DIAG cid=20 ch type=0 xfer type=2 ref_count=2
30
name=apr_voice_svc cid=21 ch type=0 xfer type=2 ref_count=1
31
name=DATA1 cid=22 ch type=0 xfer type=2 ref_count=2
32
name=DATA2 cid=23 ch type=0 xfer type=2 ref_count=2
33
name=DATA3 cid=24 ch type=0 xfer type=2 ref_count=2
34
name=DATA4 cid=25 ch type=0 xfer type=2 ref_count=2
35
name=DATA11 cid=26 ch type=0 xfer type=1 ref_count=2
36
name=DATA40 cid=27 ch type=0 xfer type=2 ref_count=2
37
name=DATA40_CNTL cid=28 ch type=0 xfer type=2 ref_count=2
38
name=DATA8 cid=29 ch type=0 xfer type=2 ref_count=2
39
name=DATA5_CNTL cid=30 ch type=0 xfer type=2 ref_count=2
40
name=DATA6_CNTL cid=31 ch type=0 xfer type=2 ref_count=2
41
name=DATA7_CNTL cid=32 ch type=0 xfer type=2 ref_count=2
42
name=DATA8_CNTL cid=33 ch type=0 xfer type=2 ref_count=2
43
name=GPSNMEA cid=34 ch type=0 xfer type=2 ref_count=2
44
</pre>
45
46
<pre>
47
root@9615-cdp:/sys/kernel/debug/smd# cat ch 
48
ch00:   OPENED(0000/0000) dcCiwrsb <->   OPENED(0000/0000) dCciwrsB :  2000
49
ch04:   OPENED(12944/12944) DCCiwrsB <->   OPENED(12312/12312) DCCiwrsB :  8000
50
ch05:   OPENED(0000/0000) DCCiwrsb <->   OPENED(28712/28712) DCCiwrsB : 10000
51
ch06:   OPENED(1872/1872) DCCiwrsB <->   OPENED(0216/0216) DCCiwrsB :  2000
52
ch07:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) DCCiwrSb :  2000
53
ch08:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) DCCiwrSb :   400
54
ch09:   OPENED(0952/0952) DCCiwrsb <->   OPENED(0438/0438) DCCiwrsB :   400
55
ch10:   OPENED(0000/0000) DCCiwrsb <->   OPENED(0000/0000) DCCiwrsb :  2000
56
ch11:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) DCCiwrSb :  2000
57
ch12:   OPENED(0000/0000) DCCiwrsb <->   OPENED(0000/0000) DCCiwrsb :  2000
58
ch13:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) DCCiwrSb :  2000
59
ch14:   OPENED(0412/0412) DCCiwrsB <->   OPENED(0140/0140) DCCiwrsB :   400
60
ch15:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) DCCiwrSb :  2000
61
ch16:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) DCCiwrSb :  2000
62
ch17:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) DCCiwrSb :   400
63
ch18:   OPENED(0000/0000) DCCiwrsb <->   OPENED(0000/0000) DCCiwrsb :  2000
64
ch19:   OPENED(0952/0952) DCCiwrsb <->   OPENED(0370/0370) DCCiwrsB :   400
65
ch20:   OPENED(0000/0000) DCCiwrsb <->   OPENED(0000/0000) DCCiwrsb :  2000
66
ch21:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) DCCiwrSb :  2000
67
ch22:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) dCciwrSb :  2000
68
ch23:   OPENED(0000/0000) dcCiwrsb <->   OPENED(0000/0000) dCciwrsb :  2000
69
ch24:   OPENED(0000/0000) DCCiwrsb <->   OPENED(0000/0000) dCciwrsb :  2000
70
ch25:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) dCciwrSb :  2000
71
ch26:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) dCciwrSb :  2000
72
ch27:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) dcciwrSb :  2000
73
ch28:   OPENED(0000/0000) DCCiwrsb <->   OPENED(0000/0000) DCCiwrsB :  2000
74
ch29:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) dcciwrSb :  2000
75
ch30:   OPENED(0266/0266) DCCiwrsB <->   OPENED(0807/0807) DCCiwrsB :   400
76
ch31:   OPENED(0237/0237) DCCiwrsB <->   OPENED(0415/0415) DCCiwrsB :   400
77
ch32:   OPENED(0237/0237) DCCiwrsB <->   OPENED(0415/0415) DCCiwrsB :   400
78
ch33:   OPENED(0237/0237) DCCiwrsB <->   OPENED(0415/0415) DCCiwrsB :   400
79
ch34:   OPENED(0000/0000) DCCiwrsb <->   OPENED(0000/0000) dCciwrsb :  2000
80
</pre>
81
82 2 laforge
h2. ASOC
83
84
<pre>
85
root@9615-cdp:/sys/kernel/debug/asoc# cat dais
86
rt5616-aif1
87
null-codec-dai
88
null-codec-dai
89
null-codec-dai
90
null-codec-dai
91
null-codec-dai
92
null-codec-dai
93
null-codec-dai
94
null-codec-dai
95
null-codec-dai
96
null-codec-dai
97
null-codec-dai
98
null-codec-dai
99
null-codec-dai
100
msm-dai-stub
101
DTMF_RX_HOSTLESS
102
SEC_I2S_RX_HOSTLESS
103
MI2S_TX_HOSTLESS
104
VoLTE
105
VOICE_STUB
106
AUXPCM_HOSTLESS
107
HDMI_HOSTLESS
108
AFE-PROXY
109
INT_FM_HOSTLESS
110
SLIMBUS0_HOSTLESS
111
MultiMedia4
112
MultiMedia3
113
VoIP
114
CS-VOICE
115
MultiMedia2
116
MultiMedia1
117
msm-dai-q6.32771
118
msm-dai-q6.32772
119
msm-dai-q6.32773
120
msm-dai-q6.13
121
msm-dai-q6.12
122
msm-dai-q6.3
123
msm-dai-q6.2
124
msm-dai-q6.225
125
msm-dai-q6.241
126
msm-dai-q6.240
127
msm-dai-q6.224
128
msm-dai-q6.5
129
msm-dai-q6.4
130
msm-dai-q6.1
131
msm-dai-q6.0
132
msm-dai-q6.12289
133
msm-dai-q6.12288
134
msm-dai-q6.16385
135
msm-dai-q6.16384
136
msm-stub-tx
137
msm-stub-rx
138
</pre>
139
140
<pre>
141
root@9615-cdp:/sys/kernel/debug/asoc# cat platforms 
142
msm-pcm-hostless
143
msm-pcm-afe
144
msm-pcm-routing
145
msm-multi-ch-pcm-dsp
146
msm-pcm-dsp
147
msm-host-pcm-voice
148
msm-pcm-dtmf
149
msm-voip-dsp
150
msm-pcm-voice
151
snd-soc-dummy
152
</pre>
153
154
155 1 laforge
156
h2. BAM
157
158
<pre>
159
root@9615-cdp:/sys/kernel/debug/bam_dmux# cat tbl
160
ch00  local open=Y  remote open=Y
161
ch01  local open=Y  remote open=Y
162
ch02  local open=Y  remote open=Y
163
ch03  local open=Y  remote open=Y
164
ch04  local open=N  remote open=N
165
ch05  local open=N  remote open=N
166
ch06  local open=N  remote open=N
167
ch07  local open=N  remote open=N
168
ch08  local open=N  remote open=N
169
</pre>
170
171
<pre>
172
root@9615-cdp:/sys/kernel/debug/bam_dmux# cat log
173
<DMUX> timestamp FLAGS [Message]
174
FLAGS:
175
        D: 1 = Power collapse disabled
176
        R: 1 = in global reset
177
        P: 1 = BAM is powered up
178
        A: 1 = BAM initialized and ready for data
179
180
        V: 1 = Uplink vote for power
181
        U: 1 = Uplink active
182
        W: 1 = Uplink Wait-for-ack
183
        A: 1 = Uplink ACK received
184
        #: >=1 On-demand uplink vote
185
        D: 1 = Disconnect ACK active
186
<DMUX> 2.068151990 drPa vuwa0D bam_dmux_smsm_cb: 0x00000000 -> 0x0800802b
187
<DMUX> 2.068182511 drPa vuwa0D bam_dmux_smsm_cb: init
188
<DMUX> 2.068213031 drPa vuwa0D grab_wakelock: ref count = 0
189
<DMUX> 2.068213031 drPa vuwa0D vote_dfab
190
<DMUX> 2.072150159 drPa vuwa0D toggle_apps_ack: apps ack 0->1
191
<DMUX> 2.072333281 drPA vuwa0D grab_wakelock: ref count = 1
192
<DMUX> 2.072363802 drPA vuwa0D handle_bam_mux_cmd: opening cid 0 PC disabled
193
<DMUX> 2.072913168 DrPA vUwa0D handle_bam_mux_cmd: opening cid 1 PC disabled
194
<DMUX> 2.073157331 DrPA vUwa0D handle_bam_mux_cmd: opening cid 2 PC disabled
195
<DMUX> 2.073401494 DrPA vUwa0D handle_bam_mux_cmd: opening cid 3 PC disabled
196
<DMUX> 2.135632534 DrPA vUwa0D release_wakelock: ref count = 2
197
<DMUX> 3.072424842 DrPA vUwa0D ul_powerdown: powerdown
198
<DMUX> 3.072455363 DrPA vUwa0D release_wakelock: ref count = 1
199
<DMUX> 3.072455363 DrPA vuwa0D unvote_dfab
200
<DMUX> 4.041233022 DrPA vuwa0D bam_dmux_smsm_cb: 0x08008029 -> 0x0800a02b
201
<DMUX> 4.041263542 DrPA vuwa0D bam_dmux_smsm_cb: already processed this state
202
<DMUX> 10.602899433 DrPA vuwa0D grab_wakelock: ref count = 0
203
<DMUX> 10.602929954 DrPA vuwa0D vote_dfab
204
<DMUX> 10.603479320 DrPA vUwa0D notify_all: cid=0, event=2, data=0
205
<DMUX> 11.603815044 DrPA vUwa0D ul_timeout: pkt written 1
206
<DMUX> 12.606409276 DrPA vUwa0D ul_powerdown: powerdown
207
<DMUX> 12.606439796 DrPA vUwa0D release_wakelock: ref count = 1
208
<DMUX> 12.606439796 DrPA vuwa0D notify_all: cid=0, event=3, data=0
209
<DMUX> 12.606470317 DrPA vuwa0D notify_all: cid=1, event=3, data=0
210
<DMUX> 12.606470317 DrPA vuwa0D notify_all: cid=2, event=3, data=0
211
<DMUX> 12.606500837 DrPA vuwa0D notify_all: cid=3, event=3, data=0
212
<DMUX> 12.606500837 DrPA vuwa0D unvote_dfab
213
</pre>
Add picture from clipboard (Maximum size: 48.8 MB)