This document describes diagnostics commands the AT8402 Carrier board.
Proprietary Note
This document contains information proprietary to Kontron Modular Computers GmbH. It may
not be copied or transmitted by any means, disclosed to others, or stored in any retrieval system
or media without the prior written consent of Kontron Modular Computers GmbH or one of its
authorized agents.
The information contained in this document is, to the best of our knowledge, entirely correct.
However, Kontron Modular Computers GmbH cannot accept liability for any inaccuracies or
the consequences thereof, or for any liability arising from the use or application of any circuit,
product, or example shown in this document.
Kontron Modular Computers GmbH reserves the right to change, modify, or improve this
document or the product described herein, as seen fit by Kontron Modular Computers GmbH
without further notice.
Trademarks
Kontron Modular Computers GmbH and the Kontron Logo are trade marks owned by Kontron
Modular Computers GmbH, Kaufbeuren (Germany). In addition, this document may include
names, company logos and trademarks, which are registered trademarks and, therefore,
proprietary to their respective owners.
Linux is a registered trademark of Linus Torvalds.
RedHat is a registered trademark of RedHat
Environmental Protection Statement
This product has been manufactured to satisfy environmental protection requirements where
possible. Many of the components used (structural parts, printed circuit boards, connectors,
batteries, etc.) are capable of being recycled.
Final disposition of this product after its service life must be accomplished in accordance with
applicable country, state, or local laws or regulations.
Explanation of Symbols
Warning!
This symbol and title emphasize points which, if not fully understood and
taken into consideration by the reader, may endanger your health and/or
result in damage to your material.
Note...
This symbol and title emphasize aspects the reader should read through
carefully for his or her own advantage.
Page iiiAT8402 CLI Reference Manual
PrefaceAT8402
General Instructions on Usage
In order to maintain Kontron’s product warranty, this product must not be altered or modified in
any way. Changes or modifications to the device, which are not explicitly approved by Kontron
Modular Computers GmbH and described in this manual or received from Kontron’s Technical
Support as a special handling instruction, will void your warranty.
This device should only be installed in or connected to systems that fulfill all necessary
technical and specific environmental requirements. This applies also to the operational
temperature range of the specific board version, which must not be exceeded. If batteries are
present their temperature restrictions must be taken into account.
In performing all necessary installation and application operations, please follow only the
instructions supplied by the present manual.
Keep all the original packaging material for future storage or warranty shipments. If it is
necessary to store or ship the board please re-pack it as nearly as possible in the manner in
which it was delivered.
Special care is necessary when handling or unpacking the product. Please, consult the special
handling and unpacking instruction on the previous page of this manual.
2.9Example of diagnostics output ........................................................................................2 - 23
Appendix
A.Getting Help ................................................................................................ A - 2
A
P R E L I M I N A R Y
Page viAT8402 Diagnostics Manual
AT8402
Chapter1
1
Overview
Page 1 - 1AT8402 CLI Reference Manual
OverviewAT8402
1.Overview
The diagnostics for the AT8402 Kontron Carrier board is integrated in a specially
prepared image included in the Carrier firmware. It includes diagnostics for:
Diagnostics are designed to run on the board under control of a local test sequencer.
The diagnostics are designed to run in a controlled diagnostic environment. The tests
are grouped by major functional blocks they relate to (Test case). Tests are written as
test procedures where each procedure covers a specific functional block. The testsequencer selects different test procedures to execute. It also retrieves results and
progress indication from the test procedures.
Description of Test categories
Test groupTest group is allways Diagnostics.
Test caseTest case name in diagnostic test-suite is meant as an grouping of differ-
ent test procedures for a certain part of the board (SAS, PPC, CPLD, ...)
Test procedureTest procedure name as reported in journal and online
Test hostCarrier
Test ICeither quickturn or full
Test modenormal or destructive
Diagnostic codeDiagnostic codes produced by this test procedure in case of failures.
1.1Test scenarios
Different test scenarios can be started. A scenario is a sequence of test procedures.
The following scenarios are currently defined:
quickturn: The scenario quickturn contains tests executing quickly, but no
destructive tests (TestIC=quickturn)
full: The scenario complete contains all tests but the destructive ones
(TestIC=full)
write: The scenario write contains only destructive tests (TestIC=full, Test
Mode = destructive)
If test mode is destructive the system will need some kind of re-initialization after running this test-procedure (e.g. reprogramming of permanent storage) Failure of destructive tests may leave the board
unusable.
Page 1 - 2AT8402 CLI Reference Manual
AT8402
Chapter1
2
Diagnostics running on the Carrier
Page 2 - 1AT8402 CLI Reference Manual
Diagnostics running on the CarrierAT8402
2.Diagnostics running on the Carrier
2.1Accessing the diagnostics on the Carrier
The diagnostics framework can be accessed from the CLI on the Carrier. The CLI (see
“CLI reference manual” ) provides the command:
diagnostics [options]
to start the diagnostics.
There are some options, which allow to either choose a pre-configured scenario or to
use the interactive mode.
If “interactive” is specified the switch will be restarted and the diagnostics loaded. The
user gets a menu to select interactively a scenario. This requires to be connected via a
serial console.
Otherwise, if a scenario is specified, this scenario is executed directly. You may start
this scenario once or repeated for a time (timedloop), for a number of repetitions (loop)
or forever. The results are stored and can be displayed by using “show logging diagreport”. Possible scenarios are “full” (all test purposes except the destructive ones),
“quickturn” (scenarios running fast) or “write” (destructive scenarios).
Aftre having started diagnostics, you will first be asked to save unsaved changes in the
configuration. After having saved the changes, the system will ask to reset the system
The output looks like the following
(AT8402 Ethernet Fabric) #diagnostics interactive
The system has unsaved changes.
Would you like to save them now? (y/n) n
Configuration Not Saved!
Are you sure you would like to reset the system? (y/n) y
System will now restart!
After system restart the console screen will show some bootup informations and the
predefined test scenarios which can than be selected by typing the appropriate number.
Page 2 - 2AT8402 CLI Reference Manual
AT8402Diagnostics running on the Carrier
Output example:
Startup...
Base System Software
Release HEAD 0.00
Platform ppc405
Build 20051208100210
Kernel release 2.4.20_HEAD-0.00
1 - Run quickturn diagnostics
2 - Run full diagnostics
3 - Run write diagnostics
4 - Display logs
q - restart system
2.2Broadcom BCM Gigabit Ethernet Switch
2.2.1BCM_PCI
PCI interface test.
Test group: Diagnostics
Test case: bcm
Test procedure: BCM_PCI
Test host: Carrier
Test IC: quickturn
Test mode: normal
Diagnostic code: BCM-00010001, BCM-00010005
Description
The PCI test ensures accessibility of the BCM integrated PCI controller.
Failure impact
•BCM-00010001 diagnostic code results of failure to access the BCM PCI controller. The impact is complete loss of Ethernet functionality.
•BCM-00010005 diagnostic code results of failure loading the BCM drivers
2.2.2BCM_DMA
DMA transfer test.
Test group:Diagnostics
Test case:bcm
Test procedure: BCM_DMA
Test host: Carrier
Test IC: quickturn
Test mode: normal
Page 2 - 3AT8402 CLI Reference Manual
Diagnostics running on the CarrierAT8402
Diagnostic code: BCM-00010002, BCM-00010005
Description
The test will verify read and write access to the on-chip BCM memories using DMA.
Failure impact
•BCM-00010002 diagnostic code results of failure to access the BCM using DMA.
The impact is complete loss of Ethernet functionality.
•BCM-00010005 diagnostic code results of failure loading the BCM drivers
BCM shell test
U/A/S|Test| Test |Loop | Run |Pass |Fail | Arguments
| # | Name |Count|Count|Count|Count|
Test group: Diagnostics
Test case: bcm
Test procedure: BCM_REGRW
Test host: Carrier
Test IC: quickturn
Test mode: normal
Diagnostic code: BCM-00010003, BCM-00010005
Description
This test will verify read and write access to the on-chip BCM registers.
Failure impact
•BCM-00010003 diagnostic code results of failure to access the BCM registers. The
impact is complete loss of Ethernet functionality.
•BCM-00010005 diagnostic code results of failure loading the BCM drivers
BCM shell test
U/A/S|Test| Test |Loop | Run |Pass |Fail | Arguments
| # | Name |Count|Count|Count|Count|
Test group:Diagnostics
Test case:bcm
Test procedure: BCM_MEMORY
Test host: Carrier
Test IC: quickturn
Test mode: normal
Diagnostic code: BCM-00010004, BCM-00010005
Page 2 - 4AT8402 CLI Reference Manual
Loading...
+ 27 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.