Project

General

Profile

EC20 Linux » History » Version 1

laforge, 12/19/2016 04:24 PM

1 1 laforge
h1. EC20 Linux
2
3
h2. SMD
4
5
<pre>
6
root@9615-cdp:/sys/kernel/debug/smd# cat tbl
7
name=DS cid=0 ch type=0 xfer type=1 ref_count=2
8
name= cid=0 ch type=0 xfer type=0 ref_count=0
9
name= cid=0 ch type=0 xfer type=0 ref_count=0
10
name= cid=0 ch type=0 xfer type=0 ref_count=0
11
name=MSGR_SMD_P1 cid=4 ch type=11 xfer type=2 ref_count=2
12
name=MSGR_SMD_P0 cid=5 ch type=11 xfer type=2 ref_count=2
13
name=IPCRTR cid=6 ch type=1 xfer type=2 ref_count=1
14
name=IPCRTR cid=7 ch type=2 xfer type=2 ref_count=1
15
name=sys_mon cid=8 ch type=1 xfer type=2 ref_count=1
16
name=DIAG_CNTL cid=9 ch type=1 xfer type=2 ref_count=2
17
name=DIAG cid=10 ch type=1 xfer type=2 ref_count=2
18
name=apr_audio_svc cid=11 ch type=1 xfer type=2 ref_count=1
19
name=apr_voice_svc cid=12 ch type=2 xfer type=2 ref_count=2
20
name=apr_apps2 cid=13 ch type=1 xfer type=2 ref_count=1
21
name=RPCRPY_CNTL cid=14 ch type=0 xfer type=2 ref_count=2
22
name=IPCROUTER cid=15 ch type=0 xfer type=0 ref_count=1
23
name=SSM_RTR cid=16 ch type=0 xfer type=2 ref_count=1
24
name=sys_mon cid=17 ch type=0 xfer type=2 ref_count=1
25
name=DIAG_2 cid=18 ch type=0 xfer type=2 ref_count=2
26
name=DIAG_CNTL cid=19 ch type=0 xfer type=2 ref_count=2
27
name=DIAG cid=20 ch type=0 xfer type=2 ref_count=2
28
name=apr_voice_svc cid=21 ch type=0 xfer type=2 ref_count=1
29
name=DATA1 cid=22 ch type=0 xfer type=2 ref_count=2
30
name=DATA2 cid=23 ch type=0 xfer type=2 ref_count=2
31
name=DATA3 cid=24 ch type=0 xfer type=2 ref_count=2
32
name=DATA4 cid=25 ch type=0 xfer type=2 ref_count=2
33
name=DATA11 cid=26 ch type=0 xfer type=1 ref_count=2
34
name=DATA40 cid=27 ch type=0 xfer type=2 ref_count=2
35
name=DATA40_CNTL cid=28 ch type=0 xfer type=2 ref_count=2
36
name=DATA8 cid=29 ch type=0 xfer type=2 ref_count=2
37
name=DATA5_CNTL cid=30 ch type=0 xfer type=2 ref_count=2
38
name=DATA6_CNTL cid=31 ch type=0 xfer type=2 ref_count=2
39
name=DATA7_CNTL cid=32 ch type=0 xfer type=2 ref_count=2
40
name=DATA8_CNTL cid=33 ch type=0 xfer type=2 ref_count=2
41
name=GPSNMEA cid=34 ch type=0 xfer type=2 ref_count=2
42
</pre>
43
44
<pre>
45
root@9615-cdp:/sys/kernel/debug/smd# cat ch 
46
ch00:   OPENED(0000/0000) dcCiwrsb <->   OPENED(0000/0000) dCciwrsB :  2000
47
ch04:   OPENED(12944/12944) DCCiwrsB <->   OPENED(12312/12312) DCCiwrsB :  8000
48
ch05:   OPENED(0000/0000) DCCiwrsb <->   OPENED(28712/28712) DCCiwrsB : 10000
49
ch06:   OPENED(1872/1872) DCCiwrsB <->   OPENED(0216/0216) DCCiwrsB :  2000
50
ch07:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) DCCiwrSb :  2000
51
ch08:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) DCCiwrSb :   400
52
ch09:   OPENED(0952/0952) DCCiwrsb <->   OPENED(0438/0438) DCCiwrsB :   400
53
ch10:   OPENED(0000/0000) DCCiwrsb <->   OPENED(0000/0000) DCCiwrsb :  2000
54
ch11:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) DCCiwrSb :  2000
55
ch12:   OPENED(0000/0000) DCCiwrsb <->   OPENED(0000/0000) DCCiwrsb :  2000
56
ch13:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) DCCiwrSb :  2000
57
ch14:   OPENED(0412/0412) DCCiwrsB <->   OPENED(0140/0140) DCCiwrsB :   400
58
ch15:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) DCCiwrSb :  2000
59
ch16:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) DCCiwrSb :  2000
60
ch17:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) DCCiwrSb :   400
61
ch18:   OPENED(0000/0000) DCCiwrsb <->   OPENED(0000/0000) DCCiwrsb :  2000
62
ch19:   OPENED(0952/0952) DCCiwrsb <->   OPENED(0370/0370) DCCiwrsB :   400
63
ch20:   OPENED(0000/0000) DCCiwrsb <->   OPENED(0000/0000) DCCiwrsb :  2000
64
ch21:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) DCCiwrSb :  2000
65
ch22:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) dCciwrSb :  2000
66
ch23:   OPENED(0000/0000) dcCiwrsb <->   OPENED(0000/0000) dCciwrsb :  2000
67
ch24:   OPENED(0000/0000) DCCiwrsb <->   OPENED(0000/0000) dCciwrsb :  2000
68
ch25:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) dCciwrSb :  2000
69
ch26:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) dCciwrSb :  2000
70
ch27:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) dcciwrSb :  2000
71
ch28:   OPENED(0000/0000) DCCiwrsb <->   OPENED(0000/0000) DCCiwrsB :  2000
72
ch29:   CLOSED(0000/0000) dcciwrsb <->  OPENING(0000/0000) dcciwrSb :  2000
73
ch30:   OPENED(0266/0266) DCCiwrsB <->   OPENED(0807/0807) DCCiwrsB :   400
74
ch31:   OPENED(0237/0237) DCCiwrsB <->   OPENED(0415/0415) DCCiwrsB :   400
75
ch32:   OPENED(0237/0237) DCCiwrsB <->   OPENED(0415/0415) DCCiwrsB :   400
76
ch33:   OPENED(0237/0237) DCCiwrsB <->   OPENED(0415/0415) DCCiwrsB :   400
77
ch34:   OPENED(0000/0000) DCCiwrsb <->   OPENED(0000/0000) dCciwrsb :  2000
78
</pre>
79
80
81
h2. BAM
82
83
<pre>
84
root@9615-cdp:/sys/kernel/debug/bam_dmux# cat tbl
85
ch00  local open=Y  remote open=Y
86
ch01  local open=Y  remote open=Y
87
ch02  local open=Y  remote open=Y
88
ch03  local open=Y  remote open=Y
89
ch04  local open=N  remote open=N
90
ch05  local open=N  remote open=N
91
ch06  local open=N  remote open=N
92
ch07  local open=N  remote open=N
93
ch08  local open=N  remote open=N
94
</pre>
95
96
<pre>
97
root@9615-cdp:/sys/kernel/debug/bam_dmux# cat log
98
<DMUX> timestamp FLAGS [Message]
99
FLAGS:
100
        D: 1 = Power collapse disabled
