Actions

Difference between revisions of "Low level hardware analyze (not for beginners!)"

From Zenitel Wiki

Line 13: Line 13:
  
  
The following test are done from console login. Super user password required.
+
The following tests are done from console login. Super user password required.
  
 
== MBI test ==
 
== MBI test ==
Line 25: Line 25:
  
 
== SBI test ==
 
== SBI test ==
 +
 +
If the MBI works communication to the other SBI's through the backplane should work. <\br>
  
 
Read SBI on first board position. The value "ac" should be seen in byte 2.
 
Read SBI on first board position. The value "ac" should be seen in byte 2.
Line 30: Line 32:
 
  57008100:  01 ac 00 00 00 00 08 01 00 00 00 00 00 00 00 00
 
  57008100:  01 ac 00 00 00 00 08 01 00 00 00 00 00 00 00 00
  
Read SBI on amcd card in board position 25. "03 ac" should be seen.
+
Read SBI on amcd card in board position 25 (E7/E20/E26). "03 ac" should be seen.
 
  memedit -1 0x570c8100 16
 
  memedit -1 0x570c8100 16
 
  570C8100:  03 ac 03 01 00 00 00 01 00 00 00 00 00 00 00 00
 
  570C8100:  03 ac 03 01 00 00 00 01 00 00 00 00 00 00 00 00
  
 
== DSP check ==
 
== DSP check ==
 +
The following command list DSP diagnostics.
 +
 +
cat /proc/dspdrv
 +
 +
Example output:
 +
DSP drv version: 0210 ; build date: Jan 16 2008 14:03:03 ;
 +
  1024
 +
  DSP1 Main Dev: 0x0fe00001
 +
  DSP2 Main Dev: 0x0fe00002
 +
  DSP0 ctrl Dev: 0x0fe00003
 +
  DSP0 mmap Dev: 0x0fe00005
 +
  DSP0 mmap_buffer: 3337256960
 +
  mmap_buffer[0] = c6ea8000 ; phys 06ea8000;
 +
  DSP1 ctrl Dev: 0x0fe00004
 +
  DSP1 mmap Dev: 0x0fe00006
 +
  DSP1 mmap_buffer: 0
 +
DSP 1 diagnostics
 +
  Ready!
 +
  cnt_8khz = 27165384
 +
  cnt_wait_mcbsp0 = 4270651387
 +
  cnt_wait_mcbsp1 = 3
 +
  cnt_frm_prcss_tm = 4032
 +
  cnt_frm_prcss_tm_max = 4293697236
 +
  cnt_frm_interval = 6249
 +
  cnt_frm_rx_miss = 1
 +
  PCM buffers adresses:
 +
  pcm_tx_input_frame0  = 0x8000107c
 +
  pcm_rx_output_frame0 = 0x80001280
 +
  pcm_tx_input_frame1  = 0x80001484
 +
  pcm_rx_output_frame1 = 0x80001688
 +
  frame_tab_info_tx = 0x80003c78
 +
  frame_tab_info_rx = 0x80003e00
 +
DSP 2 diagnostics
 +
  Ready!
 +
  cnt_8khz = 27165063
 +
  cnt_wait_mcbsp0 = 1832807137
 +
  cnt_wait_mcbsp1 = 2
 +
  cnt_frm_prcss_tm = 1546
 +
  cnt_frm_prcss_tm_max = 4291703462
 +
  cnt_frm_interval = 6252
 +
  PCM buffers adresses:
 +
  pcm_tx_input_frame0  = 0x80001_output_frame0 = 0x80001280
 +
  pcm_tx_input_frame1  = 0x80001484
 +
  pcm_rx_output_frame1 = 0x80001688
 +
  frame_tab_info_tx = 0x80003c78
 +
  frame_tab_info_rx = 0x80003e00

Revision as of 13:04, 4 April 2008

Fault finding on broken hardware

This checks can be preformed if the basic operation of the AMC card is still OK. <br\> First step is to disable the hardware watchdog. If the AlphaCom software is not able to start then the hardware watchdog will continuously reset the card thus AlphaWeb is unavailable.

  • If the cards IP address is unknown cold boot the card
  • Try AlphaWeb login, if success do an AlphaSys upgrade in case some files is corrupted.
  • If still not working do the hardware check listed bellow.

If no AlphaWeb/telnet available enable the Linux console dip switch and use the serial port for further tests.


The following tests are done from console login. Super user password required.

MBI test

The MBI version can be read by the following memedit. The version number should be "02"
memedit -1 0x56000300 16
56000300:   02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  "................"
56000310:

SBI test

If the MBI works communication to the other SBI's through the backplane should work. <\br>

Read SBI on first board position. The value "ac" should be seen in byte 2.

memedit -1 0x57008100 16
57008100:   01 ac 00 00 00 00 08 01 00 00 00 00 00 00 00 00

Read SBI on amcd card in board position 25 (E7/E20/E26). "03 ac" should be seen.

memedit -1 0x570c8100 16
570C8100:   03 ac 03 01 00 00 00 01 00 00 00 00 00 00 00 00

DSP check

The following command list DSP diagnostics.

cat /proc/dspdrv

Example output:

DSP drv version: 0210 ; build date: Jan 16 2008 14:03:03 ;
 1024
 DSP1 Main Dev: 0x0fe00001
 DSP2 Main Dev: 0x0fe00002
 DSP0 ctrl Dev: 0x0fe00003
 DSP0 mmap Dev: 0x0fe00005
 DSP0 mmap_buffer: 3337256960
 mmap_buffer[0] = c6ea8000 ; phys 06ea8000;
 DSP1 ctrl Dev: 0x0fe00004
 DSP1 mmap Dev: 0x0fe00006
 DSP1 mmap_buffer: 0
DSP 1 diagnostics
 Ready!
 cnt_8khz = 27165384
 cnt_wait_mcbsp0 = 4270651387
 cnt_wait_mcbsp1 = 3
 cnt_frm_prcss_tm = 4032
 cnt_frm_prcss_tm_max = 4293697236
 cnt_frm_interval = 6249
 cnt_frm_rx_miss = 1
 PCM buffers adresses:
 pcm_tx_input_frame0  = 0x8000107c
 pcm_rx_output_frame0 = 0x80001280
 pcm_tx_input_frame1  = 0x80001484
 pcm_rx_output_frame1 = 0x80001688
 frame_tab_info_tx = 0x80003c78
 frame_tab_info_rx = 0x80003e00
DSP 2 diagnostics
 Ready!
 cnt_8khz = 27165063
 cnt_wait_mcbsp0 = 1832807137
 cnt_wait_mcbsp1 = 2
 cnt_frm_prcss_tm = 1546
 cnt_frm_prcss_tm_max = 4291703462
 cnt_frm_interval = 6252
 PCM buffers adresses:
 pcm_tx_input_frame0  = 0x80001_output_frame0 = 0x80001280
 pcm_tx_input_frame1  = 0x80001484
 pcm_rx_output_frame1 = 0x80001688
 frame_tab_info_tx = 0x80003c78
 frame_tab_info_rx = 0x80003e00