Actions
- Table of contents
- MCUF serial console
MCUF serial console¶
The serial console of the MCUF has at least three different modes:
<pre> <pre> h2. Command Reference MMI-ROM h3. chg_level change the access level. If you want level 3 access, you have to type in the two passwords: 3stooges and 4beatles h3. set_site <siteID> you can set the site ID (range: 0-104). However, the siteID must be identical with the siteID stored on the PCMCIA card. It seems for a Horizon macro (master cabinet) the site ID should be 18. If you enter a wrong site ID, you will get a _FATAL SWFM ERROR (Bad database - Cannot adjust database for site)_. The system will reboot and you can try your luck with the next site ID number ;) Once you entered the correct siteID, the system transitions into the MMI-RAM prompt. <pre> MMI-ROM 1015 -> set_site 18 Setting subsystem to 19 for site 18 Process 0x95 (Temp CM) requested a self-initiated soft reset !!! REBOOT !!! Reset due to self-initiated soft reset [01/01/80 00:31:38] MMI-RAM 1015 -> Waiting for System Initialization to complete..... [01/01/80 00:31:49] MMI-RAM 1015 -> Database display commands accepted. [01/01/80 00:31:54] MMI-RAM 1015 -> Initialization complete. All commands accepted. </pre> h2. Command reference MMI-RAM h3. state <siteID> <pre> [01/01/80 00:32:03] MMI-RAM 1015 -> state ERROR: Missing Parameters, only received: 0. [01/01/80 00:32:18] MMI-RAM 1015 -> state 18 DEVICE STATUS INFORMATION FOR LOCATION 18: OPER STATES: D:Disabled E:Enabled B:Busy ADMIN STATES: L:Locked U:Unlocked E:Equipped S:Shutdown Last Transition Related Device State Reason dd/mm hh:mm:ss Function ------------- ----- ------------------------- --------------- ------------- CSFP 0 0 0 D-U NO CODE 01/01 00:31:53 None BTP 0 0 0 B-U NO REASON 01/01 00:31:50 None DRI 0 0 0 D-U Code Load 01/01 00:32:01 None DRI 0 1 0 D-U DRI Not Detected 01/01 00:31:58 None DRI 1 0 0 D-U Code Load 01/01 00:32:01 None DRI 1 1 0 D-U DRI Not Detected 01/01 00:31:58 None DRI 2 0 0 D-U Code Load 01/01 00:32:01 None DRI 2 1 0 D-U DRI Not Detected 01/01 00:31:58 None MSI 0 0 0 B-U NO REASON 01/01 00:31:56 None MMS 0 0 0 B-U MMS Providing Clock 01/01 00:31:57 None MMS 0 1 0 D-U Synch Loss OOS Timer 01/01 00:31:57 None RSL 0 0 0 E-U 64Kbps Link 01/01 00:31:57 None RSL 0 1 0 D-U NO REASON 01/01 00:31:42 None GCLK 0 0 0 B-U GCLK in Fast Tune Mode 01/01 00:31:57 None EAS 0 0 0 B-U NO REASON 01/01 00:31:50 None CAB 0 0 0 B-U NO REASON 01/01 00:31:42 None SITE 0 0 0 D-U NO REASON 01/01 00:31:42 None PATH 0 0 0 D-U NO REASON 01/01 00:31:42 None PATH 0 1 0 D-U NO REASON 01/01 00:31:42 None FUNCTION STATUS INFORMATION FOR LOCATION 18: OPER STATES: E:Enabled B:Busy ADMIN STATES: E:Equipped Last Transition Related Function State Reason dd/mm hh:mm:ss Device ------------- ----- ------------------------- --------------- ------------- RTF 0 0 0 E-E NO REASON 01/01 00:31:42 None RTF 0 1 0 E-E NO REASON 01/01 00:31:42 None RTF 1 0 0 E-E NO REASON 01/01 00:31:42 None RTF 1 1 0 E-E NO REASON 01/01 00:31:42 None RTF 2 0 0 E-E NO REASON 01/01 00:31:42 None END OF STATUS REPORT </pre> h2. Command Reference EMON In order to enter EMON, you need to enter level3 of MMI-ROM and then press Ctrl+N h3. capture <pre> [12/06/08 01:01:36] MCU:emon_1015 % capture Data captured 12/06/2008 00:56:49 Consumed CPU Message Message Receive Context Process ID Time (us) Util. Send Receive Suspend Switch -------------- --------- ------- ------- ------- ------- ------- 00 Null 257143 1.01% 0 0 0 25 06 COM 1468 0.01% 1 0 1 2 07 btask 1241 0.00% 0 0 1 1 12 exec dlsp 14325 0.06% 15 22 22 22 14 tty_dlsp 15859 0.06% 1 75 28 29 16 filter 21657 0.09% 0 0 1 1 17 monitor 13700 0.05% 6 1 2 9 1E sync_fw_rl 261 0.00% 0 0 1 1 3E mcu_dlsp 10473 0.04% 7 7 3 10 50 MIP 27834 0.11% 81 25 22 39 70 mmi_rom 3163 0.01% 6 2 2 8 F1 SWFM_PRINT 4153 0.02% 0 0 0 0 Consumed CPU Message Device System Driver/OS Time (us) Util. Send Intr. Calls -------------- --------- ------- ------- ------- ------- EXEC 905 TTY 102 0.00% 0 3 80 FILTER 1 COM 2 NVRAM 13 HDLC 5014 0.02% 15 34 21 ROUTER 11 TIMER 321418 1.27% 0 5200 0 QUICC 1 MSW 0 0.00% 0 0 952 PIX 2 SYNC 0 0.00% 0 0 3 Transition Consumed CPU State States Time (us) Util. Count -------------- --------- ------- ------- Idle to INTR 24694428 97.25% 78 INTR to Idle 364 0.00% 53 CTXSW to Idle 491 0.00% 25 WARNING: Elapsed time and tick time do not match. Elapsed time (microseconds) = 25393094 Tick time (microseconds) = 26000000 Consumed CPU Message Receive Context Device System Time (us) Util. Snd+Rcv Suspend Switch Intr. Calls h14. ========= ======= ======= ======= ======= ======= Totals 25393094 100.00% 264 83 147 5237 1991 Total - Null 25135951 98.99% Elapsed time = 25.39 seconds </pre> h3. msw_connects <pre> [12/06/08 01:04:12] MCU:emon_1015 % msw_connects 0 Audit for LINK = 0. TS Source (port-TS) 0 0x755 pattern 0x55 1 0x755 pattern 0x55 2 0x755 pattern 0x55 3 0x755 pattern 0x55 4 0x755 pattern 0x55 5 0x755 pattern 0x55 6 0x755 pattern 0x55 7 0x755 pattern 0x55 8 0x755 pattern 0x55 9 0x755 pattern 0x55 10 0x755 pattern 0x55 11 0x755 pattern 0x55 12 0x755 pattern 0x55 13 0x755 pattern 0x55 14 0x755 pattern 0x55 15 0x755 pattern 0x55 16 0x755 pattern 0x55 17 0x755 pattern 0x55 18 0x755 pattern 0x55 19 0x755 pattern 0x55 20 0x755 pattern 0x55 21 0x755 pattern 0x55 22 0x755 pattern 0x55 23 0x755 pattern 0x55 24 0x755 pattern 0x55 25 0x755 pattern 0x55 26 0x755 pattern 0x55 27 0x755 pattern 0x55 28 0x755 pattern 0x55 29 0x755 pattern 0x55 30 0x755 pattern 0x55 31 0x755 pattern 0x55 TCU Allocation Registers TS Uplink value Downlink value 0 0x0001 0x0001 1 0x0001 0x0001 2 0x0001 0x0001 3 0x0301 0x0001 4 0x0001 0x0001 5 0x0101 0x0101 6 0x0001 0x0001 7 0x0001 0x0001 8 0x0001 0x0001 9 0x0301 0x0001 10 0x0001 0x0001 11 0x0001 0x0001 12 0x0001 0x0001 13 0x0001 0x0001 14 0x0001 0x0001 15 0x0001 0x0101 16 0x0001 0x0001 17 0x0001 0x0001 18 0x0001 0x0001 19 0x0001 0x0001 20 0x0001 0x0001 21 0x0201 0x0101 22 0x0001 0x0001 23 0x0001 0x0001 24 0x0001 0x0001 25 0x0301 0x0101 26 0x0001 0x0001 27 0x0001 0x0001 28 0x0001 0x0001 29 0x0301 0x0001 30 0x0001 0x0001 31 0x0001 0x0101 </pre> h3. help <pre> [01/01/80 00:00:37] MCU:emon_1015 % help Commands available: ! alias analyze baud bstats ca_iir_filter capture count_reset coverage csfp_objects cstats ctbl_objects debug dri_msg eft ex_iir_dis ex_iir_mod filter help history iir_dis iir_mod iir_rte iir_time_stamp l_dump l_modify link_test lstats mem_use memory mmu_stats msg_send mstats msw_connects objects pbegin pcmcia pend perf pstats reset rlogin router_tbl swfm time time_stamp tstats tty_backlog_dump unalias zstats </pre> h3. objects Output of software objects with no PCMCIA card: <pre> [01/01/80 00:00:49] MCU:emon_1015 % objects Object Dv Object Num Name Version Date Time Checksum Size S Ty Specific h3. ======== =========== =========== ===== ========== ======== = == 000 exec 08.00.00.35 24-Jan-2008 10:58 0x01ebf709 00418345 1 09 c8 003 null 08.00.00.35 24-Jan-2008 10:58 0x00008c25 00000492 2 09 c8 004 bootlib 08.00.00.35 24-Jan-2008 11:09 0x0017f900 00017866 1 09 c8 006 ex_com 08.00.00.35 24-Jan-2008 11:04 0x001abe24 00019575 2 09 c8 007 btask 08.00.00.35 24-Jan-2008 11:05 0x0009857d 00007128 2 09 cf 008 mcuboot 08.00.00.35 24-Jan-2008 11:09 0x03d4e1ed 00807616 1 09 0f 018 ex_dlsp 08.00.00.35 24-Jan-2008 11:02 0x0033707c 00039088 2 09 c8 020 ex_tty 08.00.00.35 24-Jan-2008 10:59 0x00134363 00013699 2 09 c8 022 ex_ftr 08.00.00.35 24-Jan-2008 11:03 0x000d2ed8 00010770 2 09 c8 023 emon 08.00.00.35 24-Jan-2008 11:00 0x00831024 00094654 2 09 c8 030 xsync_f 08.00.00.35 24-Jan-2008 11:01 0x00040687 00002994 2 09 88 062 mcu_dsp 08.00.00.35 24-Jan-2008 11:06 0x002c28de 00033739 2 09 8f 080 mip 08.00.00.35 24-Jan-2008 11:08 0x007d65ab 00089895 2 09 c8 111 mmi_rom 08.00.00.35 24-Jan-2008 11:09 0x001ac15c 00019855 2 09 8f 160 uboot 06.05.00.04 20-Jun-2001 11:00 0x000c74a6 00008641 1 10 88 0000 0000 Load version information not present </pre> Output of objects with PCMCIA card installed: <pre> [12/06/08 01:03:11] MCU:emon_1015 % objects Object Dv Object Num Name Version Date Time Checksum Size S Ty Specific h3. ======== =========== =========== ===== ========== ======== = == 000 exec 08.00.00.35 24-Jan-2008 10:58 0x01ebf709 00418345 1 09 c8 002 dbase 00.00.03.fd 15-May-2008 11:12 0x026205f6 01069062 1 03 14d1 eef8 003 null 08.00.00.35 24-Jan-2008 10:58 0x00008c25 00000492 2 09 c8 004 bootlib 08.00.00.35 24-Jan-2008 11:09 0x0017f900 00017866 1 09 c8 005 libcomn 08.00.00.00 08-Jun-2004 10:59 0x00004303 00000202 1 06 f8 006 ex_com 08.00.00.35 24-Jan-2008 11:04 0x001abe24 00019575 2 09 c8 007 btask 08.00.00.35 24-Jan-2008 11:05 0x0009857d 00007128 2 09 cf 008 mcuboot 08.00.00.35 24-Jan-2008 11:09 0x03d4e1ed 00807616 1 09 0f 012 rssboot 08.00.00.35 24-Jan-2008 12:11 0x020a40c5 00290068 1 12 20 013 options 09.00.00.00 05-Mar-2008 13:04 0x0002281d 00001144 1 04 018 ex_dlsp 08.00.00.35 24-Jan-2008 11:02 0x0033707c 00039088 2 09 c8 020 ex_tty 08.00.00.35 24-Jan-2008 10:59 0x00134363 00013699 2 09 c8 022 ex_ftr 08.00.00.35 24-Jan-2008 11:03 0x000d2ed8 00010770 2 09 c8 023 emon 08.00.00.35 24-Jan-2008 11:00 0x00831024 00094654 2 09 c8 030 xsync_f 08.00.00.35 24-Jan-2008 11:01 0x00040687 00002994 2 09 88 032 cp_rrsm 08.00.00.34 07-Dec-2007 10:47 0x026ca2ec 00487135 1 05 b8 034 cp_crm 08.00.00.35 24-Jan-2008 12:04 0x056d776f 01082366 1 05 b8 036 cp_cbs 08.00.00.33 05-Nov-2007 09:52 0x007181c0 00090582 1 05 b8 048 rs_cfm 08.00.00.33 05-Nov-2007 09:51 0x00390f3b 00031855 1 07 30 049 rs_ho 08.00.00.34 07-Dec-2007 11:00 0x008bb71f 00077886 1 07 30 050 rs_lyr1 08.00.00.34 07-Dec-2007 11:16 0x00d7d4cb 00121095 1 07 30 051 rs_abis 08.00.00.34 07-Dec-2007 11:29 0x00720c0e 00063101 1 07 30 052 rs_lyr2 08.00.00.33 05-Nov-2007 10:48 0x002892c2 00022675 1 07 30 060 sm_mbts 08.00.00.33 05-Nov-2007 09:46 0x005bc0b7 00069519 1 09 3f 062 mcu_dsp 08.00.00.35 24-Jan-2008 11:06 0x002c28de 00033739 2 09 8f 068 fm_crtr 08.00.00.35 24-Jan-2008 10:59 0x0008f60c 00011626 1 06 f8 070 fm_mvp 08.00.00.35 24-Jan-2008 11:28 0x0022af26 00027024 1 09 3f 071 fm_mca 08.00.00.35 24-Jan-2008 11:54 0x041a22e4 00781446 1 09 3f 072 fm_sync 08.00.00.33 05-Nov-2007 10:46 0x003f2bff 00046487 1 09 3f 075 fm_ftp 08.00.00.34 07-Dec-2007 10:38 0x0205c69c 00409054 1 05 f8 076 fm_mmf 08.00.00.33 05-Nov-2007 11:10 0x00367cbe 00042382 1 05 b8 077 fm_sap 08.00.00.35 24-Jan-2008 11:01 0x00636f45 00077150 1 05 f8 079 fm_mfcp 08.00.00.33 05-Nov-2007 10:05 0x007d4ef2 00098860 1 17 3f 080 mip 08.00.00.35 24-Jan-2008 11:08 0x007d65ab 00089895 2 09 c8 097 st_ssp 08.00.00.33 05-Nov-2007 10:12 0x000f4cdd 00011373 1 05 b8 111 mmi_rom 08.00.00.35 24-Jan-2008 11:09 0x001ac15c 00019855 2 09 8f 113 om_cm 08.00.00.34 07-Dec-2007 11:00 0x053d9ec8 01054286 1 05 f8 120 om_mmmi 08.00.00.35 24-Jan-2008 11:33 0x038690c2 00699229 1 09 3f 160 uboot 06.05.00.04 20-Jun-2001 11:00 0x000c74a6 00008641 1 10 88 0000 0000 165 TSM_FEP 08.00.00.07 27-Oct-2004 22:31 0x00258b0f 00020528 1 16 b0 0a00 0200 166 CC_TSM 08.00.00.30 12-Sep-2007 05:31 0x008db67d 00077444 1 16 b0 0a00 1800 169 a51 08.00.00.00 22-Jun-2004 13:13 0x00011259 00001077 1 19 170 a52 08.00.00.00 22-Jun-2004 13:13 0x0001519b 00001290 1 19 177 niu 08.00.00.30 11-Sep-2007 13:01 0x0118f93a 00163419 1 10 bf 0018 0200 184 cs1_ccc 08.00.00.35 22-Jan-2008 14:39 0x010b4a4f 00146012 1 18 185 cs1_eqc 08.00.00.0a 13-Jan-2005 16:30 0x015a0a59 00185538 1 18 193 001100 08.00.00.00 21-Jun-2004 10:53 0x00014b89 00001311 1 08 b8 0011 0000 194 001100 08.00.00.00 21-Jun-2004 11:42 0x0001cdf8 00001607 1 08 b8 0011 0000 200 sync_fw 08.00.00.00 16-Jun-2004 15:52 0x007756ac 00127364 1 26 bf 000f 0000 201 SCP 08.00.00.13 19-Jul-2005 19:07 0x00ae701f 00161502 1 08 b8 0a00 0300 202 SEQ 08.00.00.09 09-Dec-2004 22:21 0x001dfba4 00029750 1 08 b8 0a00 0300 207 niu_hds 07.06.00.00 15-Nov-2000 15:23 0x015f6b88 00229657 1 10 bf 0000 0202 Load version information not present </pre> h3. pstats <pre> [12/06/08 01:02:14] MCU:emon_1015 % pstats PROCESS USER_STACK MAILBOXES ID NAME INSTANCE PRIORITY SIZE MAXIMUM CURRENT PEAK -- ---- -------- -------- ---- ------- ------- ---- 00 Null 00000003 00 00001000 0020 0014 0014 06 COM 00000006 05 00008000 0022 0002 0002 07 btask 00000007 01 00004000 0009 0005 0005 12 exec dlsp 00000012 19 00008000 0080 0010 0010 14 tty_dlsp 00000014 04 00004000 000c 000c 000c 16 filter 00000016 02 00004000 0009 0004 0004 17 monitor 00000017 03 00005000 0020 0014 0014 1e sync_fw_rl 0000001e 04 00004000 000c 0001 0001 3e mcu_dlsp 0000003e 05 00002000 000a 0007 0007 50 MIP 00000050 0f 00002000 0032 002c 002c 70 mmi_rom 0000006f 03 00004000 0006 0006 0006 f1 SWFM_PRINT 00000000 03 00004000 0000 0000 0000 </pre> h2. Logs == Normal boot log with PCMCIA card installed === <pre> !!! REBOOT !!! Memory full configured Reset due to power reset Checking DRAM: 16 of 16 MB complete Motorola MCU Boot Software Version 1.8.0.0.35 24-Jan-08 Copyright 2008, Motorola Incorporated Board type is MCU-F QUICC microcode revision 0x0083 Exec microboot version 4 taking PCMCIA version of object 2 taking PCMCIA version of object 5 taking PCMCIA version of object 12 taking PCMCIA version of object 13 taking PCMCIA version of object 32 taking PCMCIA version of object 34 taking PCMCIA version of object 36 taking PCMCIA version of object 48 taking PCMCIA version of object 49 taking PCMCIA version of object 50 taking PCMCIA version of object 51 taking PCMCIA version of object 52 taking PCMCIA version of object 60 taking PCMCIA version of object 68 taking PCMCIA version of object 70 taking PCMCIA version of object 71 taking PCMCIA version of object 72 taking PCMCIA version of object 75 taking PCMCIA version of object 76 taking PCMCIA version of object 77 taking PCMCIA version of object 79 taking PCMCIA version of object 97 taking PCMCIA version of object 113 taking PCMCIA version of object 120 taking PCMCIA version of object 165 taking PCMCIA version of object 166 taking PCMCIA version of object 169 taking PCMCIA version of object 170 taking PCMCIA version of object 177 taking PCMCIA version of object 184 taking PCMCIA version of object 185 taking PCMCIA version of object 193 taking PCMCIA version of object 194 taking PCMCIA version of object 200 taking PCMCIA version of object 201 taking PCMCIA version of object 202 taking PCMCIA version of object 207 MMI-ROM 0000 -> MMI-ROM 0000 -> MMI-ROM 1015 -> </pre> h3. Normal boot log with no PCMCIA card installed <pre> !!! REBOOT !!! Memory full configured Reset due to power reset Checking DRAM: 16 of 16 MB complete Motorola MCU Boot Software Version 1.8.0.0.35 24-Jan-08 Copyright 2008, Motorola Incorporated Board type is MCU-F QUICC microcode revision 0x0083 Exec microboot version 4 PCMCIA: Socket 0 empty. MMI-ROM 0000 -> MMI-ROM 0000 -> MMI-ROM 1015 -> </pre> h3. emon start log after Ctrl+N <pre> MCU:emon_1015 % [12/06/08 01:06:53] MCU:emon_0000 % Database is not compressed MIP: Starting Micro IP MIP: In slot 0 MIP: csfp_swap = 'NO_CSFP_SWAP' MIP: Reset type is x48000025. MIP: Current seconds is 897700014. MIP: Soft reset count read is 0. MIP: Writing time 897700014, count 1. MIP: Will contact BSC. MIP: Performing Hard Reset. MIP: Disable phase detector 1 and 2 MIP: SYNC pulse the phase det strobe MIP: 1015 is master MCU MIP: Establishing links to NIU frame 0, slot 0 MIP: Establishing links to NIU frame 1, slot 0 NG EXEC DLSP dl_message_con: Control mailbox opened for channel 1, NG EXEC DLSP dl_message_con: HDLC link active timer started for first hdlc link, channel 1 NG EXEC DLSP dl_message_con: Control mailbox opened for channel 3, NG EXEC_DLSP process_hdlc_msg: LINK ESTABLISHED for channel 1, Link Mailbox id = 1001 NG EXEC_DLSP process_hdlc_msg: LUI mailbox created NG EXEC_DLSP process_hdlc_msg: Low priority LAPD mailbox created NG EXEC_DLSP process_hdlc_msg: HDLC link active timer stopped. NG EXEC_DLSP process_hdlc_msg: NIU Flow mailbox id for local channel 1 = 3001h MIP: HDLC link connected on frame 0, slot 0 [12/06/08 01:06:54] MCU:emon_1015 % MIP: CPU assigned ok on frame 0, slot 0 MIP: NIU/NIU2 set for E1 interface MIP: Default span 0 CHECKED HDSL settings are, ptype=0, msett=2. MIP: Default span 1 CHECKED HDSL settings are, ptype=0, msett=2. MIP: Default span 2 CHECKED HDSL settings are, ptype=0, msett=2. 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. MIP: Span response from NIU/NIU2 is PASS MIP: Span data has been set for NIU/NIU2 on frame 0, slot 0 MIP: NIU/NIU2 set for E1 interface MIP: Default span 0 CHECKED HDSL settings are, ptype=0, msett=2. MIP: Default span 1 CHECKED HDSL settings are, ptype=0, msett=2. MIP: Default span 2 CHECKED HDSL settings are, ptype=0, msett=2. 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. MIP: Span response from NIU/NIU2 is PASS MIP: Span data has been set for NIU/NIU2 on frame 0, slot 0 MIP: Link state 1, channel 0, span 0, timeslot 1. MIP: Current link owner is process 80, cpu x1015, mbox x7001. MIP: Current span is 0; current timeslot is 1; expected 0 1. MIP: Establishing second RSL on NIU/NIU2 frame 0, slot 0, span 1, timeslot 2 MIP: Link state 1, channel 1, span 1, timeslot 2. MIP: Current link owner is process 80, cpu x1015, mbox x7003. MIP: Current span is 1; current timeslot is 2; expected 1 2. NG EXEC DLSP dl_message_con: Control mailbox opened for channel 5, NG EXEC_DLSP process_hdlc_msg: LINK ESTABLISHED for channel 5, Link Mailbox id = 9001 NG EXEC_DLSP process_hdlc_msg: NIU Flow mailbox id for local channel 5 = 5001h MIP: HDLC link connected on frame 0, slot 0, span 1 MIP: Link state 1, channel 1, span 1, timeslot 2. MIP: Current link owner is process 80, cpu x1015, mbox x7003. MIP: Current span is 1; current timeslot is 2; expected 1 2. MIP: Bad EXEC DLSP return code 1 MIP: HDLC link failed to connect on frame 1, slot 0 with code 5 MIP: Tag 0x00 indicates nv_write successful! [12/06/08 01:12:17] MCU:emon_1015 % </pre>
Updated by laforge about 8 years ago · 5 revisions