Project

General

Profile

EC25 » History » Version 6

laforge, 12/16/2016 09:58 PM

1 4 laforge
{{>toc}}
2
3 1 laforge
h1. EC25
4
5 3 laforge
Below testing has been made on an EC25-E Revision: EC25EFAR02A03M4G (according to ATI0 and the label on the device)
6
7 2 laforge
h2. serial console
8
9
In the EC25-E miniPCI that was analyzed, the serial console of bootloader and Linux appears to be active on pins 11+12 of the LGA module (DBG_RXD, DBG_TXD). The console is at 1.8V and at 115200bps.
10
11 5 laforge
h2. processes
12
13
h3. quectel_daemon
14
15
seems to be primarily concerned with voice routing / alsa codec related bits, including playback of ringtones
16
17
h3. atfwd_daemon
18
19
implements Quectel specific extensions to the AT command interpreter (ATCOP) using the QMI framework to register them in the modem processor
20
21
h3. Quec_WIFI_CLI
22
23
h3. /usr/bin/time_daemon
24
25
h3. /usr/bin/mbimd
26
27
h3. /usr/bin/pdc_daemon
28
29
h3. /usr/bin/diagrebootapp
30
31
an application registering a DIAG command to reboot Linux?
32
33
h3. /sbin/reboot-daemon
34
35
h3. wlan_services
36
37
h3. /usr/bin/qmi_ip_multiclient
38
39
h3. eMBMs_TunnelingModule
40
41
something related to eMBMS (evolved=LTE Multicast)
42
43
h3. alsaucm_test
44
45
h3. /usr/bin/quectel-remotefs-service
46
47
h3. /usr/bin/quectel_psm_aware
48
49
h3. /usr/bin/quectel_monitor_daemon
50
51
h3. /usr/bin/quectel-gps-handle
52
53
h3. /usr/bin/qmi_shutdown_modem
54
55
h3. /usr/bin/netmgrd
56
57
h3. /usr/bin/thermal-engine
58
59 6 laforge
some kind of thermal management for the MSM SoC
60
61 5 laforge
h3. /usr/bin/qmuxd
62
63
h3. /usr/bin/quectel_pcm_daemon
64
65
related to alsa soc (asoc) codec configuration, uses /etc/auxpcm.conf
66
67
h3. /usr/bin/qti
68
69
h3. QCMAP_ConnectionManager
70
71
h3. ipacmdiag
72
73
related to https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/data-ipa-cfg-mgr/ ?
74
h3. ipacm_perf
75
76
related to https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/data-ipa-cfg-mgr/ ?
77
78
h3. psmd
79
80
/dev/socket/psm
81
82
h3. /sbin/adbd
83
84
android debug bridge.
85
86
h2. misc outputs
87
88
h3. lsusb output
89 1 laforge
90
<pre>
91
Bus 001 Device 058: ID 2c7c:0125··
92
Device Descriptor:
93
  bLength                18
94
  bDescriptorType         1
95
  bcdUSB               2.00
96
  bDeviceClass            0 (Defined at Interface level)
97
  bDeviceSubClass         0·
98
  bDeviceProtocol         0·
99
  bMaxPacketSize0        64
100
  idVendor           0x2c7c·
101
  idProduct          0x0125·
102
  bcdDevice            3.18
103
  iManufacturer           1 Android
104
  iProduct                2 Android
105
  iSerial                 0·
106
  bNumConfigurations      1
107
  Configuration Descriptor:
108
    bLength                 9
109
    bDescriptorType         2
110
    wTotalLength          209
111
    bNumInterfaces          5
112
    bConfigurationValue     1
113
    iConfiguration          0·
114
    bmAttributes         0xa0
115
      (Bus Powered)
116
      Remote Wakeup
117
    MaxPower              500mA
118
    Interface Descriptor:
119
      bLength                 9
120
      bDescriptorType         4
121
      bInterfaceNumber        0
122
      bAlternateSetting       0
123
      bNumEndpoints           2
124
      bInterfaceClass       255 Vendor Specific Class
125
      bInterfaceSubClass    255 Vendor Specific Subclass
126
      bInterfaceProtocol    255 Vendor Specific Protocol
127
      iInterface              0·
128
      Endpoint Descriptor:
129
        bLength                 7
130
        bDescriptorType         5
131
        bEndpointAddress     0x81  EP 1 IN
132
        bmAttributes            2
133
          Transfer Type            Bulk