101
        R: 1 = in global reset
102
        P: 1 = BAM is powered up
103
        A: 1 = BAM initialized and ready for data
104
105
        V: 1 = Uplink vote for power
106
        U: 1 = Uplink active
107
        W: 1 = Uplink Wait-for-ack
108
        A: 1 = Uplink ACK received
109
        #: >=1 On-demand uplink vote
110
        D: 1 = Disconnect ACK active
111
<DMUX> 2.068151990 drPa vuwa0D bam_dmux_smsm_cb: 0x00000000 -> 0x0800802b
112
<DMUX> 2.068182511 drPa vuwa0D bam_dmux_smsm_cb: init
113
<DMUX> 2.068213031 drPa vuwa0D grab_wakelock: ref count = 0
114
<DMUX> 2.068213031 drPa vuwa0D vote_dfab
115
<DMUX> 2.072150159 drPa vuwa0D toggle_apps_ack: apps ack 0->1
116
<DMUX> 2.072333281 drPA vuwa0D grab_wakelock: ref count = 1
117
<DMUX> 2.072363802 drPA vuwa0D handle_bam_mux_cmd: opening cid 0 PC disabled
118
<DMUX> 2.072913168 DrPA vUwa0D handle_bam_mux_cmd: opening cid 1 PC disabled
119
<DMUX> 2.073157331 DrPA vUwa0D handle_bam_mux_cmd: opening cid 2 PC disabled
120
<DMUX> 2.073401494 DrPA vUwa0D handle_bam_mux_cmd: opening cid 3 PC disabled
121
<DMUX> 2.135632534 DrPA vUwa0D release_wakelock: ref count = 2
122
<DMUX> 3.072424842 DrPA vUwa0D ul_powerdown: powerdown
123
<DMUX> 3.072455363 DrPA vUwa0D release_wakelock: ref count = 1
124
<DMUX> 3.072455363 DrPA vuwa0D unvote_dfab
125
<DMUX> 4.041233022 DrPA vuwa0D bam_dmux_smsm_cb: 0x08008029 -> 0x0800a02b
126
<DMUX> 4.041263542 DrPA vuwa0D bam_dmux_smsm_cb: already processed this state
127
<DMUX> 10.602899433 DrPA vuwa0D grab_wakelock: ref count = 0
128
<DMUX> 10.602929954 DrPA vuwa0D vote_dfab
129
<DMUX> 10.603479320 DrPA vUwa0D notify_all: cid=0, event=2, data=0
130
<DMUX> 11.603815044 DrPA vUwa0D ul_timeout: pkt written 1
131
<DMUX> 12.606409276 DrPA vUwa0D ul_powerdown: powerdown
132
<DMUX> 12.606439796 DrPA vUwa0D release_wakelock: ref count = 1
133
<DMUX> 12.606439796 DrPA vuwa0D notify_all: cid=0, event=3, data=0
134
<DMUX> 12.606470317 DrPA vuwa0D notify_all: cid=1, event=3, data=0
135
<DMUX> 12.606470317 DrPA vuwa0D notify_all: cid=2, event=3, data=0
136
<DMUX> 12.606500837 DrPA vuwa0D notify_all: cid=3, event=3, data=0
137
<DMUX> 12.606500837 DrPA vuwa0D unvote_dfab
138
</pre>
Add picture from clipboard (Maximum size: 48.8 MB)