Broadcom 5720ZG User Manual

Broadcom 5720ZG User Manual

Netxtreme ethernet adapter
Table of Contents

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 5720ZG and is the answer not in the manual?

Questions and answers

Summary of Contents for Broadcom 5720ZG

  • Page 1 Broadcom NetXtreme Ethernet Adapter Diagnostic User’s Guide B57diag Version 10.52 • Date 07/06/2007 Prepared by: Tak Tomita Updated by: Paul Nguyen, Austin Hui, Carlton Joseph, Vanessa Jia, Tony Hsiao 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 ............................ 75 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 ........................... 100 CREAD 10.103 ..........................100 CWRITE 10.104 ..........................100 VPDTEST 10.105 ..........................100 REGTEST 10.106 ..........................101 MIITEST page v Broadcom Confidential and Proprietary...
  • Page 6 ..........................117 GPIOREAD 10.154 ..........................118 PXECPY 10.155 ..........................118 DEVICE 10.156 ..........................118 VERSION 10.157 ............................118 HELP 10.158 ? ............................119 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 ..........................135 SETUMP 10.213 1 ..........................135 SECFGSB 10.214 2 ..........................136 SECFGSB 10.215 3 ..........................136 SECFGSB 10.216 1 ......................... 137 SECFGHWSB page vii Broadcom Confidential and Proprietary...
  • Page 8 BCM570x • Diagnostic User’s Guide 10.217 2 ......................... 137 SECFGHWSB 10.218 3 ......................... 138 SECFGHWSB 10.219 ..........................138 ESWITCH ERROR MESSAGES........................140 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 When “-updateiscsicfg” command line parameter is entered before “-firmall” command, the ISCSI Firmware Configuration Block of the NVRAM will not be preserved. It will get updated by the input file of “-firmall” command. The “-firmall” command is described above.
  • 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. MBA Configuration c. NIC Design ………………………….…..: LOM d. L1 PLL Disable …………………………..: Yes e. Clkreq ……………………………………..: No f. PCIE Link Polarity Fix Dis ……………….: No g. L1ASPM Debounce En ……………………: Yes x.
  • Page 40 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide ; This comment line // This also can be used as comment line // Blank line is also allowed // This is Broadcom’s MAC prefix MAC_PREFIX = 00:10:18 POWER_DISSIPATCHED = 10:0:0:100 POWER_CONSUMED = 10:0:0:100...
  • 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: Mac Address

    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 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-R Data...: Yes g. Cable Sense..: Disabled h. MBA CFG Data..: Enabled x.
  • Page 61 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Custom VPD Prod.Name -------------------------------------- (option e)---------------------------------------- -> e 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.
  • Page 62 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Enable(1) The device will assert the pme signal, to power on the system, when a magic packet is received. Disable(2) Magic packets are ignored. Note: A driver can setup the WoL behavior of a device and the value programmed into this location is ignored.
  • Page 63: Led Mode

    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: Vpd Prod. Name And Vpd-R Data

    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 x. Save & exit ----------------------------------------------- WOL Auto (option 7)-----------------------------------------_ -> 7 HW Selfboot Driver WOL selection 0. Disable 1. Magic Packet WOL Enable ----------------------------------------------- LED Mode (option 8)-----------------------------------------_ -> 8 HW Selfboot LED Mode selection 0.
  • Page 66 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description of above parameters: 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’...
  • Page 67: Super-Airplane Mode

    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 Disable(0) Disable L1 PLL Powerdown 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 *-p option will restore NVRAM configuration data between Bootcode and selfboot firmware. The configuration data that will be restored are listed below. a. Wol_enable b. Wol_Limit_10 c. Driver_wol_enable d. Lom_design e. Phy_auto_power_down f.
  • Page 70: Sever

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Do not perform device check -f<string> Input file Upgrade PXE code Upgrade ISCSI code Do not perform chip rev. check for Selfboot Set PFN when loading LOM PXE code Preserve VPD block data in legacy bootcode upgrade 10.10 sever...
  • Page 71: Asfcfg

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Options: -a<string> no Atmel Flash address translation -f<string> string is the filename -l<DEC> length in decimal, use 0 for entire NVRAM image (def=8192) skip crc checking for legacy bootcode 10.13 asfcfg cmd: asfcfg...
  • 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 Create specified number of ASF Mailboxes View status of all ASF Mailboxes Dump contents of specified ASF Mailbox Test ASF Mailbox NVRAM block 10.15 flshmode cmd: flshmode Description: Configure ASF in NVRAM Syntax: flshmode [auto | passthru | legacy | new] 10.16 flshread...
  • Page 74: Pxeprg

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide do not ask for conformation 10.20 pxeprg cmd: pxeprg Description: Program PXE firmware into NVRAM. This command reads PXE code from a file and program into NVRAM Syntax: pxeprg <filename> 10.21 flshdev...
  • Page 75: Seinit

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -i<DEC> Initial Delay in ms (def=0) -m<DEC> Maximum Delay in ms (def=3000) -n<DEC> iteration (def=1) Power reset Random delay -s<DEC> Delay incremental time (us) (def=1) 10.25 seinit cmd: seinit Description: Initialize NVRAM block.
  • Page 76: Semap

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.29 semap cmd: semap Description: Display NVRAM usage Syntax: semap 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...
  • Page 77: Secomp

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Enable ASF 10.33 secomp cmd: secomp Description: compare eeprom content against the file 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...
  • Page 78: Segencrc

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -s<DEC> Specify MBA Speed (def=0), 0. auto, 1. 10HD, 2. 10FD, 3. 100HD, 4. 100FD 10.37 segencrc cmd: segencrc Description: Append a CRC to the specified block Syntax: segencrc <start-end> | <start length>...
  • Page 79: Secfg3

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Options: Product Name Part Number 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...
  • Page 80: Secfg4

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.41 secfg4 cmd: secfg4 Description: Configure NVRAM Group 4 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...
  • Page 81: Setipmi

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Encoded Hot Plug Power Value 1 & 2 For NIC Encoded Hot Plug Power Value 3 & 4 For NIC Encoded Hot Plug Power Value 5 & 6 For NIC Encoded Hot Plug Power Value 7 & 8 For NIC Hot Plug Power For NIC - Enable ASF/IPMI SMB Address for Pri.
  • Page 82: Cpudtt

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -f<string> filename (for bcmediag compatibility) don't initialize memory before loading, def=yes don't turn on CPU Trace (def=on) don't start cpu 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 ]...
  • Page 83: Cputrace

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 1. Read and display RX CPU trace from location 0x00 to 0x04. 0:> cpudrt 0-5 000 MainCpuA t00000030 164414e4 e1000004 00000000 164414e4 00000000 001 *BUpCpuA t00000032 00000000 08000034 00440400 00001c40 00000000 002 *BUpCpuA t00000001 00000001 08000034 00440000 00000000 00000000...
  • Page 84: Disasm

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide load to tx cpu, def=rxpcu disable verbose 10.50 disasm cmd: disasm Description: Disassemble MIP instructions Syntax: disasm [address [line]] 10.51 step cmd: step Description: Step MIP instructions Syntax: step 10.52 go cmd: go...
  • Page 85: Select

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Syntax: breakpoint 10.56 select cmd: select Description: select current CPU Syntax: select <r|t> 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>...
  • Page 86: Cpufetch

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.62 cpufetch cmd: cpufetch Description: Test CPU Instruction fetch logic with 1.1V and 1.3 V setting Syntax: cpufetch 10.63 dmaw cmd: dmaw Description: DMA from NIC to Host Memory Syntax; dmaw Options:...
  • Page 87: Dmar

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide e - ffffffff00000000 00000000ffffffbf f - 00000000ffffffff ffffffbf00000000 10 - 64-bit-pattern 0000000000000000 64-bit-pattern ... 11 - 64-bit-pattern ffffffffffffffff 64-bit-pattern ... (def=00000000) -q<HEX> low 32-bit of 64-bit pattern (def=FFFFFFFF) -v<DEC> Verbose (1..2) (def=2) word swap -x<HEX>...
  • Page 88 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Continousely dma -d<HEX> delay poll dma done polling (def=00000000) -f<string> File name of file that contains <length,patterns ..> Use high priority DMA Read -l<HEX> Length of DATA to do DMA (def=00000100) -n<DEC>...
  • Page 89: Dma

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.65 dma_h cmd: dma_h Description: Dump DMA Entries Syntax: dma_h <start> <end> 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 -c<DEC> Number of Tx buffer (def=100) -d<DEC> Interpacket GAP in microseconds (def=0) -e<DEC> Upper Limit of Tx buffer in incremental packet size (def=1514) -f<string> Sniffer file containing contents of Tx packets -g<DEC>...
  • Page 91: Nicstats

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Check DMA_Write error status Example: 1. Load MAC driver and enable transmission 0:packet> loaddrv Reinitializing PCI Configuration Space Bus Number Device/Funtion : 11/0 Base Address : 0xfb010000 Bringing up MAC driver ... OK...
  • Page 92 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide BCM5702/03 Internal Phy Rev#2 Configuring BCM54xx ... Done Determining Link Speed ... 1000Base-T Full Duplex 0:> nicstats Total Rate =================== ================== Txed Packets (Ring#0) Txed Packets (Ring#1) Txed Packets (Ring#2) Txed Packets (Ring#3)
  • Page 93: Ringindex

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide PageUP/PageDN to scroll. Ins/Del toggles refresh. ESC to exit CHIP Statistics ========================================================================= d3StatsLateCol d3Collided2Times d3Collided3Times d3Collided4Times d3Collided5Times d3Collided6Times d3Collided7Times d3Collided8Times d3Collided9Times d3Collided10Times d3Collided11Times d3Collided12Times d3Collided13Times d3Collided14Times d3Collided15Times ifHCOutUcastPkts d3StatsCarSenseErrors ifOutDiscards COSIfHCInPkts[00] COSIfHCInPkts[01]...
  • Page 94: Phyctrl

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Dump Tx Ring Index Example: 1 Load MAC dirver and display TX and RX Ring Index. 0:> loaddrv Bus Number Device/Funtion : 11/0 Base Address : 0xfb010000 Bringing up MAC driver ... OK...
  • Page 95: Txpkt

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.72 txpkt cmd: txpkt Description: Transmit Packets. Driver must be loaded. Syntax: txpkt 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>...
  • Page 96: Statusblk

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Standard Fragmentation -w<DEC> Low watermark max RxFrame value (0-65535) -z<DEC> Minimum fragment size, -1=disable (def=-1) Use static buffer Don't initialize packets Enable RS232 statistic update TCP segmentation test 10.73 statusblk cmd: statusblk...
  • Page 97: Txcfg

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 0:> stsblk ************** STATISTICS Block @ 0x0027c0c0 ************* ifHCInOctets etherStatsFragments ifHCInUcastPkts ifHCInMulticastPkts ifHCInBroadcastPkts d3StatsFCSErrors d3StatsAlignmentErrors xonPauseFramesReceived xoffPauseFramesReceived macControlFramesReceived: xoffStateEntered dot3StatsFramesTooLong etherStatsJabbers etherStatsUndersizePkts : inRangeLengthError outRangeLengthError etherStatsPkts64Octets etherStatsPkts65-127 etherStatsPkts128-255 etherStatsPkts256-511 etherStatsPkts512-1023 etherStatsPkts1024-1522 :...
  • Page 98: Rxcfg

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 3. Length (14-65535) : 1514 4. Packet Type {Non(0),EthV2(1),802.3(2),SNAP(3)}: Ethernet II 5. Protocol Field {Non(0),IP(1),ARP(2),BRM(3)} : IP 6. Source IP : 10.2.1.1 7. Destination IP : 10.2.1.2 8. IP Protocol Field { UDP(17), TCP(6) } : UDP 80.
  • Page 99: Qstat

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -d<DEC> Interpacket gap in microseconds (def=10) 10.78 qstat cmd: qstat 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...
  • Page 100: Macmrd

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -r<string> Register offset 10.81 macmrd cmd: macmrd 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>...
  • Page 101: Mwrite

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -n<DEC> Number of read/write accesses (def=1) -r<string> Register offset 10.84 mwrite cmd: mwrite Description: Write PHY registers via MII Management interface Syntax: mwrtie <addr > <data> Address range: 0x00 – 0x1F Example: 1.
  • Page 102: Miimode

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Select current PHY to be accessed. The default device ID is 0x01. If no parameter is entered, it displays current phy address setting. Syntax: mdev [<phy_id>] Example: 0:> mdev 1 Phy Address = 1 10.87 miimode...
  • Page 103: Bertstats

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -c<DEC> channel number (def=0) -e<HEX> End of BIST RAM (def=000000FF) Dump Rx BIST RAM Dump Tx BIST RAM 10.90 bertstats Command: bertstats Description: Dump PHY BIST statistics Syntax: bertstats 10.91 rm Command: rm...
  • Page 104: Memsearch

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Syntax: initphy 10.95 memsearch Command: memsearch 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...
  • Page 105: Write

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 000010: f4000004 2. Read from Register 0:> read #10 000010: f4000004 3. Read from SRAM 0:> read *10 000010: 00010001 4. Read from internal scratchpad 0:> read ^00 000000: 000312ae 10.97 write...
  • Page 106: Poll

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 0:> write !10 f4000004 2. Write to register. 0:> write #10 f4000004 3. Write to SRAM 0:> write *10 10001 4. Write to internal scratchpad 0:> write ^10 f4000004 10.98 poll cmd: poll Description: poll Memory Syntax: poll [!#*$~^lImSsxX]<addr>...
  • Page 107: Clearbit

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Read-Modify Memory by ored with <bits> Syntax: setbit [!#*$~^lImSsxX]<addr> <bit#> [<bit#>] ... ! = Configuration space (32) S = Configuration space (16) X = Configuration space (8) # = Registers (32) (default)
  • Page 108: Readbit

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide m = MII registers (16) ~ = VPD Access (32) I = indirect access of host memory (32) ^ = 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...
  • Page 109: Cread

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

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -r<DEC> repeat count for each register test (def=1) Do not perform reset before test 10.106 miitest cmd: miitest Description: Run MII Memory Test. PHY registers read write test Syntax: miitest [itereation] Options: -n<DEC>...
  • Page 111: Setest

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Test External Memory Test MBUF SRAM -n<DEC> iteration (The default iteration is 1. 0 means run forever) Test CPU GPRs Test Scratch Pad Test MBUF SRAM via DMA 10.109 setest cmd: setest...
  • Page 112: Intrtest

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide This test can to be configured by running “diagcfg”. See “diagcfg” for details. If a “test list” is not entered below then a set of default tests are run. Syntax: nictest [test list]...
  • Page 113: Cputest

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.114 cputest cmd: cputest Description: TX / RX CPU Test. This test needs an input CPU file in the same location as b57diag.exe. The default file name is cpu.bin or cpu05.bin unless specified by –f option.
  • Page 114: Testd

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Example: teste a12bc -- Enable test a1, a2, all tests in group b and c teste ab cd -- Enables all tests teste -- Display enabled tests 10.117 testd Command: testd Description: The command disables tests. It effects nictest, regtest, pkttest, and memtest commands.
  • Page 115 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -i<DEC> Number of transactions per pattern (def=10) -l<DEC> Minimum length (def=256) -n<DEC> iteration -o<DEC> Number of consecutive patterns (def=1) -p<DEC> DMA priority (def=0) -s<DEC> Start of test case (def=0) -t<DEC> Transient fixed pattern (def=0) -v<DEC>...
  • Page 116: Sramtest

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide ffffffff ffffffff 00000000 00000000 (repeat) ffffffff ffffffff 00000000 00000001 ffffffff ffffffff 00000000 00000002 ffffffff ffffffff 80000000 00000000 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.
  • Page 117: Gpiotest

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Options: -n<DEC> iteration 10.123 gpiotest cmd: gpiotest 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)
  • Page 118: Petest

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Do not perform reset before test -r<DEC> repeat count for each register test (def=1) -n<DEC> iteration 10.126 petest cmd: petest Description: Perform parity error test on a bridge Syntax: petest <bridge> 10.127...
  • Page 119: Miimisctest

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide pause Read Test with reset skip checking entire NVRAM 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.
  • Page 120: Binchksum

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Disable the chip reset execution before each DMA test -l<HEX> Number of BD sot DMA on read (0x1-0x79) (def=0xA) 10.132 binchksum cmd: binchksum Description: Verify the checksum of each piece of firmware in the input file that contains a complete NVRAM image.
  • Page 121: Intr

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide -o<HEX> offset (def=00000000) -v<HEX> Versbose level (default=0) (def=00000000) 10.135 intr cmd: intr Description: Dump Interrupt Info Syntax: intr Example: 0:> intr Interrupt Count : 48337 IPC MASK : 0xb8 0x0c IPC IS1 IS2...
  • Page 122: Loaddrv

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Dump Content of MBUFs. The display command must be specified by -c option or 'chain', 'info', 'cluster', 'hdr', and 'ckhdr. Syntax: mbuf [chain|info|cluster|hdr|ckhdr] Options: -c<HEX> command 0 - displays a MBUF...
  • Page 123: Unloaddrv

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Force Link to Max Speed Example: 0:> loaddrv 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 ...
  • Page 124: Addmc

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide DMA High Read FTQ (2) : 00000000 00000000 60002160 DMA Write FTQ (6) : 00000000 00000000 20000000 DMA High Write FTQ (7) : 00000000 00000000 20000000 DMA Complete Dx FTQ (3) : 00000000 00000000 20000000 Send BD Comp.
  • Page 125: Chklddrv

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.147 chklddrv cmd: chklddrv 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...
  • Page 126: Gpiowrite

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 4: Toggle indirect access flag 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...
  • Page 127: Pxecpy

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.154 pxecpy cmd: pxecpy 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 10.158 cmd: ? Description: Alternate Help Command. This is same command as 'help' command. 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.
  • Page 129: Pciscan

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.163 pciscan cmd: pciscan Description: Scan for all PCI Devices Syntax: pciscan Example: 0:> pciscan Scanning PCI devices ... Bus Dev Func Vendor ID Device ID Class Base/IO Address === === ====...
  • Page 130 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Memory Test Configuration Menu 1. SRAM BD1 Start (0x00000000-0x00000fff) : 00000000 2. SRAM BD1 End (0x00000000-0x00000fff) : 00000fff 3. SRAM BD2 Start (0x00004000-0x00007fff) : 00004000 4. SRAM BD2 End (0x00004000-0x00007fff) : 00007fff 5.
  • Page 131: Reset

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 2. Test Configuration Menu 3. Driver Configuration Menu 4. Abort On Failure is enabled 5. Save Configuration Enter your choice or ESC to exit -> 3 Driver Configuration Menu 1. Rx Coalescing Ticks : 1000 2.
  • Page 132: Quit

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Wait for firmware signature 10.167 quit cmd: quit 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: Asf

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.172 cmd: asf Description: run asf monitor program with option to Load asf firmware image. This routine loads firmware images into CPU memory and execute the RXCPU. The default files names are asfinit.bin, asfcpua.bin, and asfcpub.bin, which can be over written by parameters.
  • Page 134: Fillpattern

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.176 fillpattern cmd: fillpattern Description: Fill WOL matching pattern into Misc. Memory Loacation. Syntax: fillpattern [filename] Options: -e<HEX> (end address + 1) of the first block (def=00020000) -f<string> filename which contains data pattern -o<HEX>...
  • Page 135: Txfill

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Alternate 'device' command. If no parameter is entered, it will display all device available. Syntax: switch <dev> Options: -n<HEX> Device Number (def=00000000) Remove all current devices and re-scan available devices Silent mode - do not display devices 10.180...
  • Page 136: Wbuf

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 1. Increment data 2. Random 3. all 0 4. all FF 5. AA55 6. 55AA 7. IP_Iden-Inc 8. Load from file 9. 8 bytes of 0 and f 10. 16 bytes of 0 and f 11.
  • Page 137: Pause

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.186 pause cmd: pause Description: Pause for user to hit a key. If no parameter is entered, 'press any key to continue...' will be displayed Syntax: pause < message> 10.187 cmd: q...
  • Page 138: Var

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Create a beep sound. The default to beep once. If parameter 'n' is entered, it beeps n times Syntax: beep [<n> | on | off] 10.190 cmd: var Description: Display current variables Syntax: var 10.191...
  • Page 139: Regcomp

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.194 regcomp cmd: regcomp Description: Compare register content to a file. his command may be used together with regdump to find out any register got changed. Syntax: regcomp <filename> Options: PCI Config Reg.
  • Page 140: Aspm

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Options: Display Present Size Programmed Into NVRAM Specify [NVRAM] & [TPM] size in decimal (dflt. hex) 10.197 aspm cmd: aspm Description: Configure the PCI-E Link power state operation at the root complex and the device under test.
  • Page 141: Power

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.200 power cmd: power Description: Verify the power function of PCI capability. This PCI capability testing is only applicable to Shasta C stepping (i.e. BCM5752Cx) family. Syntax: power 10.201 readbr cmd: readbr Description: Read a 32-bit value from bridge's configuration space register address.
  • Page 142: Perd

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.206 perd cmd: perd Description: Disable parity error response on a bridge. Defaults to current bridge. Syntax: perd <bridge> 10.207 peclr cmd: peclr Description: Clear parity error on bridge. Defaults to current bridge.
  • Page 143: Umpcfg

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Enable/Disable UMP Echo Test function in UMP Firmware. It requires either ump14a.bin/ump14b.bin test firmware or UMP Firmware. Options that will work with test firmware are ‘-o’, ‘-c’, ‘-i’ and ‘-a’. Options that will work with UMP firmware are ‘-e’...
  • Page 144: Setump

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Description: Saves the modified UMP Configuration Table to the network adapter's non-volatile memory and exists. Exit without Saving Description: Exits without saving any changes to the UMP Configuration Table. 10.212 setump cmd: setump...
  • Page 145: Secfgsb2

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Disable Power Saving 0: No 1: Yes Led Mode 0: Mac 1:Phy1 2:Phy2 3:S Traffic 4:Shasta Mac 5:Wireless Combo PCI Power Consumption/Dissipate 1:Default 2:Custom define PCI Power Consumption/Dissipate Value D0:D3/D0:D3 Cable Sense 0: No 1: Yes 10.214...
  • Page 146: Secfghwsb1

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 10.216 secfghwsb1 cmd: secfghwsb1 Description: Configure Hardware Selfboot NVRAM Group 1 Syntax: secfghwsb1 Options: Mac address xx:xx:xx:xx:xx:xx Vendor Device ID 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 &...
  • Page 147: Secfghwsb3

    Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Serial Number Manufacturing ID Rd VPD Vendor Data V0 10.218 secfghwsb3 cmd: secfghwsb2 Description: Configure Hardware Selfboot NVRAM Group 2 Syntax: secfghwsb2 Options: Hide MBA Setup Prompt 0: Dis 1: En MBA Setup Hot Key 0: Ctrl-S 1: Ctrl-B...
  • Page 148 Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide Enable E-switch, B57diag override the hardware manual switch. Forbid software E-Switch, but hardware eswitch works. Without this option, PHY loopback test, external loopback test (pkttest -e), and carrier test are performed on both laptop mode and docking mode.
  • Page 149: 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 150 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 151 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 152 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