AT8402 Diagnostics Manual AdvancedTCA M5306_TECH_0 1.
Revision History Publication Title: AT8402 Diagnostics Manual ID Number: M5306_TECH_0 Rev. Index 1.0 Brief Description of Changes First version Date of Issue 31 July, 2007 Imprint Kontron AG may be contacted via the following: North America Tel: EMEA Kontron Canada, Inc. Kontron Modular Computers GmbH 616 Curé Boivin Sudetenstrasse 7 Boisbriand, Québec 87600 Kaufbeuren J7G 2A7 Canada Germany (450) 437-5682 +49 (0) 8341 803 333 (800) 354-4223 Fax: (450) 437-8053 E-mail: support@ca.kontron.
AT8402 Preface About This Book 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.
Preface AT8402 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.
AT8402 Chapter 1. 1 Overview....................................................................................................... 1 - 2 1.1 Test scenarios ................................................................................................................... 1 - 2 Chapter Diagnostics running on the Carrier .............................................................. 2 - 2 2.1 Accessing the diagnostics on the Carrier .....................................................................
AT8402 2.7.8 2.7.9 PPC_FLASH_RW ................................................................................................2 - 20 PPC_SEEPROM ..................................................................................................2 - 21 2.8 PLX PCI Express Switch .................................................................................................2 - 21 2.8.1 PLX_LANEGOOD ..............................................................................................2 - 21 2.
AT8402 Chapter 1 Overview Page 1 - 1 AT8402 CLI Reference Manual
Overview 1. AT8402 Overview The diagnostics for the AT8402 Kontron Carrier board is integrated in a specially prepared image included in the Carrier firmware.
AT8402 Chapter 21 Diagnostics running on the Carrier Page 2 - 1 AT8402 CLI Reference Manual
Diagnostics running on the Carrier AT8402 2. Diagnostics running on the Carrier 2.1 Accessing 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.
AT8402 Diagnostics 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.
Diagnostics running on the Carrier Diagnostic code: AT8402 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.
AT8402 Diagnostics running on the Carrier Description This test will verify the BCM internal memory banks. Failure impact • • BCM-00010004 diagnostic code results of failure of one or more BCM internal memories. The impact is complete loss of Ethernet functionality.
Diagnostics running on the Carrier BCM-00010105 PHY 5 failed BCM-00010106 PHY 6 failed BCM-00010107 PHY 7 failed BCM-00010108 PHY 8 failed BCM-00010109 PHY 9 failed BCM-0001010A PHY 10 failed BCM-0001010B PHY 11 failed BCM-0001010C PHY 12 failed BCM-0001010D PHY 13 failed BCM-0001010E PHY 14 failed BCM-0001010F PHY 15 failed BCM-00010110 PHY 16 failed BCM-00010111 PHY 17 failed BCM-00010112 PHY 18 failed BCM-00010113 PHY 19 failed BCM-00010114 PHY 20 failed AT8402 Failure i
AT8402 Diagnostics running on the Carrier Description This test checks register level access to the CPLD for PPC readable registers. It reads all registers and checks for any possible error conditions that indicate a failure of the CPLD logic. Failure impact • • • 2.3.2 CPLD-00020001 diagnostic code results of failure to access the CPLD. The impact is failure of the board. CPLD-00020006 diagnostic code results of failure to read CPLD register. The impact is failure of the board.
Diagnostics running on the Carrier AT8402 Failure impact • • 2.3.3 CPLD-00020001 diagnostic code results of failure to access the CPLD. The impact is failure of the board. CPLD-00020002 diagnostic code results of a reading of an error condition from the CPLD. The impact is failure of the board. CPLD_IPMC_REG IPMC register read test.
AT8402 Diagnostics running on the Carrier Description This test performs read and write accesses in turn to the two IPMC CPLD debug registers (addresses 0x55 and 0xAA) with changing data patterns (0x00, 0xff, 0xaa and 0x55). One hundred cycles of writes/reads with all four data patterns to both addresses are performed, read data is checked for each access to match written data. Access to the IPMC is performed via KCS interface. Failure impact • • • 2.
Diagnostics running on the Carrier Test procedure: Test host: Test IC: Test mode: Diagnostic code: AT8402 FUM_SEEPROM_READ Carrier full normal FUM-00040001 FUM-00040002 Description The tests reads both memory banks connected to the firmware update manager and checks the stored images for consistency by verifying the stored CRC. It does this for all valid memory banks. At least one memory bank must contain a valid image.
AT8402 Diagnostics running on the Carrier Failure impact • • • • FUM-00040001 diagnostic code results from inconsistency of memory bank 1. Impact is loss of update functionality for the IPMC. FUM-00040002 diagnostic code results from inconsistency of memory bank 2. Impact is loss of update functionality for the IPMC. FUM-00040003 diagnostic code results from update failure when using memory bank 1. Impact is loss of update functionality for the IPMC.
Diagnostics running on the Carrier • 2.6.2 AT8402 conditions. Impact depends on failed sensor (e.g. voltage failing, temperature exceeded) IPMC-000503nn diagnostic code results from sensor nn update in progress. This means that the sensor reading is currently not updated. IPMC_SEEPROM_READ SEEPROM read test.
AT8402 Diagnostics running on the Carrier Description This test checks that the whole SEEPROM on the IPMC is accessible and contains valid data. Sequence • • • • Write a pattern to all FRU Data memory space. Re-read the written data Check for binary identity Restore original FRU Data Execute: ipmitool fru write Failure impact • • 2.6.4 IPMC-00050001 diagnostic code results of failure to access the IPMC through the KCS interface.
Diagnostics running on the Carrier Test host: Test IC: Test mode: Diagnostic code: AT8402 Carrier quickturn normal IPMC-00050001 IPMC-00050004 Description This test checks that the IPMB-0 is accessible from the IPMC. Failure impact • • 2.6.6 IPMC-00050001 diagnostic code results of failure to access the IPMC through the KCS interface. The impact is loss of applications running on carrier host processor. This impacts at least Ethernet functionality and command line interface.
AT8402 Diagnostics running on the Carrier Diagnostic code: IPMC-00050001 IPMC-00050006 Description This test checks the built in self test result of the IPMC. Failure impact • • IPMC-00050001 diagnostic code results of failure to access the IPMC through the KCS interface. The impact is loss of applications running on carrier host processor. This impacts at least Ethernet functionality and command line interface. IPMC-00050006 results from a failed BIST in the IPMC.
Diagnostics running on the Carrier AT8402 Failure impact • 2.7.2 PPC-00060001 diagnostic code results from a memory error. The impact is loss of applications running on carrier host processor. This impacts at least Ethernet functionality and command line interface. PPC_ETHER Ethernet interface test.
AT8402 2.7.3 Diagnostics running on the Carrier PPC_UART Serial line test. Test group: Test case: Test procedure: Test host: Test IC: Test mode: Diagnostic code: Diagnostics ppc PPC_UART Carrier quickturn normal PPC-00060003 Description This test checks sending and receiving characters on the serial line by setting the PPC405 UART into loopback mode. This test is performed automatically during POST in the case that the environment variable ‘post_en’ has been set.
Diagnostics running on the Carrier AT8402 The Configuration Register of device #n (n=0:7) is read using the sequence below # ./cpldtool mtdcr 0x12 0x0[n] wrote dcr: 0x12 value: 0x00000000[n] # ./cpldtool mfdcr 0x13 dcr: 0x13 value: 0xfc0dc000 # The Access Parameters of device #n are read using the sequence below # ./cpldtool mtdcr 0x12 0x1[n] wrote dcr: 0x12 value: 0x00000010[n] # .
AT8402 Diagnostics running on the Carrier Failure impact • 2.7.6 PPC-00060005 diagnostic code results from an I2C error. The impact is loss of applications running on carrier host processor. This impacts at least Ethernet functionality and command line interface. PPC_PCI PCI bus test.
Diagnostics running on the Carrier AT8402 Description This tests reads all images and data stored on the on-board flash and checks the embedded checksums. Failure impact • 2.7.8 PPC-00060007 diagnostic code results from an flash read error. The impact is loss of applications running on carrier host processor if the active images and/or configurations are corrupted. This impacts at least Ethernet functionality and command line interface. PPC_FLASH_RW Flash read/write test.
AT8402 Diagnostics running on the Carrier The basic modes must be combined to build a test scenario which tests the flash memory completely. The test goal is not to test the flash device itself but the correct connection to the CPU’s data and address lines. Data line connection is done by the testpattern used in the ppc-flash utility, which includes all combinations of adjacent data lines.
Diagnostics running on the Carrier Test mode: Diagnostic code: AT8402 normal PLX-00070005 PLX-00070008 PLX-000703nn PLX-000704nn Description This tests reads the e-keying status of all AMC PCI Express ports. If an AMC PCI Express port is enabled via e-keying, it checks for the LANEGOOD signals of the associated PLX port and reports an error if no LANEGOOD status is detected. Failure Impact • • • • PLX-00070005 diagnostic code results from failure to read PLX LANEGOOD status.
AT8402 2.9 Diagnostics running on the Carrier Example of diagnostics output 1 - Run quickturn diagnostics 2 - Run full diagnostics 3 - Run write diagnostics 4 - Display logs q - restart system Choice: 1 tcc: journal file is /opt/kontron/diag/AT8402/scenario.
Diagnostics running on the Carrier AT8402 BCM_MEMORY : 50 of 360 seconds BCM_MEMORY : 60 of 360 seconds BCM_MEMORY : 70 of 360 seconds BCM_MEMORY : 80 of 360 seconds BCM_MEMORY : 90 of 360 seconds BCM_MEMORY : 100 of 360 seconds BCM_MEMORY : PASS (BCM On-Chip Memory Test) BCM_LOOPBACK : started BCM_LOOPBACK : PHY= 1 BCM_LOOPBACK : 10 of 60 seconds BCM_LOOPBACK : PHY= 2 BCM_LOOPBACK : PHY= 3 BCM_LOOPBACK : PHY= 4 BCM_LOOPBACK : PHY= 5 BCM_LOOPBACK : PHY= 6 BCM_LOOPBACK : PHY= 7 BCM_LOOPBACK : PHY= 8 BCM_LO
AT8402 Diagnostics running on the Carrier Product Product Product Product Product Product Product Product Product Product Name Part Version Serial Asset Extra Extra Extra Extra Extra : : : : : : : : : : AT8402 T5306###_1-0000 01 1000611064 Part Name: XXXXXXXX Product Number: XXXXXX Part Number: XXXXX-XXXXX Serial number: CCYYWWXXXX Engineering Date Code: YYWW TEST procedure RESULT CODE ------------------------- ---------------- ------------------------PPC_RAMT PASS PPC_ETHER PASS PPC_UART PASS PPC_EBC
Diagnostics running on the Carrier Page 2 - 26 AT8402 AT8402 CLI Reference Manual
AT8402 Getting Help Appendix A Getting Help Page A - 1 AT8402 CLI Reference Manual
AT8402 A. Getting Help Getting Help If at any time you encounter difficulties with your application or with any of our products, or if you simply need guidance on system setups and capabilities, contact our Technical Support at: North America EMEA Tel.: (450) 437-5682 Tel.: +49 (0) 8341 803 xxx Fax: (450) 437-8053 Fax: +49 (0) 8341 803 xxx If you have any questions about Kontron, our products, or services, visit our Web site at: www.kontron.
AT8402 Getting Help RETURNING DEFECTIVE MERCHANDISE Before returning any merchandise please do one of the following if your product malfunctions: • Call 1. Call our Technical Support department in North America at (450) 437-5682 and in EMEA at +49 (0) 8341 803 xxx. Make sure you have the following on hand: our Invoice #, your Purchase Order #, and the Serial Number of the defective unit. 2.
AT8402 Getting Help WHEN RETURNING A UNIT • In the box, you have to include the name and telephone number of a person whom we can contact for further explanations if necessary when returning goods. Where applicable, always include all duty papers and invoice(s) associated with the item(s) in question. • Ensure that the unit is properly packed. Pack it in a rigid cardboard box. • Clearly write or mark the RMA number on the outside of the package you are returning. • Ship prepaid.
Return to Manufacturer Authorization Request Contact Name: __________________________________________________________ Company Name: __________________________________________________________ Street Address: __________________________________________________________ City: ________________________ Province/State: Country: ________________________ Postal/Zip Code: _______________________ Phone Number: ________________________ Extension: _______________________ Fax Number: ______________________