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