134
          Synch Type               None
135
          Usage Type               Data
136
        wMaxPacketSize     0x0200  1x 512 bytes
137
        bInterval               0
138
      Endpoint Descriptor:
139
        bLength                 7
140
        bDescriptorType         5
141
        bEndpointAddress     0x01  EP 1 OUT
142
        bmAttributes            2
143
          Transfer Type            Bulk
144
          Synch Type               None
145
          Usage Type               Data
146
        wMaxPacketSize     0x0200  1x 512 bytes
147
        bInterval               0
148
    Interface Descriptor:
149
      bLength                 9
150
      bDescriptorType         4
151
      bInterfaceNumber        1
152
      bAlternateSetting       0
153
      bNumEndpoints           3
154
      bInterfaceClass       255 Vendor Specific Class
155
      bInterfaceSubClass      0·
156
      bInterfaceProtocol      0·
157
      iInterface              0·
158
      ** UNRECOGNIZED:  05 24 00 10 01
159
      ** UNRECOGNIZED:  05 24 01 00 00
160
      ** UNRECOGNIZED:  04 24 02 02
161
      ** UNRECOGNIZED:  05 24 06 00 00
162
      Endpoint Descriptor:
163
        bLength                 7
164
        bDescriptorType         5
165
        bEndpointAddress     0x83  EP 3 IN
166
        bmAttributes            3
167
          Transfer Type            Interrupt
168
          Synch Type               None
169
          Usage Type               Data
170
        wMaxPacketSize     0x000a  1x 10 bytes
171
        bInterval               9
172
      Endpoint Descriptor:
173
        bLength                 7
174
        bDescriptorType         5
175
        bEndpointAddress     0x82  EP 2 IN
176
        bmAttributes            2
177
          Transfer Type            Bulk
178
          Synch Type               None
179
          Usage Type               Data
180
        wMaxPacketSize     0x0200  1x 512 bytes
181
        bInterval               0
182
      Endpoint Descriptor:
183
        bLength                 7
184
        bDescriptorType         5
185
        bEndpointAddress     0x02  EP 2 OUT
186
        bmAttributes            2
187
          Transfer Type            Bulk
188
          Synch Type               None
189
          Usage Type               Data
190
        wMaxPacketSize     0x0200  1x 512 bytes
191
        bInterval               0
192
    Interface Descriptor:
193
      bLength                 9
194
      bDescriptorType         4
195
      bInterfaceNumber        2
196
      bAlternateSetting       0
197
      bNumEndpoints           3
198
      bInterfaceClass       255 Vendor Specific Class
199
      bInterfaceSubClass      0·
200
      bInterfaceProtocol      0·
201
      iInterface              0·
202
      ** UNRECOGNIZED:  05 24 00 10 01
203
      ** UNRECOGNIZED:  05 24 01 00 00
204
      ** UNRECOGNIZED:  04 24 02 02
205
      ** UNRECOGNIZED:  05 24 06 00 00
206
      Endpoint Descriptor:
207
        bLength                 7
208
        bDescriptorType         5
209
        bEndpointAddress     0x85  EP 5 IN
210
        bmAttributes            3
211
          Transfer Type            Interrupt
212
          Synch Type               None
213
          Usage Type               Data
214
        wMaxPacketSize     0x000a  1x 10 bytes
215
        bInterval               9
216
      Endpoint Descriptor:
217
        bLength                 7
218
        bDescriptorType         5
219
        bEndpointAddress     0x84  EP 4 IN
220
        bmAttributes            2
221
          Transfer Type            Bulk
222
          Synch Type               None
223
          Usage Type               Data
224
        wMaxPacketSize     0x0200  1x 512 bytes
225
        bInterval               0
226
      Endpoint Descriptor:
227
        bLength                 7
228
        bDescriptorType         5
229
        bEndpointAddress     0x03  EP 3 OUT
230
        bmAttributes            2
231
          Transfer Type            Bulk
232
          Synch Type               None
233
          Usage Type               Data
234
        wMaxPacketSize     0x0200  1x 512 bytes
235
        bInterval               0
236
    Interface Descriptor:
237
      bLength                 9
238
      bDescriptorType         4
239
      bInterfaceNumber        3
240
      bAlternateSetting       0
241
      bNumEndpoints           3
242
      bInterfaceClass       255 Vendor Specific Class
243
      bInterfaceSubClass      0·
