Project

General

Profile

EC20 Linux » History » Version 4

laforge, 12/25/2016 04:29 PM

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