Project

General

Profile

EC25 » History » Version 10

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