244
      bInterfaceProtocol      0·
245
      iInterface              0·
246
      ** UNRECOGNIZED:  05 24 00 10 01
247
      ** UNRECOGNIZED:  05 24 01 00 00
248
      ** UNRECOGNIZED:  04 24 02 02
249
      ** UNRECOGNIZED:  05 24 06 00 00
250
      Endpoint Descriptor:
251
        bLength                 7
252
        bDescriptorType         5
253
        bEndpointAddress     0x87  EP 7 IN
254
        bmAttributes            3
255
          Transfer Type            Interrupt
256
          Synch Type               None
257
          Usage Type               Data
258
        wMaxPacketSize     0x000a  1x 10 bytes
259
        bInterval               9
260
      Endpoint Descriptor:
261
        bLength                 7
262
        bDescriptorType         5
263
        bEndpointAddress     0x86  EP 6 IN
264
        bmAttributes            2
265
          Transfer Type            Bulk
266
          Synch Type               None
267
          Usage Type               Data
268
        wMaxPacketSize     0x0200  1x 512 bytes
269
        bInterval               0
270
      Endpoint Descriptor:
271
        bLength                 7
272
        bDescriptorType         5
273
        bEndpointAddress     0x04  EP 4 OUT
274
        bmAttributes            2
275
          Transfer Type            Bulk
276
          Synch Type               None
277
          Usage Type               Data
278
        wMaxPacketSize     0x0200  1x 512 bytes
279
        bInterval               0
280
    Interface Descriptor:
281
      bLength                 9
282
      bDescriptorType         4
283
      bInterfaceNumber        4
284
      bAlternateSetting       0
285
      bNumEndpoints           3
286
      bInterfaceClass       255 Vendor Specific Class
287
      bInterfaceSubClass    255 Vendor Specific Subclass
288
      bInterfaceProtocol    255 Vendor Specific Protocol
289
      iInterface              0·
290
      Endpoint Descriptor:
291
        bLength                 7
292
        bDescriptorType         5
293
        bEndpointAddress     0x89  EP 9 IN
294
        bmAttributes            3
295
          Transfer Type            Interrupt
296
          Synch Type               None
297
          Usage Type               Data
298
        wMaxPacketSize     0x0008  1x 8 bytes
299
        bInterval               9
300
      Endpoint Descriptor:
301
        bLength                 7
302
        bDescriptorType         5
303
        bEndpointAddress     0x88  EP 8 IN
304
        bmAttributes            2
305
          Transfer Type            Bulk
306
          Synch Type               None
307
          Usage Type               Data
308
        wMaxPacketSize     0x0200  1x 512 bytes
309
        bInterval               0
310
      Endpoint Descriptor:
311
        bLength                 7
312
        bDescriptorType         5
313
        bEndpointAddress     0x05  EP 5 OUT
314
        bmAttributes            2
315
          Transfer Type            Bulk
316
          Synch Type               None
317
          Usage Type               Data
318
        wMaxPacketSize     0x0200  1x 512 bytes
319
        bInterval               0
320
Device Qualifier (for other device speed):
321
  bLength                10
322
  bDescriptorType         6
323
  bcdUSB               2.00
324
  bDeviceClass            0 (Defined at Interface level)
325
  bDeviceSubClass         0·
326
  bDeviceProtocol         0·
327
  bMaxPacketSize0        64
328
  bNumConfigurations      1
329
Device Status:     0x0000
330
  (Bus Powered)
331 4 laforge
</pre>
332
333
h3. ps
334
335
<pre>
336
root@mdm9607-perf:/firmware/image# ps axuw
337
PID   USER     TIME   COMMAND
338
    1 root       0:06 init [5]
339
    2 root       0:00 [kthreadd]
340
    3 root       0:02 [ksoftirqd/0]
341
    4 root       0:04 [kworker/0:0]
342
    5 root       0:00 [kworker/0:0H]
343
    6 root       0:00 [kworker/u2:0]
344
    7 root       0:00 [rcu_preempt]
345
    8 root       0:00 [rcu_sched]
346
    9 root       0:00 [rcu_bh]
347
   10 root       0:00 [khelper]
348
   11 root       0:00 [netns]
349
   12 root       0:00 [perf]
350
   13 root       0:00 [msm_watchdog]
351
   14 root       0:00 [smd_channel_clo]
352
   15 root       0:00 [smsm_cb_wq]
353
   17 root       0:00 [deferwq]
