Broadcom NetXtreme BCM570 Series Diagnostic User Manual

Broadcom NetXtreme BCM570 Series Diagnostic User Manual

Ethernet adapter
Table of Contents

Advertisement

Quick Links

Broadcom NetXtreme Ethernet Adapter
Diagnostic User's Guide
B57diag Version 10.41 • Date 2/01/07
Prepared by: Tak Tomita
Updated by: Paul Nguyen, Austin Hui, Carlton Joseph, Vanessa Jia
Broadcom Confidential and Proprietary

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NetXtreme BCM570 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Broadcom NetXtreme BCM570 Series

  • Page 1 Broadcom NetXtreme Ethernet Adapter Diagnostic User’s Guide B57diag Version 10.41 • Date 2/01/07 Prepared by: Tak Tomita Updated by: Paul Nguyen, Austin Hui, Carlton Joseph, Vanessa Jia Broadcom Confidential and Proprietary...
  • Page 2 No part of this document may be reproduced, in any form or by any means, without permission in writing from Broadcom Corporation. Broadcom Corporation reserves the right to make changes to the products or information contained in this document without notice. No liability is assumed as a result of their use or application. No rights under any patent accompany the sale of any such products or information.
  • Page 3: Table Of Contents

    COMMAND LINE OPTION PARAMETERS................12 RECOVER DEVICE FROM CORRUPT NVAM ................. 26 EEPROM.TXT FORMAT........................ 27 USER INTERFACE COMMANDS....................32 SPECIAL INSTRUCTION....................... 37 SAME SYSTEM SEND/RESPOND TEST ..................38 ....................38 DENTIFYING A REFERENCE DEVICE page iii Broadcom Confidential and Proprietary...
  • Page 4 ............................ 72 SETIPMI 10.44 ..........................72 LOADFW 10.45 ............................ 73 CPUDTT 10.46 ........................... 73 CPUDRT 10.47 ..........................74 CPUTRACE 10.48 ..........................74 HALTCPU 10.49 ........................74 LOADBOOTCODE 10.50 ............................ 74 DISASM 10.51 ............................75 STEP page iv Broadcom Confidential and Proprietary...
  • Page 5 ............................97 POLL 10.99 ............................. 97 SETBIT 10.100 ..........................98 CLEARBIT 10.101 ..........................99 READBIT 10.102 ............................. 99 CREAD 10.103 ..........................100 CWRITE 10.104 ..........................100 VPDTEST 10.105 ..........................100 REGTEST 10.106 ..........................100 MIITEST page v Broadcom Confidential and Proprietary...
  • Page 6 ..........................117 GPIOREAD 10.154 ..........................117 PXECPY 10.155 ..........................118 DEVICE 10.156 ..........................118 VERSION 10.157 ............................118 HELP 10.158 ? ............................118 10.159 ............................ 119 RADIX 10.160 ........................... 119 NOLOG 10.161 ............................119 page vi Broadcom Confidential and Proprietary...
  • Page 7 ..........................133 ISCSIPRG 10.210 ..........................133 UMPECHO 10.211 ..........................134 UMPCFG 10.212 ..........................134 SETUMP 10.213 1 ..........................135 SECFGSB 10.214 2 ..........................135 SECFGSB 10.215 3 ..........................136 SECFGSB 10.216 1 ......................... 136 SECFGHWSB page vii Broadcom Confidential and Proprietary...
  • Page 8 BCM570x • Diagnostic User’s Guide 10.217 2 ......................... 137 SECFGHWSB 10.218 3 ......................... 137 SECFGHWSB 10.219 ..........................138 ESWITCH ERROR MESSAGES........................139 page viii Broadcom Confidential and Proprietary...
  • Page 9 BCM570x • Diagnostic User’s Guide page ix Broadcom Confidential and Proprietary...
  • Page 10: Introduction

    The commands are explained in the later chapters. This document provides the information on configuration file specification, command line options and engineering diagnostic commands on Broadcom NetXtreme Ethernet adapter, in particular to check out the functionality of the BCM5700-5705 and its related components.
  • Page 11: Prerequisites

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 2 Prerequisites The engineering diagnostic is executed under DOS protected mode or under Intel’s Extensible Firmware Interface (EFI) on Intel IA64 systems. OS: Dos 6.22 or EFI V1.10.14.62 and newer Software: b57diag.exe for DOS and b57diag64.efi for EFI (version 7.45 and newer) Input File List: The following files should be found in the same location of the b57diag.
  • Page 12: Diagnostic Tests

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 3 Diagnostic Tests The tests are divided into four groups: Register Tests, Memory Tests, Miscellaneous Tests, and Data Tests. They numbered as group ‘A’, ‘B’, ‘C’, ‘D’, and ‘E’. 3.1 Test Names Group A.
  • Page 13: A1. Indirect Register Test

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 3.2 Error Codes The Error Codes are presented in Section 9 - ERROR MESSAGES. 3.3 Test Descriptions 3.3.1 A1. Indirect Register Test Command: regtest -i Function: Using indirect addressing method, writing increment data into MAC hash Register table and read back for verification.
  • Page 14: A6. Serial Number Reg Test

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Default: Enabled 3.3.6 A6. Serial Number Reg Test Command: serial Function: Tests the PCI-E Serial Number capabilities registers on chips that support the Serial Number capability. This command is supported on 5751Cx, 5755, 5787.
  • Page 15: B2. Bd Sram Test

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Default: Enabled 3.3.9 B2. BD SRAM Test Command: memtest -b Function: This test tests the BD SRAM. This performs exact the same way of testing as described in B1. Scratch Pad Test.
  • Page 16: B6. External Sram Test

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide “32 FF's 32 00's” Full the entire host DMA buffer with 32 bytes of FF’s and then 32 bytes of 00’s. “00000000's” Full the entire host DMA buffer with all zeros. “FFFFFFFF's”...
  • Page 17: C4. Mii Test

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Function: Both high and low priorities DMA are tested. It moves data from host memory to NIC SRAM, verifies data, and then moves data back to host memory again to verify data.
  • Page 18: C6. Asf Test

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Default: Enabled 3.3.20 C6. ASF Test Command: asftest Function:m 1. Reset test. Setting reset bit, poll for self-clearing. Verify reset value of registers. 2. Event Mapping Test Setting SMB_ATTN bit. By changing ASF_ATTN LOC bits, verify the mapping bits in TX_CPU or RX_CPU event bits.
  • Page 19: D2. Phy Loopback Test

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Function: This is internal loopback data transmit/receive test. It initializes MAC into internal loopback mode, and transmits 200 packets. The data should be routed back to receive channel and receive by the receive routine, which verifies the integrity of data. One Giga bit rate is used for this test.
  • Page 20: D5. Mii Miscellaneous Test

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide can be used: 1. command line option ‘-disableeswitch’; 2. ‘eswitch –f’ in engineering mode before the test. Default: Disabled 3.3.27 D5. MII Miscellaneous Test Command: None Function: This function tests the auto-polling and phy-interrupt capabilities. These are the functionalities of the phy.
  • Page 21: Command Line Option Parameters

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 4 Command line option parameters When users invoke this program, a set of option parameter can be used to overwrite the configuration file or the default configuration. This section summarizes the options. The options are case sensitive.
  • Page 22 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -piscsi <file> Program ISCSI firmware This option needs to follow the –e and –c options. If this option is entered, the program will retrieve the ISCSI firmware filename from the command line then it will start programming.
  • Page 23 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide secondary port. Software will read command from input files and compare with the boot code configuration and return “Passed” or “Failed” accordingly. Example: b57diag –chksecfg file_p.txt (for single port devices) b57diag –chksecfg file_p.txt file_s.txt (for dual port devices)
  • Page 24 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Use this option with the external loopback test D3 to select a reference card. During the external loopback test the physical loopback can be provided with a RJ45 loopback plug or a CAT5 cable connected to a reference device (which loops back the data).
  • Page 25 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide The feature outputs the following information: PCI DID, VID, SDID & SVID; MAC address, Firmware revision, PXE, PXESpd, WOL, ASF, MBA, Bond Rev. This information can be used to verify the setup of a chip after a firmware upgrade.
  • Page 26 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide updated by the input file of “-firmall” command. The “-firmall” command is described above. -pipmi <filename> used for field program of IPMI firmware The feature is used to execute a field upgrade of NVRAM to add IPMI firmware. The firmware is programmed into a/the device/s specified by “-c”...
  • Page 27 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide In manufacture testing mode, by default, all devices are tested; however, if this option is used, only that selected device is tested. Example: -c 2 -l <file> log file All diagnostic output can be saved in a log file. Type log file name is specified by this option.
  • Page 28 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide A1. Indirect Register Test A2. Control Register Test A3. BIST A4. Interrupt Test A5. PCI Cfg Register Test B1. Scratch Pad Test B2. BD SRAM Test B3. DMA SRAM Test B4. MBUF SRAM Test B5.
  • Page 29 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide A password is needed to run this option. With this option, it updates the specified eeprom binary file with the specifications defined in eeprom.txt. Please see Section 6.0 EEPROM.TXT format for detailed argument description.
  • Page 30 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide incremented; if not, it will stay unchanged. The text file which contains the MAC address range has the following format and the numbers are in hexadecimal: mac_addr_pref = xxxxxx => Which is the prefix of the MAC address.
  • Page 31 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Checking EEPROM content....: passed Loading EEPROM content from <file>..: passed Programming EEPROM from <file>..: passed Checking EEPROM content....: passed Checking EEPROM content....: invalid Loading EEPROM content from <file>..: passed Programming EEPROM from <file>..: passed Checking EEPROM content....: passed...
  • Page 32 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -pasf <file> Program ASF firmware This option needs to follow the –e and –c options. User has an option to program the ASF firmware from a single bin file that combined all 3 pieces of ASF bin files or from a specified text file that contain the file names of all 3 pieces of ASF bin files.
  • Page 33 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide value = 1 : Selecting 10HD value = 2 : Selecting 10FD value = 3 : Selecting 100HD value = 4 : Selecting 100FD Example: b57diag –mbas 0 : To select Auto speed mode.
  • Page 34 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -findref : Detect reference device -lbm <n> : Option to set mac loopback packets -lbp <n> : Option to set phy loopback packets -lbe <n:n:n> : Option to set external loopback packets, Format: <1000Mbps:100Mbps:10Mbps>...
  • Page 35: Recover Device From Corrupt Nvam

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 5 Recover device from corrupt NVAM When vendor id and/or device id have been modified and B57diag can longer find the device, the following steps can be followed to recover the missing device.
  • Page 36: Eeprom.txt Format

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 6 EEPROM.TXT format A set of commands is defined to allow user to change EEPROM.BIN content. To update EEPROM.BIN, user must enter –e <code> -geneep options at the command prompt. A password must be entered to run this option.
  • Page 37 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide PART_NUMBER = string (16) ENGINEERING_CHANGE = string (10) MANUFACTURING_ID = string (4) ASSET_TAG = string (16) FORCE_PCI = {enable, disable} VOLTAGE_SOURCE = {1.3, 1.8} LED_MODE = {mac_mode, triple_link /phy_mode1, link_speed/phy_mode2, shared_traffic, shasta_mac, wireless_combo} MAX_PCI_RETRY = {0..7, auto}...
  • Page 38 Budgeting Data 4 | Power Budgeting Data 5. “x4” = Power Budgeting Data 6 | Power Budgeting Data 7. *** User defined values will be used. Suggested Product Name is “Broadcom NetXtreme Gigabit Ethernet Controller” **** If “VPDR_SYSTEM_DEFAULT = 1” has been entered, System default value for all VPD-R data will be selected.
  • Page 39 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide b. LED mode....: Phy1 Mode c. Custom PCI power..: Yes (comsumed D0:100.D3:10 dissipated D0:100.D3:10) d. Custom PCIE power...: Yes (3.3v, Sustained, D0, 1.2 Watt...) e. Custom VPD Data g. Cable Sense..: Disabled x.
  • Page 40 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Reference Product Name Description: VPD Product description string. Example: ; This comment line // This also can be used as comment line // Blank line is also allowed // This is Broadcom’s MAC prefix...
  • Page 41: User Interface Commands

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 7 User Interface Commands The commands are summarized in the following groups: vpd, nvram, cpu, dma, packet, mii, mem, test, power, irq, mac, misc and bridge. Command Group vpd vpdwrite Write VPD Memory...
  • Page 42 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide secfg5 Configure NVRAM Group5 secfgsb1 Configure Selfboot NVRAM Group1 secfgsb2 Configure Selfboot NVRAM Group2 secfgsb3 Configure Selfboot NVRAM Group3 secfghwsb1 Configure Hardware Selfboot NVRAM Group1 secfghwsb2 Configure Hardware Selfboot NVRAM Group2 secfghwsb3...
  • Page 43 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide pcimrd Test an individual register Command Group mii mwrite Write PHY registers via MII Management interface mread Read PHY registers via MII Management interface mdev Select current PHY to be accessed miimode...
  • Page 44 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide miimisctest Run MII Misc. Tests cpugprtest Run CPU GPR test Command Group power pmdcfg Dump Power Management Info pmpcfg Add/Del Pattern pmpd Power Down MAC Command Group irq intr Dump Interrupt Info...
  • Page 45 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide fillpattern Fill WOL matching pattern into Misc. Memory Loacation input port outp output port switch Altinate 'device' command Excute command from a file txfill Fill tx buffer with pattern and packet length (14-9018)
  • Page 46: Special Instruction

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 8 Special Instruction 1. Mac register test: Unload MAC driver before running test. 2. Memory test: Unload MAC driver before running test. 3. DMA test: Unload MAC driver before running test. 4. TX RX packets: TX sides need to be configured (txcfg).
  • Page 47: Same System Send/Respond Test

    CAT5 (RJ45) cable and data is transmitted and received across the cable. In the above setup one device is the device under test (DUT) and the other is the reference device. Any Broadcom device that is supported by diagnostics can be used as the DUT or the reference device.
  • Page 48: Test And Functions Description

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10 Test and Functions Description 10.1 vpdwrite cmd: vpdwrite Description: Write data to VPD storage. Syntax: vpdwrite <start[-end | len] value> | <filename> File format: Address range: 0x00 – 0xFF num_bytes: 256 (max) If only one argument is entered, filename is assumed.
  • Page 49: Seread

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 1. Set Serial EEPROM mode to Auto. 0:> semode auto 2. Display Current mode 0:> semode Current mode : New NVRAM Access, Auto device: Flash – ATMEL (with buffer) 10.5 seread cmd: seread...
  • Page 50: Secfg

    : Disable 9. PXE Link Speed { Auto(0),10HD(1),10FD(2) 100HD(3),100FD(4) }: Auto 10. Magic Packet WoL { Enable(1), Disable(2) } : Disable 11. Product Name : Broadcom NetXtreme Gigabit Ethernet Controller 12. Part Number : BCM95705A50 13. Engineering Change : 106679-15 14.
  • Page 51 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 25. Dual MAC mode {Normal(0), MAC_B only(1) MAC_A only(2), XBAR(3), swap(4), swapXBAR(7)}: 0 26. MBA Boot Protocol {PXE(0), RPL(1), BOOTP(2), iSCSI(3)} : 0 27. MBA Bootstrap Type {Auto(0), BBS(1), Int18(2), Int19(3)}: 0 28.
  • Page 52 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: MAC address of the device. Reference Power Dissipated (D3:D2:D1:D0) Description: Power dissipated in D3-0 states. Reference Power Consumed (D3:D2:D1:D0) Description: Power consumed in D0-2 states. Configure Vendor ID Description: PCI Vendor ID. Default 0x14e4.
  • Page 53 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Note: A driver can setup the WoL behavior of a device and the value programmed into this location is ignored. Reference Product Name Description: VPD Product description string. Reference Part Number Description: VPD part number..
  • Page 54 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Configure Led Mode Description: A device can be configured to use one LED to indicate speed and activity or three LEDs. Use a devices data sheet to verify the LED modes supported by a devices and for exceptions to the LED modes described below.
  • Page 55 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide MAC_A only(2) MAC_A is available and is supported as PCI function 0. MAC_B is disable. XBAR mode(3) MAC_A and MAC_B are available and are supported as PCI function 0. MAC_A is the primary device and MAC_B is mapped in the space of MAC_A.
  • Page 56 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Select NIC or LOM based Ethernet controller. NIC(0) Option selected for a plug in network interface card. LOM(1) Option selected for a LAN on motherboard. Note: The firmware and the drivers use this to determine the operational characteristics of a device.
  • Page 57 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide No(0) Power-saving capability active. Yes(1) Power-saving capability inactive. Configure Hide MBA Setup Prompt Description: During the MBA boot, the MBA setup prompt is displayed to provide the user the option to setup and configure various MBA parameters. Options 8,9, 26 - 29 and 39-40 configure the boot protocol behavior.
  • Page 58 This option is only valid for 5787 and 575xCx devices. The power values need to be setup by the OEM / manufacture based on actual measurements. Default values, contained in the bootcode / firmware, are loosely based on the in house Broadcom NIC card. 15-0 Power Budget data 1 7-0 Base Power in .1 Watt...
  • Page 59 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Enable (1) Enable hot plug power feature. Configure Pri. Port SMB Address (ASF/IPMI) Description: SMB address of the primary port on a device. Configure Sec. Port SMB Address (IPMI) Description: SMB address of the secondary port on a device (only valid for dual port devices).
  • Page 60 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide x. Save & exit ----------------------------------------------- LED Mode (option b)-----------------------------------------_ -> b Selfboot LED Mode selection 0. Mac Mode 1. Phy1 Mode 2. Phy2 Mode 3. Shared Traffic/Lik LED Mode 4. Shasta MAC mode 5.
  • Page 61 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Selfboot VPD R 1. Use system default 2. Costom define -> 2 1. Part Number : BCM957xx 2. Engineering Change : 106679-15 3. Serial Number : 0123456789 4. Manufacturing ID : 14e4 5.
  • Page 62 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Configure Limit WoL Speed to 10 Description: Limit Wake on LAN (WoL) line speed. No(0) 10 or100 Mbits/s is used for WoL. Yes(1) Only 10 Mbits/s is used for WoL. Configure Design Type Description: Select NIC or LOM based Ethernet controller.
  • Page 63 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Configure Led Mode Description: A device can be configured to use one LED to indicate speed and activity or three LEDs. Use a devices data sheet to verify the LED modes supported by a devices and for exceptions to the LED modes described below.
  • Page 64 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Reference Product Name Description: VPD Product description string. Configure Cable Sense Description: Enables a low power mode (IDDQ) of the chip which allows the presence of a cable to be detected by the chip (valid for 5752M/5755M/5787M/5787FM devices). Once Cable Sense is enabled GPIO3 will be an Energy Detect Output Pin and will be high if a cable (with a signal present) is plugged into the RJ45 and low otherwise.
  • Page 65 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -> 7 HW Selfboot Driver WOL selection 0. Disable 1. Magic Packet WOL Enable ----------------------------------------------- LED Mode (option 8)-----------------------------------------_ -> 8 HW Selfboot LED Mode selection 0. Mac Mode 1. Phy1 Mode 2.
  • Page 66 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide To enter the ‘secfg’ menu shown above a user type in ‘secfg’ for hardware selfboot firmware at the diagnostics command line. A menu is present to the user showing the ‘secfg’ options shown above. A user can change the ‘secfg’ parameter by entering the option number.
  • Page 67 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Configure Led Mode Description: A device can be configured to use one LED to indicate speed and activity or three LEDs. Use a devices data sheet to verify the LED modes supported by a devices and for exceptions to the LED modes described below.
  • Page 68: Seprg

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Enable(1) Enable L1 PLL Powerdown Configure Clock Request Description: Disable / Enable Clock Request Disable(0) Disable Clock Request Enable(1) Enable Clock Request 10.8 seprg cmd: seprg Description: Program NVRAM and ASF firmware Syntax: seprg <file_name>...
  • Page 69: Upgfrm

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide a. Wol_enable b. Wol_Limit_10 c. Driver_wol_enable d. Lom_design e. Phy_auto_power_down f. Reverse_nway g. Disable_power_saving h. Phy_led_mode i. Shasta_ext_led_mode j. Cable_sense 10.9 upgfrm cmd: upgfrm Description: Upgrade ISCSI, PXE, Boot Code and Selfboot Firmware from a File. This command reads code from a file and program into iscsi, pxe or boot area.
  • Page 70: Sever

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Upgrade ISCSI code 10.10 sever cmd: sever Description: Display Serial NVRAM Version Syntax: sever 10.11 sechksum cmd: sechksum Description: Check/Update Serial NVRAM checksum Syntax: sechksum Options: -v<DEC> verbose level (0,1) (def=1) 10.12 sedump cmd: sedump Description: Dump NVRAM content to a file.
  • Page 71: Asfcfg

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.13 asfcfg cmd: asfcfg Description: Configure ASF in NVRAM Syntax: asfcfg [filename] If [filename] is provided the file is used to configure the ASF configuration information in NVRAM. If asfcfg is entered by it self a menu is present the user and the options of the items listed in the menu are described below.
  • Page 72: Asfmbox

    The values in these records are normally copied from the system's "ASF! Description Table" (using the ACPI System Description Table architecture) into the ASF Configuration Table in the network adapter's non-volatile memory by the Broadcom ASF Configuration Utility (ASFConfig). See the Alert Standard Format (ASF) Specification v2.0 for detailed descriptions of these records.
  • Page 73: Flshmode

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.15 flshmode cmd: flshmode Description: Configure ASF in NVRAM Syntax: flshmode [auto | passthru | legacy | new] 10.16 flshread cmd: flshread Description: Same as seread Syntax: flshread start[-end | len] 10.17 chkpxe...
  • Page 74: Flshdev

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Syntax: pxeprg <filename> 10.21 flshdev cmd: flshdev Description: Select flash device to access Syntax: flshdev seeprom | atmelflash | sstflash 10.22 bitbang cmd: bitbang Description: Generate bitbang pattern to seeprom bus. Enter hex numbers to be written to seeprom bus.
  • Page 75: Seinit

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Random delay -s<DEC> Delay incremental time (us) (def=1) 10.25 seinit cmd: seinit Description: Initialize NVRAM block. Syntax: seinit Options: -i<DEC> do not restore NVRAM clock default value (def=0) 10.26 searb cmd: searb Description: set/report current NVRAM arbitration bit.
  • Page 76: Setwol

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.30 setwol cmd: setwol Description: Enable/Disable WOL Syntax: setwol [e/d] Options: Disable WOL Enable WOL 10.31 setpxe cmd: setpxe Description: Enable/Disable PXE Syntax: setpxe Options: Disable PXE Enable PXE -s<DEC> Specify PXE Speed (def=0), 0. auto, 1. 10HD, 2. 10FD, 3.
  • Page 77: Dreset

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Syntax: secomp Options: continue on error -f<string> filename -l<HEX> length (def=00000000) -o<HEX> offset (def=00000000) 10.34 dreset cmd: dreset Description: double reset test for EEPROM debug Syntax: dreset 10.35 userblock cmd: userblock Description: create a userblock in NVRAM Syntax: userblock 10.36 setmba...
  • Page 78: Secfg1

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Append a CRC to the specified block Syntax: segencrc <start-end> | <start length> 10.38 secfg1 cmd: secfg1 Description: Configure NVRAM Group 1 Syntax: secfg1 Options: Mac address xx:xx:xx:xx:xx:xx Power Dissipated D3:D2:D1:D0...
  • Page 79: Secfg3

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Engineering Change Serial Number Manufacturing ID Asset Tag Part Rev Voltage Force PCI Mode 1:Enable 2:Disable 10.40 secfg3 cmd: secfg3 Description: Configure NVRAM Group 3 Syntax: secfg3 Options: Led Mode 0:Mac 1:Phy1 2:Phy2 3:S Traffic 4:Shasta Mac 5:Wireless Combo...
  • Page 80: Secfg5

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Syntax: secfg4 Options: Read VPD Vendor Data V0 Read/Write VPD Vendor Data V1 Reversed Nway 0:No 1:Yes Limit WOL Speed to 10 0:No 1:Yes Fiber WOL Capable 0:No 1:Yes Clock-Run 0:Disable 1:Enable...
  • Page 81: Setipmi

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Encoded Hot Plug Power Value 7 & 8 For NIC Hot Plug Power For NIC - Enable ASF/IPMI SMB Address for Pri. Port IPMI SMB Address for Sec. Port Cable Sense - Enable...
  • Page 82: Cpudtt

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide load to tx cpu, def=rxpcu disable verbose 10.45 cpudtt cmd: cpudtt Description: Read and display TX CPU trace (not valid for 5705) Syntax: cpudtt <begin_addr>[- end_addr | num_bytes ] Address range: 0x00 – 0x80 Example: 1.
  • Page 83: Cputrace

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 0:> cpudrt 0 5 000 t00000030 164414e4 e1000004 00000000 164414e4 00000000 001 t00000032 00000000 08000034 00440400 00001c40 00000000 002 t00000001 00000001 08000034 00440000 00000000 00000000 003 t00000000 00000000 00000000 00000000 00000000 00000000 10.47 cputrace...
  • Page 84: Step

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Syntax: disasm [address [line]] 10.51 step cmd: step Description: Step MIP instructions Syntax: step 10.52 go cmd: go Description: start CPU Syntax: go 10.53 showgpr cmd: showgpr Description: toggles showing cpu gpr mode Syntax: showgpr 1|0 10.54 pc...
  • Page 85: Trap

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.57 u cmd: u Description: Alias of disasm command Syntax: u [address [line]] 10.58 trap cmd: trap Description: trap cpu memory Syntax: trap <low> <high> | off 10.59 cpuinfo cmd: cpuinfo Description: display cpu information Syntax: cpuinfo [r|t] 10.60 cpugprstatus...
  • Page 86: Dmaw

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.63 dmaw cmd: dmaw Description: DMA from NIC to Host Memory Syntax; dmaw Options: Force to use 32-bit bus Allocate 4k-aligned buffers -a<HEX> NIC address to DMA data from (def=00000000) byte swap Continousely dma data -d<HEX>...
  • Page 87: Dmar

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide word swap -x<HEX> high 32-bit of 64-bit pattern (def=FFFFFFFF) -K<HEX> DMA write to abosolute address and hang the system (def=00000000) Example: 1. Setup DMA NIC Memory to HOST memory. Using low priority DMA Read and disable byte swap and enable detail display.
  • Page 88: Dma

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -n<DEC> iteration -o<HEX> Buffer offset (def=00000000) -p<HEX> Pattern of Data 0 - byte increment ; 1- byte decrement 2 - FF's ; 3 - 00's ; 4- AA 55 ... ; 5 - 55 AA ...
  • Page 89: Dma

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.66 dma_d cmd: dma_d Description: Dump DMA Entries with Decode Syntax: dma_d <start> <end> 10.67 maclpk cmd: maclpk Description: Configure MAC loopback, 0 to disable, otherwise enable MAC loopback Syntax: maclpk <n>...
  • Page 90 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -g<DEC> Rx Threshold (def=5) Enable Host Loopback Increment length Regenerate CRC-32 in host loopback mode Applies CRC-32 check on Rx path -l<DEC> Length of Tx packet (def=60) Generate TPROT packets -n<DEC> Number of packets to be transmitted (def=0) -o<DEC>...
  • Page 91: Nicstats

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Reinitializing PCI Configuration Space Bus Number Device/Funtion : 11/0 Base Address : 0xfb010000 Bringing up MAC driver ... OK PHY calculated ID: 60008162 BCM5702/03 Internal Phy Rev#2 Configuring BCM54xx ... Done Determining Link Speed ... 1000Base-T Full Duplex 0:packet>...
  • Page 92 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Txed Packets (Ring#3) Tx Packets Enqed (Ring#0) : Tx Packets Enqed (Ring#1) : Tx Packets Enqed (Ring#2) : Tx Packets Enqed (Ring#3) : Rxed Packets (Ring00) Rxed Packets (Ring01) Rxed Packets (Ring02)
  • Page 93: Ringindex

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide d3Collided7Times d3Collided8Times d3Collided9Times d3Collided10Times d3Collided11Times d3Collided12Times d3Collided13Times d3Collided14Times d3Collided15Times ifHCOutUcastPkts d3StatsCarSenseErrors ifOutDiscards COSIfHCInPkts[00] COSIfHCInPkts[01] COSIfHCInPkts[02] COSIfHCInPkts[03] COSIfHCInPkts[04] COSIfHCInPkts[05] COSIfHCInPkts[06] COSIfHCInPkts[07] COSIfHCInPkts[08] COSIfHCInPkts[09] COSIfHCInPkts[10] COSIfHCInPkts[11] COSIfHCInPkts[12] COSIfHCInPkts[13] COSIfHCInPkts[14] COSIfHCInPkts[15] COSFrmsDxDueToFilters nicDmaWriteQueueFull nicDmaWrHiPQFull nicNoMoreRxBDs PageUP/PageDN to scroll.
  • Page 94: Phyctrl

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Device/Funtion : 11/0 Base Address : 0xfb010000 Bringing up MAC driver ... OK PHY calculated ID: 60008162 BCM5702/03 Internal Phy Rev#2 Configuring BCM54xx ... Done Determining Link Speed ... 1000Base-T Full Duplex 0:>...
  • Page 95 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Options: -a<DEC> Specify number of IP fragment count (def=0) -b<DEC> Burst length (def=0) Clear Statistics (always on: kept for bcmediag compatibility -d<DEC> Interpacket delay in microseconds (def=txcfg) Insert raw checksum into the packet -f<DEC>...
  • Page 96: Statusblk

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Don't initialize packets Enable RS232 statistic update TCP segmentation test 10.73 statusblk cmd: statusblk Description: Display Status Block Syntax: statusblk Example: 0:> statusblk ************** STATUS Block @ 0x0027c040 ************* Status : 0x0000...
  • Page 97: Txcfg

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide etherStatsPkts128-255 etherStatsPkts256-511 etherStatsPkts512-1023 etherStatsPkts1024-1522 : etherStatsPkts1523-2047 etherStatsPkts2048-4095 : etherStatsPkts4096-8191 etherStatsPkts8192-9022 : ifHCOutOctets etherStatsCollisions outXonSent outXoffSent flowControlDone d3StatsIntlMacTxErrors d3StatsSingleColFrames d3StatsMultipleColFrames: dt3StatsDeferredTx d3StatsExcessiveCol d3StatsLateCol d3Collided2Times d3Collided3Times d3Collided4Times d3Collided5Times d3Collided6Times d3Collided7Times d3Collided8Times d3Collided9Times d3Collided10Times d3Collided11Times...
  • Page 98: Rxcfg

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10. TCP Option Length (32-bit Words) 11. Pattern { As-is(0), Inc(1), Random(2), 0s(3), FFs(4), AA55(5), 55AA(6),IP_Iden-Inc(7),Load from file(8) 00ff8(9) 00ff16(10), 00ff32(11), 00ff(12)} : Increment (00,01,02 ...) 12. IP Checksum Offload{ YES(1), NO(0) } : NO 13.
  • Page 99: Drvrcfg

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Get a quick NIC statistic. [qstat string] used to select specific statistic. Syntax: qstat [qstat string] Options: Clear statistic List all qstat string 10.79 drvrcfg cmd: drvrcfg Description: configure driver parameters...
  • Page 100: Miimrd

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Test an individual register. Test an individual register with a specified number of reads/writes. Syntax: macmrd Options: -d<DEC> Delay in uS (def=0) -n<DEC> Number of read/write accesses (def=1) -r<string> Register offset 10.82 miimrd...
  • Page 101: Mwrite

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.84 mwrite cmd: mwrite Description: Write PHY registers via MII Management interface Syntax: mwrtie <addr > <data> Address range: 0x00 – 0x1F Example: 1. Write 0x15 to MII register 2 0:> mwrite 2 15 10.85 mread...
  • Page 102: Miimode

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 0:> mdev 1 Phy Address = 1 10.87 miimode cmd: miimode Description: Select Auto Mode of MII Access. 0:disable, 1:enable Syntax: miimode <1|0> Example: 0:> miimode 0 Setting MII auto mode to OFF 0:>...
  • Page 103: Bertstats

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Dump Tx BIST RAM 10.90 bertstats Command: bertstats Description: Dump PHY BIST statistics Syntax: bertstats 10.91 rm Command: rm Description: Read MII Registers Syntax: rm 10.92 mrloop Command: mrloop Description: loop on MII read. This is special test routine for MII read. It loops on MII register read util user abort or if value is zero.
  • Page 104: Read

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Search a Data Pattern in Memory. The default, begin address = 0, and len = 0x20000. The data pattern must be specified. Syntax: memsearch begin[-end | len] data 10.96 read cmd: read Description: Read Memory Syntax: read [!#*$~^lImSsxX]<begin>...
  • Page 105: Write

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 0:> read *10 000010: 00010001 4. Read from internal scratchpad 0:> read ^00 000000: 000312ae 10.97 write cmd: write Description: Write Memory Syntax: write [!#*$~^lImSsxX]<address> [-end | len] data ! = Configuration space (32)
  • Page 106: Poll

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 4. Write to internal scratchpad 0:> write ^10 f4000004 10.98 poll cmd: poll Description: poll Memory Syntax: poll [!#*$~^lImSsxX]<addr> [[!#*$~^lImSsxX]<addr>...] ! = Configuration space (32) S = Configuration space (16) X = Configuration space (8)
  • Page 107: Clearbit

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide S = Configuration space (16) X = Configuration space (8) # = Registers (32) (default) * = SRAM (32) $ = NVRAM (SEEPROM/FLASH) (32) m = MII registers (16) ~ = VPD Access (32)
  • Page 108: Readbit

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide ^ = internal scratchpad (32) l = direct access of host memory (32) s = direct access of host memory (16) x = direct access of host memory (8) 10.101 readbit cmd: readbit Description: Read the bit specified by <bit#>...
  • Page 109: Cwrite

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.103 cwrite Command: cwrite Description: Write PCI configuration Space of specified device. default - 32 bits read, S - 16 bits read, X - 8 bits read Syntax: cwrite <bus> <dev> <func> [S|X]<begin> [-end | len] data 10.104...
  • Page 110: Msi

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Run MII Memory Test. PHY registers read write test Syntax: miitest [itereation] Options: -n<DEC> iteration (The default iteration is 1. 0 means run forever) 10.107 cmd: msi Description: Run MSI Test Manually...
  • Page 111: Setest

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Test Scratch Pad Test MBUF SRAM via DMA 10.109 setest cmd: setest Description: Run NVRAM Test Syntax: setest [iteration] Options: extensive test -d<HEX> ending offset (with -e option) (def=FFFFFFFF) -n<DEC> iteration quiet mode read only test -s<HEX>...
  • Page 112: Intrtest

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide a3 b1 -- runs test a3 and b1 only a124b2 -- runs test a1,a2,a4 and b2 Options: run NVRAM verification also -n<DEC> iteration 10.112 intrtest cmd: intrtest Description: Interrupt Test Syntax: intrtest [iteration] Options: -n<DEC>...
  • Page 113: Dmatest

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Options: -f<string> input filename -n<DEC> iteration (The default iteration is 1. 0 means run forever) 10.115 dmatest cmd: dmatest Description: DMA Test Syntax: dmatest [iteration] Options: Allocate 4k-aligned buffers -a<HEX> NIC address (def=00002100) Display DMA info.
  • Page 114: Asftest

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: The command disables tests. It effects nictest, regtest, pkttest, and memtest commands. The test must starts with test group alpha (a-d). If no number is entered, all tests in that group are disabled.
  • Page 115 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -p<DEC> DMA priority (def=0) -s<DEC> Start of test case (def=0) -t<DEC> Transient fixed pattern (def=0) -v<DEC> Verbose level (0..2) (def=1) Loop There are total 260 test cases (258 unique tests cases) which are described as follows:...
  • Page 116: Sramtest

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide If you run bustest command without any parameters, it will perform DMA testing on all 260 patterns with 10 iterations per pattern and different data length in each iteration. First eight bytes of data are used to store the...
  • Page 117: Cpudiag

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: do GPIO test Syntax: gpiotest Options: -n<DEC> iteration 10.124 cpudiag cmd: cpudiag Description: run diagnostic from internal CPU Syntax: cpudiag Options: Test BD SRAM (0x0000-0x0fff and 0x4000-0x7fff) Test DMA SRAM (0x2000-0x3fff) Test MBUF SRAM (0x8000-0x00000005) -n<DEC>...
  • Page 118: Petest

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.126 petest cmd: petest Description: Perform parity error test on a bridge Syntax: petest <bridge> 10.127 errctrl cmd: errctrl Description: Configure Error Control Setting Syntax: errctrl [w|c|a|l|s] - Wait on Error Program will pause and wait for user's action (eng. default)
  • Page 119: Miimisctest

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Read/Write Test with reset 10.129 miimisctest cmd: miimisctest Description: Run MII Misc. Tests. Syntax: miimisctest Options: -n<DEC> iteration 10.130 cpugprtest cmd: cpugprtest Description: Run CPU GPR test. Syntax: cpugprtest Options: run rx_cpu only...
  • Page 120: Binchksum

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.132 binchksum cmd: binchksum Description: Verify the checksum of each piece of firmware in the input file that contains a complete NVRAM image. Syntax: binchksum –f<filename> 10.133 pmdcfg cmd: pmdcfg Description: Display Power Management Info...
  • Page 121: Intr

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.135 intr cmd: intr Description: Dump Interrupt Info Syntax: intr Example: 0:> intr Interrupt Count : 48337 IPC MASK : 0xb8 0x0c IPC IS1 IS2 : 0x00 0x00 IPC IRR1 IRR2 : 0x18 0x00...
  • Page 122: Loaddrv

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Options: -c<HEX> command 0 - displays a MBUF 1 - displays a MBUF chain 2 - displays general MBUF information 3 - displays MBUF Cluster 4 - Check MBUF header corruption 5 - Dump all MBUF headers -m<HEX>...
  • Page 123: Unloaddrv

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Device/Funtion : 11/0 Base Address : 0xfb010000 Bringing up MAC driver ... OK PHY calculated ID: 60008162 BCM5702/03 Internal Phy Rev#2 Configuring BCM54xx ... Done Determining Link Speed ... 1000Base-T Full Duplex 10.140...
  • Page 124: Addmc

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide S/W Type 1 FTQ (8) : 00000000 00000000 20000000 Host Coalescing FTQ (10) : 00000000 00000000 2000:00000000 MAC TX FTQ (11) : 00000000 00000000 2000:00000000 Mbuf Cluster Free FTQ (12): 00000000 00000000 2000:00000000...
  • Page 125: Vlantag

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Check to see if driver is loaded. Returns 1 if driver is loaded, returns 0 otherwise. Syntax: chklddrv 10.148 vlantag cmd: vlantag Description: Display/Clear vlanTag information. Syntax: vlantag Options: clear vlanTag info 10.149...
  • Page 126: Gpiowrite

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 5: Toggle PCI-X workaround Example: 1. Display debug information. 0:> debug 1 Tx Packets Enqueued Tx Packet Complete Tx Packet Complete Error : Rx Packets Rx Unknown Packets Rx Bad Packets Rx Good Packets 10.152...
  • Page 127: Device

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Load PXE Code to MBUF Memory. The file name must be specified in the parameter. Syntax: pxecpy <file> Options: -f<string> filename 10.155 device cmd: device Description: Show or Switch Device. If no parameter is entered, it will display all device available.
  • Page 128: Radix

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Syntax: ? [vpd|nvram|cpu|dma|packet|mii|mem|test|power|irq|mac|misc] 10.159 radix cmd: radix Description: Change System Radix. Radix must be 2-16. Radix used for number entry. 16 means enter number in hex, and 10 means in decimal. Syntax: radix <2 | 8 | 10 | 16>...
  • Page 129: Dos

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Example: 0:> pciscan Scanning PCI devices ... Bus Dev Func Vendor ID Device ID Class Base/IO Address === === ==== ========= ========= ========== ================= 8086 7190 06:00:00 00000000:F8000008 8086 7191 06:04:00 00000000:00000000...
  • Page 130 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 8. SRAM MBUF End (0x00008000-0x00015fff) : 00000000 9. SRAM SPAD Start (0x00030000-0x00037fff) : 00030000 10. SRAM SPAD End (0x00030000-0x00037fff) : 00037fff 11. Ext. SRAM Start (0x00020000-0x00ffffff) : 00020000 12. Ext. SRAM End (0x00020000-0x00ffffff) : 00ffffff 13.
  • Page 131: Reset

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 1. Rx Coalescing Ticks : 1000 2. Rx Coalescing Ticks During Intr 3. Rx Coalescing Frames 4. Rx Coalescing Frames During Intr 5. Tx Coalescing Ticks : 1000 6. Tx Coalescing Ticks During Intr 7.
  • Page 132: Smbus

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Exit System Syntax: quit 10.168 smbus cmd: smbus Description: ASF terminal. Run this command to access SMBus, the parameter a1 and a2 are one byte value to specify the NIC SMBus Addresses. It sets to 0 by default.
  • Page 133: New

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Syntax: asf [init_img [rx_img [tx_img]]] Options: Load firmware only Enter asf mode only Simulate warm boot 10.173 cmd: new Description: Display new command available. The default parameter for [n] is 10 Syntax: new [n] 10.174...
  • Page 134: Inp

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -e<HEX> (end address + 1) of the first block (def=00020000) -f<string> filename which contains data pattern -o<HEX> sram first block offset to be loaded (def=00000000) -s<HEX> sram second block offset to be loaded (def=00000000) 10.177...
  • Page 135: Txfill

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Remove all current devices and re-scan available devices Silent mode - do not display devices 10.180 cmd: do Description: Excute commands from a file. Syntax: do <filename> [with <parameter1>, ...] Options: continue on error echo command -p<DEC>...
  • Page 136: Wbuf

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10. 16 bytes of 0 and f 11. 32 bytes of 0 and f 12. 64 bytes of 0 and f 10.182 wbuf cmd: wbuf Description: Write tx|rx buffer with specified data at offset. Only works with static buffer selection –A.
  • Page 137: 128

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.187 cmd: q Description: Exit System Syntax: q 10.188 verbose cmd: verbose Description: change verbose setting Syntax: verbose Options: toggles CONSOLE toggles ERROR toggles IO toggles DEBUG toggles PRINTER toggles WARNING toggles Interrupt Verbose 10.189...
  • Page 138: Meminfo

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Syntax: var 10.191 meminfo cmd: meminfo Description: report the memory infomation Syntax: meminfo 10.192 delvar cmd: delvar Description: Delete local variables Syntax: delvar 10.193 regdump cmd: regdump Description: Dump register content to a file...
  • Page 139: Regrestore

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -f<string> filename MII Registers -r<DEC> Mac Registers (def=1) 10.195 regrestore cmd: regrestore Description: Restore register content from a file. This command may be used together with regdump to restore register got changed.
  • Page 140: Dids

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide s ASPM L0s enabled 1 ASPM L1 enabled a ASPM L0s and L1 enabled Syntax: aspm [-e 0|s|1|a] [-r 0|s|1|a] [-x 0|1] [-d] [-i] Options: -r<string> Configure root complex device -e<string> Configure endpoint (Broadcom) device (dut) -x<DEC>...
  • Page 141: Writebr

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Read bridge's configuration space. Syntax: readbr 10.202 writebr cmd: writebr Description: Write bridge's configuration space. Syntax: writebr 10.203 findbridge cmd: findbridge Description: Find all bridges in the system. Syntax: findbridge 10.204...
  • Page 142: Pechk

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Syntax: peclr <bridge> 10.208 pechk cmd: pechk Description: Check parity error on bridge. Defaults to current bridge. Syntax: pechk <bridge> 10.209 iscsiprg cmd: iscsiprg Description: Program ISCSI firmware into NVRAM. This command reads ISCSI code from a file and program into NVRAM.
  • Page 143: Umpcfg

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Debug display of CPU code loading Debug prompt after CPU code loading Enable New UMP Echo Test in UMP Firmware Disable New UMP Echo Test in UMP Firmware 10.211 umpcfg cmd: umpcfg...
  • Page 144: Secfgsb1

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Options: Disable UMP Enable UMP 10.213 secfgsb1 cmd: secfgsb1 Description: Configure Selfboot NVRAM Group 1 Syntax: secfgsb1 Options: Mac address xx:xx:xx:xx:xx:xx Vendor ID Vendor Device ID SubSystem Vendor ID SubSystem Device ID...
  • Page 145: Secfgsb3

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Configure Selfboot NVRAM Group 2 Syntax: secfgsb2 Options: PCIE Pwr Consumption/Dissipate 1: Default 2: Custom define PCIE Pwr Consumption/Dissipate Data; Data: Pwr Rail: Type: State: Base Power Select Data = 0-7 Pwr Rail = 0:12V;...
  • Page 146: Secfghwsb2

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide SubSystem Vendor ID SubSystem Device ID Limit WOL Speed to 10 0: No 1: Yes Wol Auto 0:Dis 1: Magic 2: Interest 3: Magic & Interest Led Mode 0: Mac 1:Phy1 2:Phy2 3:S Traffic...
  • Page 147: Eswitch

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Hide MBA Setup Prompt 0: Dis 1: En MBA Setup Hot Key 0: Ctrl-S 1: Ctrl-B MBA Boot Protocol 0: PXE 1: RPL 2: BOOTP 3: iSCSI Rd VPD Vendor Data V0...
  • Page 148: Error Messages

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 11 ERROR MESSAGES /* NO_ERROR 0 */ "", /* ERR_IND_REG_ERR 1 */ "Got 0x%08X @ 0x%08X. Expected 0x%08X", /* ERR_CHIP_RUNNING 2 */ "Cannot perform task while chip is running", /* ERR_BAD_NIC 3 */ "Invalid NIC device", /* ERR_READ_ONLY_CLEAR 4 */ "Read only bit %s got changed after writing zero at...
  • Page 149 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide /* ERR_CHIP_NOT_RUNNING 50 */ "Cannot perform task while chip is not running. (need driver)", /* ERR_NO_REG_DEF 51 */ "Cannot open register define file or content is bad", /* ERR_ASF_RST 52 */ "ASF Reset bit did not self-cleared", /* ERR_ASF_ATTN_LOC 53 */ "ATTN_LOC %d cannot be mapped to %cX CPU event bit %d",...
  • Page 150 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide /* ERR_GPIO5704 102 */ "Dev:%d Expected GPIO 0/1/2 = %d/%d/%d, but read as %d/%d/%d", /* ERR_BIST_NOT_DONE 103 */ "Bist test did not complete internally", /* ERR_BIST_DATA_MISCMP 104 */ "Bist data miscompared at bit: %d out: %d exp: %d", /* ERR_CPU_NO_RESPONSE 105 */ "No Response from firmware",...
  • Page 151 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide /* ERR_CPU_MEM2 164 */ "%s CPU memory error @ %08X, expected %08X but got %08X", /* ERR_SERIAL1 165 */ "PCIE Serial Device Number Capability Not Found.", /* ERR_SERIAL2 166 */ "PCIE Serial Device Number Match Failure.", /* ERR_POWER1 167 */ "PCIE Power Budget Capability Not Found.",...

Table of Contents