Project

General

Profile

EC25 » History » Version 9

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