354
   19 root       0:00 [irq/52-cpr]
355
   20 root       0:00 [mpm]
356
   29 root       0:00 [writeback]
357
   30 root       0:00 [crypto]
358
   31 root       0:00 [bioset]
359
   32 root       0:00 [kblockd]
360
   33 root       0:00 [system]
361
   34 root       0:00 [devfreq_wq]
362
   35 root       0:00 [cfg80211]
363
   36 root       0:00 [power_off_alarm]
364
   37 root       0:00 [kswapd0]
365
   38 root       0:00 [fsnotify_mark]
366
   46 root       0:00 [glink_ssr_wq]
367
   47 root       0:00 [apr_driver]
368
   48 root       0:00 [k_hsuart]
369
   49 root       0:00 [msm_serial_hs_0]
370
   50 root       0:00 [msm_serial_hs_0]
371
   51 root       0:00 [diag_real_time_]
372
   52 root       0:00 [diag_wq]
373
   53 root       0:00 [DIAG_USB_diag]
374
   54 root       0:00 [diag_cntl_wq]
375
   55 root       0:00 [diag_dci_wq]
376
   56 root       0:00 [DIAG_SMD_MODEM_]
377
   57 root       0:00 [DIAG_SMD_MODEM_]
378
   58 root       0:00 [DIAG_SMD_MODEM_]
379
   59 root       0:00 [DIAG_SMD_MODEM_]
380
   60 root       0:00 [DIAG_SMD_MODEM_]
381
   61 root       0:00 [DIAG_SMD_LPASS_]
382
   62 root       0:00 [DIAG_SMD_LPASS_]
383
   63 root       0:00 [DIAG_SMD_LPASS_]
384
   64 root       0:00 [DIAG_SMD_LPASS_]
385
   65 root       0:00 [DIAG_SMD_LPASS_]
386
   66 root       0:00 [DIAG_SMD_WCNSS_]
387
   67 root       0:00 [DIAG_SMD_WCNSS_]
388
   68 root       0:00 [DIAG_SMD_WCNSS_]
389
   69 root       0:00 [DIAG_SMD_WCNSS_]
390
   70 root       0:00 [DIAG_SMD_WCNSS_]
391
   71 root       0:00 [DIAG_SMD_SENSOR]
392
   72 root       0:00 [DIAG_SMD_SENSOR]
393
   73 root       0:00 [DIAG_SMD_SENSOR]
394
   74 root       0:00 [DIAG_SMD_SENSOR]
395
   75 root       0:00 [DIAG_SMD_SENSOR]
396
   76 root       0:00 [DIAG_SOCKMODEM_]
397
   77 root       0:00 [DIAG_SOCKMODEM_]
398
   78 root       0:00 [DIAG_SOCKMODEM_]
399
   79 root       0:00 [DIAG_SOCKMODEM_]
400
   80 root       0:00 [DIAG_SOCKMODEM_]
401
   81 root       0:00 [DIAG_SOCKLPASS_]
402
   82 root       0:00 [DIAG_SOCKLPASS_]
403
   83 root       0:00 [DIAG_SOCKLPASS_]
404
   84 root       0:00 [DIAG_SOCKLPASS_]
405
   85 root       0:00 [DIAG_SOCKLPASS_]
406
   86 root       0:00 [DIAG_SOCKWCNSS_]
407
   87 root       0:00 [DIAG_SOCKWCNSS_]
408
   88 root       0:00 [DIAG_SOCKWCNSS_]
409
   89 root       0:00 [DIAG_SOCKWCNSS_]
410
   90 root       0:00 [DIAG_SOCKWCNSS_]
411
   91 root       0:00 [DIAG_SOCKSENSOR]
412
   92 root       0:00 [DIAG_SOCKSENSOR]
413
   93 root       0:00 [DIAG_SOCKSENSOR]
414
   94 root       0:00 [DIAG_SOCKSENSOR]
415
   95 root       0:00 [DIAG_SOCKSENSOR]
416
   96 root       0:00 [DIAG_CNTL_SOCKE]
417
   97 root       0:00 [k_gserial]
418
   98 root       0:00 [k_ipa_usb]
419
   99 root       0:00 [uether]
420
  100 root       0:00 [k_gbridge]
421
  101 root       0:00 [therm_core:noti]
422
  102 root       0:00 [therm_core:noti]
423
  103 root       0:00 [therm_core:noti]
