Project

General

Profile

Motorola Horizon macroMotorola Horizon macroMCUF Console » History » Version 3

laforge, 02/19/2016 10:47 PM

1 2 laforge
[[PageOutline]]
2 1 laforge
= MCUF serial console =
3
4 3 laforge
The serial console of the MCUF has at least two different modes: {{{MMI-ROM}}} and {{{emon}}}.
5
6 1 laforge
== Command Reference MMI-ROM ==
7
8
=== chg_level ===
9
change the access level.  If you want level 3 access, you have to type in the two passwords: 3stooges and 4beatles
10
11
== Command Reference EMON ==
12
In order to enter EMON, you need to enter level3 of MMI-ROM and then press Ctrl+N
13 2 laforge
=== capture ===
14
{{{
15
[12/06/08 01:01:36] MCU:emon_1015 % capture
16 1 laforge
17 2 laforge
Data captured 12/06/2008 00:56:49
18
19
               Consumed    CPU   Message Message Receive Context
20
  Process ID   Time (us)  Util.   Send   Receive Suspend Switch 
21
-------------- --------- ------- ------- ------- ------- -------
22
00 Null           257143   1.01%       0       0       0      25
23
06 COM              1468   0.01%       1       0       1       2
24
07 btask            1241   0.00%       0       0       1       1
25
12 exec dlsp       14325   0.06%      15      22      22      22
26
14 tty_dlsp        15859   0.06%       1      75      28      29
27
16 filter          21657   0.09%       0       0       1       1
28
17 monitor         13700   0.05%       6       1       2       9
29
1E sync_fw_rl        261   0.00%       0       0       1       1
30
3E mcu_dlsp        10473   0.04%       7       7       3      10
31
50 MIP             27834   0.11%      81      25      22      39
32
70 mmi_rom          3163   0.01%       6       2       2       8
33
F1 SWFM_PRINT       4153   0.02%       0       0       0       0
34
35
               Consumed    CPU   Message Device  System 
36
   Driver/OS   Time (us)  Util.   Send    Intr.   Calls 
37
-------------- --------- ------- ------- ------- -------
38
     EXEC                                            905
39
      TTY            102   0.00%       0       3      80
40
    FILTER                                             1
41
      COM                                              2
42
     NVRAM                                            13
43
     HDLC           5014   0.02%      15      34      21
44
    ROUTER                                            11
45
     TIMER        321418   1.27%       0    5200       0
46
     QUICC                                             1
47
      MSW              0   0.00%       0       0     952
48
      PIX                                              2
49
     SYNC              0   0.00%       0       0       3
50
51
  Transition   Consumed    CPU    State 
52
    States     Time (us)  Util.   Count 
53
-------------- --------- ------- -------
54
 Idle to INTR   24694428  97.25%      78
55
 INTR to Idle        364   0.00%      53
56
CTXSW to Idle        491   0.00%      25
57
58
WARNING: Elapsed time and tick time do not match.
59
Elapsed time (microseconds) = 25393094
60
Tick time (microseconds) = 26000000
61
62
               Consumed    CPU   Message Receive Context Device  System 
63
               Time (us)  Util.  Snd+Rcv Suspend Switch   Intr.   Calls 
64
============== ========= ======= ======= ======= ======= ======= =======
65
Totals          25393094 100.00%     264      83     147    5237    1991
66
Total - Null    25135951  98.99%
67
68
Elapsed time = 25.39 seconds
69
}}}
70
71
=== msw_connects ===
72 1 laforge
{{{
73 2 laforge
[12/06/08 01:04:12] MCU:emon_1015 % msw_connects 0
74
Audit for LINK = 0.
75
TS    Source   (port-TS)
76
    0    0x755     pattern 0x55
77
    1    0x755     pattern 0x55
78
    2    0x755     pattern 0x55
79
    3    0x755     pattern 0x55
80
    4    0x755     pattern 0x55
81
    5    0x755     pattern 0x55
82
    6    0x755     pattern 0x55
83
    7    0x755     pattern 0x55
84
    8    0x755     pattern 0x55
85
    9    0x755     pattern 0x55
86
   10    0x755     pattern 0x55
87
   11    0x755     pattern 0x55
88
   12    0x755     pattern 0x55
89
   13    0x755     pattern 0x55
90
   14    0x755     pattern 0x55
91
   15    0x755     pattern 0x55
92
   16    0x755     pattern 0x55
93
   17    0x755     pattern 0x55
94
   18    0x755     pattern 0x55
95
   19    0x755     pattern 0x55
96
   20    0x755     pattern 0x55
97
   21    0x755     pattern 0x55
98
   22    0x755     pattern 0x55
99
   23    0x755     pattern 0x55
100
   24    0x755     pattern 0x55
101
   25    0x755     pattern 0x55
102
   26    0x755     pattern 0x55
103
   27    0x755     pattern 0x55
104
   28    0x755     pattern 0x55
105
   29    0x755     pattern 0x55
106
   30    0x755     pattern 0x55
107
   31    0x755     pattern 0x55
108
109
TCU Allocation Registers
110
TS Uplink value Downlink value
111
 0    0x0001        0x0001
112
 1    0x0001        0x0001
113
 2    0x0001        0x0001
114
 3    0x0301        0x0001
115
 4    0x0001        0x0001
116
 5    0x0101        0x0101
117
 6    0x0001        0x0001
118
 7    0x0001        0x0001
119
 8    0x0001        0x0001
120
 9    0x0301        0x0001
121
10    0x0001        0x0001
122
11    0x0001        0x0001
123
12    0x0001        0x0001
124
13    0x0001        0x0001
125
14    0x0001        0x0001
126
15    0x0001        0x0101
127
16    0x0001        0x0001
128
17    0x0001        0x0001
129
18    0x0001        0x0001
130
19    0x0001        0x0001
131
20    0x0001        0x0001
132
21    0x0201        0x0101
133
22    0x0001        0x0001
134
23    0x0001        0x0001
135
24    0x0001        0x0001
136
25    0x0301        0x0101
137
26    0x0001        0x0001
138
27    0x0001        0x0001
139
28    0x0001        0x0001
140
29    0x0301        0x0001
141
30    0x0001        0x0001
142
31    0x0001        0x0101
143
144
}}}
145
=== help ===
146
{{{
147 1 laforge
[01/01/80 00:00:37] MCU:emon_1015 % help
148
Commands available:
149
!                  alias              analyze            baud              
150
bstats             ca_iir_filter      capture            count_reset       
151
coverage           csfp_objects       cstats             ctbl_objects      
152
debug              dri_msg            eft                ex_iir_dis        
153
ex_iir_mod         filter             help               history           
154
iir_dis            iir_mod            iir_rte            iir_time_stamp    
155
l_dump             l_modify           link_test          lstats            
156
mem_use            memory             mmu_stats          msg_send          
157
mstats             msw_connects       objects            pbegin            
158
pcmcia             pend               perf               pstats            
159
reset              rlogin             router_tbl         swfm              
160
time               time_stamp         tstats             tty_backlog_dump  
161
unalias            zstats             
162 2 laforge
}}}
163
164
=== objects ===
165
Output of software objects with no PCMCIA card:
166
{{{
167
[01/01/80 00:00:49] MCU:emon_1015 % objects
168
169
     Object                                                      Dv    Object
170
Num   Name     Version      Date     Time   Checksum    Size   S Ty   Specific
171
=== ======== =========== =========== ===== ========== ======== = == ============
172
000     exec 08.00.00.35 24-Jan-2008 10:58 0x01ebf709 00418345 1 09      c8
173
003     null 08.00.00.35 24-Jan-2008 10:58 0x00008c25 00000492 2 09      c8
174
004  bootlib 08.00.00.35 24-Jan-2008 11:09 0x0017f900 00017866 1 09      c8
175
006   ex_com 08.00.00.35 24-Jan-2008 11:04 0x001abe24 00019575 2 09      c8
176
007    btask 08.00.00.35 24-Jan-2008 11:05 0x0009857d 00007128 2 09      cf
177
008  mcuboot 08.00.00.35 24-Jan-2008 11:09 0x03d4e1ed 00807616 1 09      0f
178
018  ex_dlsp 08.00.00.35 24-Jan-2008 11:02 0x0033707c 00039088 2 09      c8
179
020   ex_tty 08.00.00.35 24-Jan-2008 10:59 0x00134363 00013699 2 09      c8
180
022   ex_ftr 08.00.00.35 24-Jan-2008 11:03 0x000d2ed8 00010770 2 09      c8
181
023     emon 08.00.00.35 24-Jan-2008 11:00 0x00831024 00094654 2 09      c8
182
030  xsync_f 08.00.00.35 24-Jan-2008 11:01 0x00040687 00002994 2 09      88
183
062  mcu_dsp 08.00.00.35 24-Jan-2008 11:06 0x002c28de 00033739 2 09      8f
184
080      mip 08.00.00.35 24-Jan-2008 11:08 0x007d65ab 00089895 2 09      c8
185
111  mmi_rom 08.00.00.35 24-Jan-2008 11:09 0x001ac15c 00019855 2 09      8f
186
160    uboot 06.05.00.04 20-Jun-2001 11:00 0x000c74a6 00008641 1 10 88 0000 0000
187
188
Load version information not present
189
}}}
190
191
Output of objects with PCMCIA card installed:
192
{{{
193
[12/06/08 01:03:11] MCU:emon_1015 % objects
194
195
     Object                                                      Dv    Object
196
Num   Name     Version      Date     Time   Checksum    Size   S Ty   Specific
197
=== ======== =========== =========== ===== ========== ======== = == ============
198
000     exec 08.00.00.35 24-Jan-2008 10:58 0x01ebf709 00418345 1 09      c8
199
002    dbase 00.00.03.fd 15-May-2008 11:12 0x026205f6 01069062 1 03   14d1 eef8
200
003     null 08.00.00.35 24-Jan-2008 10:58 0x00008c25 00000492 2 09      c8
201
004  bootlib 08.00.00.35 24-Jan-2008 11:09 0x0017f900 00017866 1 09      c8
202
005  libcomn 08.00.00.00 08-Jun-2004 10:59 0x00004303 00000202 1 06      f8
203
006   ex_com 08.00.00.35 24-Jan-2008 11:04 0x001abe24 00019575 2 09      c8
204
007    btask 08.00.00.35 24-Jan-2008 11:05 0x0009857d 00007128 2 09      cf
205
008  mcuboot 08.00.00.35 24-Jan-2008 11:09 0x03d4e1ed 00807616 1 09      0f
206
012  rssboot 08.00.00.35 24-Jan-2008 12:11 0x020a40c5 00290068 1 12      20
207
013  options 09.00.00.00 05-Mar-2008 13:04 0x0002281d 00001144 1 04 
208
018  ex_dlsp 08.00.00.35 24-Jan-2008 11:02 0x0033707c 00039088 2 09      c8
209
020   ex_tty 08.00.00.35 24-Jan-2008 10:59 0x00134363 00013699 2 09      c8
210
022   ex_ftr 08.00.00.35 24-Jan-2008 11:03 0x000d2ed8 00010770 2 09      c8
211
023     emon 08.00.00.35 24-Jan-2008 11:00 0x00831024 00094654 2 09      c8
212
030  xsync_f 08.00.00.35 24-Jan-2008 11:01 0x00040687 00002994 2 09      88
213
032  cp_rrsm 08.00.00.34 07-Dec-2007 10:47 0x026ca2ec 00487135 1 05      b8
214
034   cp_crm 08.00.00.35 24-Jan-2008 12:04 0x056d776f 01082366 1 05      b8
215
036   cp_cbs 08.00.00.33 05-Nov-2007 09:52 0x007181c0 00090582 1 05      b8
216
048   rs_cfm 08.00.00.33 05-Nov-2007 09:51 0x00390f3b 00031855 1 07      30
217
049    rs_ho 08.00.00.34 07-Dec-2007 11:00 0x008bb71f 00077886 1 07      30
218
050  rs_lyr1 08.00.00.34 07-Dec-2007 11:16 0x00d7d4cb 00121095 1 07      30
219
051  rs_abis 08.00.00.34 07-Dec-2007 11:29 0x00720c0e 00063101 1 07      30
220
052  rs_lyr2 08.00.00.33 05-Nov-2007 10:48 0x002892c2 00022675 1 07      30
221
060  sm_mbts 08.00.00.33 05-Nov-2007 09:46 0x005bc0b7 00069519 1 09      3f
222
062  mcu_dsp 08.00.00.35 24-Jan-2008 11:06 0x002c28de 00033739 2 09      8f
223
068  fm_crtr 08.00.00.35 24-Jan-2008 10:59 0x0008f60c 00011626 1 06      f8
224
070   fm_mvp 08.00.00.35 24-Jan-2008 11:28 0x0022af26 00027024 1 09      3f
225
071   fm_mca 08.00.00.35 24-Jan-2008 11:54 0x041a22e4 00781446 1 09      3f
226
072  fm_sync 08.00.00.33 05-Nov-2007 10:46 0x003f2bff 00046487 1 09      3f
227
075   fm_ftp 08.00.00.34 07-Dec-2007 10:38 0x0205c69c 00409054 1 05      f8
228
076   fm_mmf 08.00.00.33 05-Nov-2007 11:10 0x00367cbe 00042382 1 05      b8
229
077   fm_sap 08.00.00.35 24-Jan-2008 11:01 0x00636f45 00077150 1 05      f8
230
079  fm_mfcp 08.00.00.33 05-Nov-2007 10:05 0x007d4ef2 00098860 1 17      3f
231
080      mip 08.00.00.35 24-Jan-2008 11:08 0x007d65ab 00089895 2 09      c8
232
097   st_ssp 08.00.00.33 05-Nov-2007 10:12 0x000f4cdd 00011373 1 05      b8
233
111  mmi_rom 08.00.00.35 24-Jan-2008 11:09 0x001ac15c 00019855 2 09      8f
234
113    om_cm 08.00.00.34 07-Dec-2007 11:00 0x053d9ec8 01054286 1 05      f8
235
120  om_mmmi 08.00.00.35 24-Jan-2008 11:33 0x038690c2 00699229 1 09      3f
236
160    uboot 06.05.00.04 20-Jun-2001 11:00 0x000c74a6 00008641 1 10 88 0000 0000
237
165  TSM_FEP 08.00.00.07 27-Oct-2004 22:31 0x00258b0f 00020528 1 16 b0 0a00 0200
238
166   CC_TSM 08.00.00.30 12-Sep-2007 05:31 0x008db67d 00077444 1 16 b0 0a00 1800
239
169      a51 08.00.00.00 22-Jun-2004 13:13 0x00011259 00001077 1 19 
240
170      a52 08.00.00.00 22-Jun-2004 13:13 0x0001519b 00001290 1 19 
241
177      niu 08.00.00.30 11-Sep-2007 13:01 0x0118f93a 00163419 1 10 bf 0018 0200
242
184  cs1_ccc 08.00.00.35 22-Jan-2008 14:39 0x010b4a4f 00146012 1 18 
243
185  cs1_eqc 08.00.00.0a 13-Jan-2005 16:30 0x015a0a59 00185538 1 18 
244
193   001100 08.00.00.00 21-Jun-2004 10:53 0x00014b89 00001311 1 08 b8 0011 0000
245
194   001100 08.00.00.00 21-Jun-2004 11:42 0x0001cdf8 00001607 1 08 b8 0011 0000
246
200  sync_fw 08.00.00.00 16-Jun-2004 15:52 0x007756ac 00127364 1 26 bf 000f 0000
247
201      SCP 08.00.00.13 19-Jul-2005 19:07 0x00ae701f 00161502 1 08 b8 0a00 0300
248
202      SEQ 08.00.00.09 09-Dec-2004 22:21 0x001dfba4 00029750 1 08 b8 0a00 0300
249
207  niu_hds 07.06.00.00 15-Nov-2000 15:23 0x015f6b88 00229657 1 10 bf 0000 0202
250
251
Load version information not present
252
}}}
253
254
=== pstats ===
255
{{{
256
[12/06/08 01:02:14] MCU:emon_1015 % pstats
257
               PROCESS                  USER_STACK        MAILBOXES
258
ID  NAME             INSTANCE PRIORITY     SIZE     MAXIMUM CURRENT PEAK
259
--  ----             -------- --------     ----     ------- ------- ----
260
00  Null             00000003    00      00001000     0020    0014  0014
261
06  COM              00000006    05      00008000     0022    0002  0002
262
07  btask            00000007    01      00004000     0009    0005  0005
263
12  exec dlsp        00000012    19      00008000     0080    0010  0010
264
14  tty_dlsp         00000014    04      00004000     000c    000c  000c
265
16  filter           00000016    02      00004000     0009    0004  0004
266
17  monitor          00000017    03      00005000     0020    0014  0014
267
1e  sync_fw_rl       0000001e    04      00004000     000c    0001  0001
268
3e  mcu_dlsp         0000003e    05      00002000     000a    0007  0007
269
50  MIP              00000050    0f      00002000     0032    002c  002c
270
70  mmi_rom          0000006f    03      00004000     0006    0006  0006
271
f1  SWFM_PRINT       00000000    03      00004000     0000    0000  0000
272 1 laforge
}}}
273
274
== Logs ==
275
=== Normal boot log with PCMCIA card installed ===
276
{{{
277
!!! REBOOT !!!
278
279
 Memory full configured Reset due to power reset
280
Checking DRAM: 16 of 16 MB complete
281
Motorola MCU Boot Software Version 1.8.0.0.35 24-Jan-08
282
Copyright 2008, Motorola Incorporated
283
Board type is MCU-F
284
QUICC microcode revision 0x0083
285
Exec microboot version 4
286
taking PCMCIA version of object 2
287
taking PCMCIA version of object 5
288
taking PCMCIA version of object 12
289
taking PCMCIA version of object 13
290
taking PCMCIA version of object 32
291
taking PCMCIA version of object 34
292
taking PCMCIA version of object 36
293
taking PCMCIA version of object 48
294
taking PCMCIA version of object 49
295
taking PCMCIA version of object 50
296
taking PCMCIA version of object 51
297
taking PCMCIA version of object 52
298
taking PCMCIA version of object 60
299
taking PCMCIA version of object 68
300
taking PCMCIA version of object 70
301
taking PCMCIA version of object 71
302
taking PCMCIA version of object 72
303
taking PCMCIA version of object 75
304
taking PCMCIA version of object 76
305
taking PCMCIA version of object 77
306
taking PCMCIA version of object 79
307
taking PCMCIA version of object 97
308
taking PCMCIA version of object 113
309
taking PCMCIA version of object 120
310
taking PCMCIA version of object 165
311
taking PCMCIA version of object 166
312
taking PCMCIA version of object 169
313
taking PCMCIA version of object 170
314
taking PCMCIA version of object 177
315
taking PCMCIA version of object 184
316
taking PCMCIA version of object 185
317
taking PCMCIA version of object 193
318
taking PCMCIA version of object 194
319
taking PCMCIA version of object 200
320
taking PCMCIA version of object 201
321
taking PCMCIA version of object 202
322
taking PCMCIA version of object 207
323
MMI-ROM 0000 -> 
324
MMI-ROM 0000 -> 
325
MMI-ROM 1015 ->
326
}}}
327 3 laforge
328 1 laforge
=== Normal boot log with no PCMCIA card installed ===
329
{{{
330
!!! REBOOT !!!
331
332
 Memory full configured Reset due to power reset
333
Checking DRAM: 16 of 16 MB complete
334
Motorola MCU Boot Software Version 1.8.0.0.35 24-Jan-08
335
Copyright 2008, Motorola Incorporated
336
Board type is MCU-F
337
QUICC microcode revision 0x0083
338
Exec microboot version 4
339
PCMCIA: Socket 0 empty.
340
MMI-ROM 0000 -> 
341
MMI-ROM 0000 -> 
342
MMI-ROM 1015 ->
343 3 laforge
}}}
344
345
=== emon start log after Ctrl+N ===
346
{{{
347
MCU:emon_1015 %  
348
[12/06/08 01:06:53] MCU:emon_0000 % Database is not compressed
349
350
MIP: Starting Micro IP
351
MIP: In slot 0
352
MIP: csfp_swap = 'NO_CSFP_SWAP'
353
MIP: Reset type is x48000025.
354
MIP: Current seconds is 897700014.
355
MIP: Soft reset count read is 0.
356
MIP: Writing time 897700014, count 1.
357
MIP: Will contact BSC.
358
MIP: Performing Hard Reset.
359
MIP: Disable phase detector 1 and 2
360
MIP: SYNC pulse the phase det strobe
361
MIP: 1015 is master MCU
362
MIP: Establishing links to NIU frame 0, slot 0
363
MIP: Establishing links to NIU frame 1, slot 0
364
NG EXEC DLSP dl_message_con:  Control mailbox opened for channel 1, 
365
NG EXEC DLSP dl_message_con:  HDLC link active timer started for first hdlc link, channel 1
366
NG EXEC DLSP dl_message_con:  Control mailbox opened for channel 3, 
367
NG EXEC_DLSP process_hdlc_msg:  LINK ESTABLISHED for channel 1, Link Mailbox id = 1001
368
NG EXEC_DLSP process_hdlc_msg:  LUI mailbox created
369
NG EXEC_DLSP process_hdlc_msg:  Low priority LAPD mailbox created
370
NG EXEC_DLSP process_hdlc_msg:  HDLC link active timer stopped.
371
NG EXEC_DLSP process_hdlc_msg:  NIU Flow mailbox id for local channel 1 = 3001h
372
MIP: HDLC link connected on frame 0, slot 0
373
[12/06/08 01:06:54] MCU:emon_1015 % MIP: CPU assigned ok on frame 0, slot 0
374
MIP: NIU/NIU2 set for E1 interface
375
MIP: Default span 0 CHECKED HDSL settings are, ptype=0, msett=2.
376
MIP: Default span 1 CHECKED HDSL settings are, ptype=0, msett=2.
377
MIP: Default span 2 CHECKED HDSL settings are, ptype=0, msett=2.
378
MIP convert_to_niu_data.c: NIU/NIU2 config type is 8, int_hdsl_flag=0, ext_hdsl_flag=0, hdsl_16_ts_flag=0.
379
MIP: Span response from NIU/NIU2 is PASS 
380
MIP: Span data has been set for NIU/NIU2 on frame 0, slot 0
381
MIP: NIU/NIU2 set for E1 interface
382
MIP: Default span 0 CHECKED HDSL settings are, ptype=0, msett=2.
383
MIP: Default span 1 CHECKED HDSL settings are, ptype=0, msett=2.
384
MIP: Default span 2 CHECKED HDSL settings are, ptype=0, msett=2.
385
MIP convert_to_niu_data.c: NIU/NIU2 config type is 8, int_hdsl_flag=0, ext_hdsl_flag=0, hdsl_16_ts_flag=0.
386
MIP: Span response from NIU/NIU2 is PASS 
387
MIP: Span data has been set for NIU/NIU2 on frame 0, slot 0
388
MIP: Link state 1, channel 0, span 0, timeslot 1.
389
MIP: Current link owner is process 80, cpu x1015, mbox x7001.
390
MIP: Current span is 0; current timeslot is 1; expected 0 1.
391
MIP: Establishing second RSL on NIU/NIU2 frame 0, slot 0, span 1, timeslot 2
392
MIP: Link state 1, channel 1, span 1, timeslot 2.
393
MIP: Current link owner is process 80, cpu x1015, mbox x7003.
394
MIP: Current span is 1; current timeslot is 2; expected 1 2.
395
NG EXEC DLSP dl_message_con:  Control mailbox opened for channel 5, 
396
NG EXEC_DLSP process_hdlc_msg:  LINK ESTABLISHED for channel 5, Link Mailbox id = 9001
397
NG EXEC_DLSP process_hdlc_msg:  NIU Flow mailbox id for local channel 5 = 5001h
398
MIP: HDLC link connected on frame 0, slot 0, span 1
399
MIP: Link state 1, channel 1, span 1, timeslot 2.
400
MIP: Current link owner is process 80, cpu x1015, mbox x7003.
401
MIP: Current span is 1; current timeslot is 2; expected 1 2.
402
MIP: Bad EXEC DLSP return code 1
403
MIP: HDLC link failed to connect on frame 1, slot 0 with code 5
404
MIP: Tag 0x00 indicates nv_write successful!
405
406
[12/06/08 01:12:17] MCU:emon_1015 % 
407 1 laforge
}}}
Add picture from clipboard (Maximum size: 48.8 MB)