Project

General

Profile

EC25 » History » Version 11

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