424
  104 root       0:00 [therm_core:noti]
425
  105 root       0:00 [therm_core:noti]
426
  106 root       0:00 [irq/216-tsens_i]
427
  107 root       0:00 [therm_core:noti]
428
  108 root       0:00 [therm_core:noti]
429
  109 root       0:00 [cfinteractive]
430
  110 root       0:00 [irq/170-7824900]
431
  111 root       0:00 [irq/155-mmc0]
432
  112 root       0:03 [irq/253-7864900]
433
  113 root       0:00 [irq/157-mmc1]
434
  114 root       0:00 [usb_bam_wq]
435
  115 root       0:00 [qsmd]
436
  116 root       0:00 [ipv6_addrconf]
437
  117 root       0:00 [msm_ipc_router]
438
  118 root       0:00 [irq/441-modem]
439
  119 root       0:00 [sysmon_wq]
440
  120 root       0:00 [qmi_svc_event_w]
441
  122 root       0:00 [bam_dmux_rx]
442
  123 root       0:00 [bam_dmux_tx]
443
  124 root       0:00 [ubi_bgt0d]
444
  125 root       0:00 [ubi_bgt1d]
445
  126 root       0:00 [k_bam_data]
446
  127 root       0:00 [f_mtp]
447
  129 root       0:00 [msm_thermal:fre]
448
  130 root       0:00 [msm_thermal:the]
449
  131 root       0:00 [ubifs_bgt0_0]
450
  132 root       0:00 [IPCRTR]
451
  133 root       0:00 [modem_IPCRTR]
452
  186 root       0:00 [ubifs_bgt0_1]
453
  195 root       0:00 /sbin/adbd
454
  216 root       0:00 psmd
455
  324 root       0:00 ipacm_perf
456
  333 root       0:00 ipacmdiag
457
  343 root       0:00 QCMAP_ConnectionManager /etc/mobileap_cfg.xml d
458
  347 root       0:00 /usr/bin/qti
459
  358 root       0:00 /sbin/tftp_server
460
  359 root       0:00 /sbin/fs-scrub-daemon
461
  377 root       0:00 /usr/bin/quectel_pcm_daemon
462
  397 root       0:00 [sh]
463
  435 root       0:00 /sbin/syslogd -n -C64
464
  444 root       0:00 [k_gsmd]
465
  445 root       0:00 [k_gbam]
466
  459 root       0:00 /usr/bin/qmuxd
467
  463 root       0:00 /usr/bin/thermal-engine
468
  468 root       0:00 /usr/bin/netmgrd
469
  497 root       0:00 /usr/bin/qmi_shutdown_modem
470
  504 root       0:01 /usr/bin/quectel-gps-handle
471
  518 root       0:00 /usr/bin/quectel_monitor_daemon
472
  537 root       1:30 /usr/bin/quectel_daemon
473
  544 root       0:00 /usr/bin/quectel_psm_aware
474
  563 root       0:00 /usr/bin/quectel-remotefs-service
475
  672 root       0:20 alsaucm_test
476
  811 www-data   0:02 /usr/sbin/lighttpd -f /etc/lighttpd.conf
477
  818 nobody     0:00 dnsmasq -i bridge0 -I lo -z --dhcp-range=bridge0,192.168.
478
  824 root       0:00 eMBMs_TunnelingModule
479
  828 root       0:00 /usr/bin/qmi_ip_multiclient /etc/qmi_ip_cfg.xml
480
  887 root       0:00 wlan_services
481
 1004 messageb   0:00 /usr/bin/dbus-daemon --system
482
 1022 root       0:00 /sbin/reboot-daemon
483
 1024 diag       0:02 /usr/bin/diagrebootapp
484
 1029 root       1:24 /usr/bin/atfwd_daemon
485
 1066 root       0:00 /usr/bin/pdc_daemon
486
 1079 root       0:00 /usr/bin/mbimd
487
 1080 root       0:00 -sh
488
 1081 root       0:00 /usr/bin/time_daemon
489
 1177 root       0:00 [kworker/0:1]
490
 1202 root       0:00 [kworker/u2:1]
491
 1205 root       0:09 [kworker/u2:2]
492
 1206 root       0:02 [kworker/u2:3]
493
 1213 root       0:00 [kworker/u2:4]
494
 1233 root       0:00 ps axuw
495 1 laforge
</pre>
Add picture from clipboard (Maximum size: 48.8 MB)