Broadcom NetXtreme User Manual

Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
Broadcom NetXtreme Ethernet Adapter
Diagnostic User’s Guide
B57diag UEFI Version 15.0
page 1
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
Copyright © 2000-2011 Broadcom Corporation
All Rights Reserved
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.
Epigram, InsideLine, and iLine10 are trademarks of Broadcom Corporation.
Broadcom Corporation
5300 California Ave
Irvine, CA 92617
www.broadcom.com
page 2
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
TABLE OF CONTENTS
1 INTRODUCTION ........................................................................................................................... 11
2 PREREQUISITES ........................................................................................................................... 12
3 DIAGNOSTIC TESTS .................................................................................................................... 13
3.1 ERROR CODES............................................................................................................................ 14
3.2 REGISTER TESTS - A GROUP ....................................................................................................... 14
3.2.1 A1. Indirect Register Test ..................................................................................................... 14
3.2.2 A2. Control Register Test ...................................................................................................... 15
3.2.3 A3. Interrupt Test.................................................................................................................. 15
3.2.4 A4. BIST ............................................................................................................................... 15
3.2.5 A5. PCI Cfg Register Test ..................................................................................................... 15
3.2.6 A6. Serial Number Reg Test .................................................................................................. 15
3.2.7 A7. Power Register Test ........................................................................................................ 15
3.2.8 A8. Mailbox Register Test ..................................................................................................... 16
3.3 MEMORY TEST - B GROUP .......................................................................................................... 16
3.3.1 B1. Scratch Pad Test............................................................................................................. 16
3.3.2 B2. BD SRAM Test ............................................................................................................... 16
3.3.3 B3. DMA SRAM Test ............................................................................................................ 17
3.3.4 B4. MBUF SRAM Test .......................................................................................................... 17
3.3.5 B5. MBUF SRAM via DMA Test ........................................................................................... 17
3.3.6 B6. External SRAM Test ....................................................................................................... 18
3.3.7 B7. CPU GPR Test ............................................................................................................... 18
3.4 MISC TESTS C GROUP .............................................................................................................. 18
3.4.1 C1. EEPROM Test ................................................................................................................ 18
3.4.2 C2. CPU Test ........................................................................................................................ 18
3.4.3 C3. DMA Test ....................................................................................................................... 18
3.4.4 C4. MII Test ......................................................................................................................... 19
3.4.5 C5. VPD Test ........................................................................................................................ 19
3.4.6 C6. ASF Test ......................................................................................................................... 19
3.4.7 C7. Expansion ROM Test ...................................................................................................... 20
3.4.8 C8. CPU Fetch Test .............................................................................................................. 20
3.5 DATA TESTS D GROUP ............................................................................................................. 20
3.5.1 D1. Mac Loopback Test ........................................................................................................ 20
3.5.2 D2. Phy Loopback Test ......................................................................................................... 21
3.5.3 D3. RJ45 Loopback Test ....................................................................................................... 21
3.5.4 D4. 1G False Carrier Test .................................................................................................... 21
3.5.5 D5. MII Miscellaneous Test .................................................................................................. 22
3.5.6 D6. MSI Test ......................................................................................................................... 22
3.5.7 D7. E-Switch Test ................................................................................................................. 22
3.5.8 D8. SADB Test ...................................................................................................................... 22
3.5.9 D9. IPsec Loopback Test ...................................................................................................... 22
3.6 CARRIER TESTS .......................................................................................................................... 23
3.6.1 E1. 1G Wire Open/Short (** ZERO LEN LB RJ45 **) Test ................................................... 23
3.7 APE REGISTERS TESTS F GROUP .............................................................................................. 23
3.7.1 F1. Indirect APE Ctrl Register Test ..................................................................................... 23
3.7.2 F2. APE Control Register Test ............................................................................................. 23
3.7.3 F3. Indirect APE Peripheral Register Test ........................................................................... 24
3.7.4 F4. APE Peripheral Register Test ........................................................................................ 24
page 3
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
3.7.5 F5. APE Scratch Pad Test .................................................................................................... 24
3.7.6 F6. APE Shared Memory Test .............................................................................................. 25
3.7.7 F7. APE Shared Memory Indirect Access Test ..................................................................... 25
3.7.8 F8. APE Mutex Register Test ............................................................................................... 25
3.7.9 F9. APE Timers Test ............................................................................................................ 25
3.8 APE DIAGNOSTICS TESTS G GROUP ......................................................................................... 25
3.8.1 G1. APE CPU Memory Test ................................................................................................. 25
3.8.2 G2. APE CPU Packet Test ................................................................................................... 26
3.8.3 G3. APE CPU SMBus Loopback Test................................................................................... 26
3.8.4 G4. APE CPU GPIO Register Test ....................................................................................... 26
3.8.5 G5. APE CPU Event Register Test ....................................................................................... 27
3.8.6 G6. APE CPU Mutex Register Test ...................................................................................... 27
3.8.7 G7. APE CPU Timers Test ................................................................................................... 27
3.8.8 G8. APE CPU GRC Reset Test ............................................................................................ 27
3.8.9 G9. APE USB Test (UEFI only) .......................................................................................... 27
4 COMMAND LINE OPTION PARAMETERS .............................................................................. 29
5 RECOVER DEVICE FROM CORRUPT NVAM.......................................................................... 44
6 EEPROM.TXT FORMAT .............................................................................................................. 45
7 USER INTERFACE COMMANDS ................................................................................................ 50
8 SPECIAL INSTRUCTION ............................................................................................................. 56
9 SAME SYSTEM SEND/RESPOND TEST ..................................................................................... 57
9.1 IDENTIFYING A REFERENCE DEVICE ............................................................................................. 57
9.2 TESTING THE DUT AGAINST THE REFERENCE DEVICE ................................................................... 57
9.3 OTHER OPTIONS FOR THE SEND/RESPOND TEST ........................................................................... 57
10 TEST AND FUNCTIONS DESCRIPTION .................................................................................... 58
10.1 VPDWRITE .................................................................................................................................. 58
10.2 VPDREAD ................................................................................................................................... 58
10.3 VPDINFO .................................................................................................................................... 58
10.4 VPDSECFG .................................................................................................................................. 58
10.5 VPDGEN ..................................................................................................................................... 59
10.6 SEMODE ..................................................................................................................................... 59
10.7 SEREAD ...................................................................................................................................... 59
10.8 SEWRITE .................................................................................................................................... 60
10.9 SECFG ........................................................................................................................................ 60
10.10 SEPRG .................................................................................................................................... 86
10.11 UPGFRM ................................................................................................................................. 88
10.12 SEVER .................................................................................................................................... 88
10.13 SECHKSUM ............................................................................................................................. 89
10.14 SEDUMP ................................................................................................................................. 89
10.15 ASFCFG .................................................................................................................................. 90
10.16 MANCFG ................................................................................................................................ 91
10.17 ASFMBOX ............................................................................................................................... 92
10.18 FLSHMODE ............................................................................................................................. 93
10.19 FLSHREAD .............................................................................................................................. 93
10.20 CHKPXE ................................................................................................................................. 93
10.21 DIR ........................................................................................................................................ 93
10.22 ERASE .................................................................................................................................... 93
page 4
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
10.23 PXEPRG .................................................................................................................................. 94
10.24 FLSHDEV ................................................................................................................................ 94
10.25 BITBANG ................................................................................................................................ 94
10.26 SECLOCK ............................................................................................................................... 94
10.27 SETORTURE ............................................................................................................................ 94
10.28 SEINIT ................................................................................................................................... 95
10.29 SEARB ................................................................................................................................... 95
10.30 SEPROTECT ............................................................................................................................ 95
10.31 SELCLOCK .............................................................................................................................. 95
10.32 SEMAP ................................................................................................................................... 96
10.33 SETWOL ................................................................................................................................. 96
10.34 SETPXE .................................................................................................................................. 96
10.35 SETASF .................................................................................................................................. 96
10.36 SECOMP ................................................................................................................................. 97
10.37 DRESET .................................................................................................................................. 97
10.38 USERBLOCK ........................................................................................................................... 97
10.39 SETMBA ................................................................................................................................. 97
10.40 SEGENCRC ............................................................................................................................. 98
10.41 SECFG1 .................................................................................................................................. 98
10.42 SECFG2 .................................................................................................................................. 99
10.43 SECFG3 .................................................................................................................................. 99
10.44 SECFG4 ................................................................................................................................ 100
10.45 SECFG5 ................................................................................................................................ 100
10.46 SETIPMI ............................................................................................................................... 101
10.47 LOADFW .............................................................................................................................. 102
10.48 CPUDTT ............................................................................................................................... 102
10.49 CPUDRT ............................................................................................................................... 103
10.50 CPUTRACE ........................................................................................................................... 103
10.51 HALTCPU ............................................................................................................................. 103
10.52 LOADBOOTCODE .................................................................................................................. 104
10.53 DISASM ................................................................................................................................ 104
10.54 STEP .................................................................................................................................... 105
10.55 GO ....................................................................................................................................... 105
10.56 SHOWGPR ............................................................................................................................ 105
10.57 PC ....................................................................................................................................... 105
10.58 BREAKPOINT ........................................................................................................................ 105
10.59 SELECT ................................................................................................................................ 105
10.60 U ......................................................................................................................................... 106
10.61 TRAP ................................................................................................................................... 106
10.62 CPUINFO .............................................................................................................................. 106
10.63 CPUFETCH ............................................................................................................................ 106
10.64 ROMCODETEST ..................................................................................................................... 106
10.65 APEINFO .............................................................................................................................. 107
10.66 APECTL ................................................................................................................................ 108
10.67 APEPING .............................................................................................................................. 109
10.68 APEREAD ............................................................................................................................. 109
10.69 APEOTPKEY .......................................................................................................................... 109
10.70 APELOG ............................................................................................................................... 109
10.71 DMAW ................................................................................................................................. 110
10.72 DMAR .................................................................................................................................. 111
10.73 DMA_H ................................................................................................................................ 113
10.74 DMA_D ................................................................................................................................ 113
10.75 DMA_ALLOC ........................................................................................................................ 113
10.76 MACLPK ............................................................................................................................... 113
page 5
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
10.77 BLAST.................................................................................................................................. 114
10.78 NICSTATS ............................................................................................................................. 116
10.79 RINGINDEX .......................................................................................................................... 119
10.80 PHYCTRL ............................................................................................................................. 119
10.81 TXPKT ................................................................................................................................. 120
10.82 STATUSBLK .......................................................................................................................... 122
10.83 STSBLK ................................................................................................................................ 123
10.84 TXCFG ................................................................................................................................. 124
10.85 RXCFG ................................................................................................................................. 124
10.86 TPROT ................................................................................................................................. 125
10.87 QSTAT ................................................................................................................................. 125
10.88 DRVRCFG ............................................................................................................................. 125
10.89 IRT ...................................................................................................................................... 126
10.90 MACMRD ............................................................................................................................. 126
10.91 MIIMRD................................................................................................................................ 126
10.92 PCIMRD................................................................................................................................ 127
10.93 INBAND ............................................................................................................................... 127
10.94 MWRITE ............................................................................................................................... 127
10.95 MREAD ................................................................................................................................ 128
10.96 MDEV .................................................................................................................................. 128
10.97 M2DEV ................................................................................................................................ 128
10.98 MIIMODE.............................................................................................................................. 129
10.99 LBERTRAM ........................................................................................................................... 129
10.100 DBERTRAM .......................................................................................................................... 129
10.101 BERTSTATS .......................................................................................................................... 130
10.102 RM ...................................................................................................................................... 130
10.103 MRLOOP............................................................................................................................... 130
10.104 PHYMSE ............................................................................................................................... 130
10.105 INITPHY ............................................................................................................................... 130
10.106 TAPDUMP ............................................................................................................................. 130
10.107 MEMSEARCH ........................................................................................................................ 131
10.108 READ ................................................................................................................................... 131
10.109 WRITE ................................................................................................................................. 132
10.110 POLL.................................................................................................................................... 134
10.111 SETBIT ................................................................................................................................. 135
10.112 CLEARBIT ............................................................................................................................ 136
10.113 READBIT .............................................................................................................................. 137
10.114 CREAD ................................................................................................................................. 138
10.115 CWRITE ............................................................................................................................... 138
10.116 PCIRD .................................................................................................................................. 138
10.117 PCIWR.................................................................................................................................. 138
10.118 VPDTEST .............................................................................................................................. 139
10.119 REGTEST .............................................................................................................................. 139
10.120 MIITEST ............................................................................................................................... 139
10.121 MSI ...................................................................................................................................... 140
10.122 MEMTEST ............................................................................................................................. 140
10.123 SETEST ................................................................................................................................ 141
10.124 BIST .................................................................................................................................... 141
10.125 NICTEST............................................................................................................................... 141
10.126 INTRTEST ............................................................................................................................. 142
10.127 PKTTEST .............................................................................................................................. 142
10.128 CPUTEST .............................................................................................................................. 142
10.129 DMATEST ............................................................................................................................. 143
10.130 TESTE .................................................................................................................................. 143
page 6
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
10.131 TESTD.................................................................................................................................. 144
10.132 ASFTEST .............................................................................................................................. 144
10.133 BUSTEST .............................................................................................................................. 144
10.134 SRAMTEST ........................................................................................................................... 146
10.135 MSITEST .............................................................................................................................. 146
10.136 ROMTEST ............................................................................................................................. 146
10.137 GPIOTEST ............................................................................................................................. 147
10.138 CPUDIAG .............................................................................................................................. 147
10.139 PCICFGTEST ......................................................................................................................... 147
10.140 PETEST ................................................................................................................................ 148
10.141 ERRCTRL ............................................................................................................................. 148
10.142 SEDVT ................................................................................................................................. 148
10.143 MIIMISCTEST ........................................................................................................................ 149
10.144 CPUGPRTEST ........................................................................................................................ 149
10.145 DMASHASTA......................................................................................................................... 149
10.146 BINCHKSUM ......................................................................................................................... 150
10.147 PMDCFG ............................................................................................................................... 150
10.148 PMPD ................................................................................................................................... 150
10.149 INTR .................................................................................................................................... 151
10.150 INTRCTRL ............................................................................................................................ 151
10.151 INTT .................................................................................................................................... 151
10.152 MBUF ................................................................................................................................... 151
10.153 LOADDRV ............................................................................................................................ 152
10.154 UNLOADDRV ........................................................................................................................ 153
10.155 MACHALT ............................................................................................................................ 153
10.156 FTQ ..................................................................................................................................... 153
10.157 ADDMC ................................................................................................................................ 154
10.158 DELMC................................................................................................................................. 154
10.159 TXMACDES ........................................................................................................................... 154
10.160 TXMACSRC ........................................................................................................................... 155
10.161 CHKLDDRV .......................................................................................................................... 155
10.162 VLANTAG ............................................................................................................................. 155
10.163 REGWZD .............................................................................................................................. 155
10.164 EXIT .................................................................................................................................... 155
10.165 DEBUG ................................................................................................................................. 155
10.166 GPIOWRITE .......................................................................................................................... 156
10.167 GPIOREAD ............................................................................................................................ 156
10.168 PXECPY ................................................................................................................................ 157
10.169 DEVICE ................................................................................................................................ 157
10.170 VERSION .............................................................................................................................. 157
10.171 HELP.................................................................................................................................... 158
10.172 ? ......................................................................................................................................... 158
10.173 RADIX .................................................................................................................................. 158
10.174 NOLOG ................................................................................................................................ 158
10.175 LOG ..................................................................................................................................... 158
10.176 PCIINIT ................................................................................................................................ 159
10.177 PCISCAN .............................................................................................................................. 159
10.178 DOS ..................................................................................................................................... 159
10.179 SHELL ................................................................................................................................. 159
10.180 DIAGCFG .............................................................................................................................. 159
10.181 RESET .................................................................................................................................. 162
10.182 QUIT .................................................................................................................................... 162
10.183 SMBUSMODE ........................................................................................................................ 162
10.184 SMBUSRUN ........................................................................................................................... 163
page 7
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
10.185 CLS...................................................................................................................................... 163
10.186 LOOP ................................................................................................................................... 163
10.187 DBMODE .............................................................................................................................. 163
10.188 ASFENG ............................................................................................................................... 164
10.189 NEW .................................................................................................................................... 164
10.190 ASFPRG ................................................................................................................................ 164
10.191 SLEEP .................................................................................................................................. 164
10.192 FILLPATTERN ....................................................................................................................... 164
10.193 INP ...................................................................................................................................... 165
10.194 OUTP ................................................................................................................................... 165
10.195 DO ....................................................................................................................................... 165
10.196 TXFILL ................................................................................................................................. 166
10.197 WBUF .................................................................................................................................. 166
10.198 RBUF ................................................................................................................................... 167
10.199 CPBUF .................................................................................................................................. 167
10.200 ECHO ................................................................................................................................... 167
10.201 PAUSE .................................................................................................................................. 167
10.202 Q ......................................................................................................................................... 167
10.203 VERBOSE ............................................................................................................................. 168
10.204 BEEP .................................................................................................................................... 168
10.205 VAR ..................................................................................................................................... 168
10.206 MEMINFO ............................................................................................................................. 168
10.207 DELVAR ............................................................................................................................... 169
10.208 REGDUMP ............................................................................................................................ 169
10.209 REGCOMP............................................................................................................................. 169
10.210 REGRESTORE ........................................................................................................................ 170
10.211 NVSIZE ................................................................................................................................ 170
10.212 ASPM ................................................................................................................................... 170
10.213 DIDS .................................................................................................................................... 171
10.214 SERIAL ................................................................................................................................. 171
10.215 POWER................................................................................................................................. 171
10.216 READBR ............................................................................................................................... 171
10.217 WRITEBR ............................................................................................................................. 172
10.218 FINDBRIDGE ......................................................................................................................... 172
10.219 BRIDGE ................................................................................................................................ 172
10.220 PERE .................................................................................................................................... 172
10.221 PERD ................................................................................................................................... 172
10.222 PECLR .................................................................................................................................. 172
10.223 PECHK ................................................................................................................................. 173
10.224 ISCSIPRG .............................................................................................................................. 173
10.225 UMPECHO ............................................................................................................................ 173
10.226 UMPCFG ............................................................................................................................... 174
10.227 SETIPMI ............................................................................................................................... 175
10.228 SETUMP ............................................................................................................................... 175
10.229 SEOTP .................................................................................................................................. 175
10.230 OTPCHK ............................................................................................................................... 176
10.231 DEFRAGMENT....................................................................................................................... 176
10.232 SECFGSB1 ............................................................................................................................ 176
10.233 SECFGSB2 ............................................................................................................................ 177
10.234 SECFGSB3 ............................................................................................................................ 177
10.235 SECFGHWSB1 ....................................................................................................................... 178
10.236 SECFGHWSB2 ....................................................................................................................... 178
10.237 SECFGHWSB3 ....................................................................................................................... 179
10.238 ESWITCH .............................................................................................................................. 179
page 8
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
10.239 ESWITCHTEST ...................................................................................................................... 180
10.240 SBFCFG ................................................................................................................................ 180
10.241 LINKINTRTEST...................................................................................................................... 180
10.242 IPV6EXTLD........................................................................................................................... 180
10.243 IPV6EXTEN........................................................................................................................... 181
10.244 CFGPAGESIZE ....................................................................................................................... 181
10.245 CPMU ................................................................................................................................... 181
10.246 MDIO ................................................................................................................................... 182
10.247 WAIT ................................................................................................................................... 182
10.248 IPSECSUPPORT ...................................................................................................................... 182
10.249 SADBTEST ............................................................................................................................ 182
10.250 SADBUTIL ............................................................................................................................ 183
10.251 APETEST .............................................................................................................................. 183
11 ERROR MESSAGES .................................................................................................................... 185
12. TCL ENVIRONMENT VARIABLES ............................................................................................. 190
12.1 ENV ............................................................................................................................................. 190
12.2 NX1 ............................................................................................................................................. 190
12.3. SYS .............................................................................................................................................. 192
13. BIN FILE HISTORY ....................................................................................................................... 193
page 9
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
page 10
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
1 Introduction
This program runs in two modes: Manufacturing mode and Engineering mode. The mode is determined with the command line option or the configuration file. When the program is running in manufacturing mode, it starts to run all tests in the configuration. If it detects an error, it displays an error and exits the program. When the program is in engineering mode, it prompts user to enter commands. 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 Family of Ethernet controllers and its related components. In general, this program has a set of default configuration. It is overwritten by configuration file. The command line option overwrites both default and the configuration files.
page 11
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
2 Prerequisites
The engineering diagnostic is executed under DOS protected mode or under Unified Extensible Firmware Interface (UEFI).
OS: Dos 6.22 or UEFI v2.0x or later
Software: b57diag.exe for DOS and b57diag64.efi, b57diag32.efi for UEFI (version 11.05
or later).
Input File List: The following files should be found in the same location of the b57diag.
ee57xxmy.yy (TX & RX CPUs Firmware file, xx chip type, m media type, y.yy version number)
sb57xxmy.yy (Selfboot Firmware file, xx chip type, m media type, y.yy version number)
eeprom.bin (Serial EEPROM/FLASH config input file)
cpu.bin, cpu05.bin, cpu14a.bin, cpu14b.bin or cpusj.bin (CPU Instruction test)
cpudiag.bin or cpudg05.bin (CPU Accessing test)
flshdiag.bin, flashdg05.bin flashdg 14a.bin, flashdg 14b.bin, flashdgsj.bin, flahdg5x.bin
ump14a.bin or ump14b.bin (UMP Diagnostics Test)
ad5718.bin, ad5719.bin or ad5720.bin (APE Diagnostics Test)
config.sys (not required for UEFI)
himem.sys (not required for UEFI)
macaddr.txt (A text file stores the specific range of MAC addresses for manufacturing)
Output File List:
The following file may be generated in run time depending execution option(s).
diagcfg.bin
page 12
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
3 Diagnostic Tests
The tests are divided into seven groups: Register Tests, Memory Tests, Miscellaneous Tests, Data Tests, Cable Tests, APE Register Tests and APE Diagnostics Tests. They numbered as group ‘A’, ‘B’, ‘C’, ‘D’, ‘E’, ‘F’, and ‘G’.
Note: For few special scenairos, not all tests are supported. Refer to online help for more information.
The lists of each group are shown as below. Their detailed explanation will be described later.
Group A.
A1. Indirect Register Test A2. Control Register Test A3. Interrupt Test
A4. BIST A5. PCI Cfg Register Test A6. Serial Number Reg Test A7. Power Register Test A8. MailBox Register Test
Groupt B.
B1. Scratch Pad Test B2. BD SRAM Test B3. DMA SRAM Test B4. MBUF SRAM Test B5. MBUF SRAM via DMA Test B6. External SRAM Test B7. CPU GPR SRAM Test
Group C.
C1. EEPROM Test
C2. CPU Test
C3. DMA Test
C4. MII Test
C5. VPD Test
C6. ASF Hardware Test
C7. ROM Expansion Test
C8. CPU Fetch Test
Group D.
D1. Mac Loopback Test
D2. Phy Loopback Test
D3. RJ45 Loopback Test
D4. 1G False Carrier Test
D5. MII Miscellaneous Test
page 13
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
D6. MSI Test
D7. E-Switch Test (5756 and 5761E devices only)
D8. SADB Test (available on NetXtreme Controllers with hardware IPSec support)
D9. IPsec Loopback Test (available on NetXtreme Controllers with hardware IPSec support)
Group E.
E1. 1G Wire Open/Short (** ZERO LEN LB RJ45 **) Test
Group F. (valid on APE enabled NetXtreme Controllers only)
F1. Indirect APE Ctrl Register Test
F2. APE Control Register Test
F3. Indirect APE Peripheral Register Test
F4. APE Peripheral Register Test
F5. APE Scratch Pad Test
F6. APE Shared Memory Test
F7. APE Shared Memory Indirect Access Test
F8. APE Mutex Register Test
F9. APE Timers Test
Group G. (valid on APE enabled NetXtreme Controllers only)
G1. APE CPU Memory Test
G2. APE CPU Packet Test
G3. APE CPU SMBus Loopback Test
G4. APE CPU GPIO Register Test
G5. APE CPU Event Register Test
G6. APE CPU Mutex Register Test
G7. APE CPU Timers Test
G8. APE CPU GRC Reset Test
G9. APE USB Test (UEFI only)
3.1 Error Codes
The Error Codes are presented in Section 9 - ERROR MESSAGES.
3.2 Register Tests - A Group
3.2.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. The memory read/write is done 100 times while increment test data.
Default: Enabled
page 14
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
3.2.2 A2. Control Register Test
Command: regtest
Function: Each Register specified in the configuration contents is tested for read only bit and
read/write bit defines. The test writes zeroes and ones into the test bits to insure the read only bits are not changed, and read/write bits are changed accordingly.
Default: Enabled.
3.2.3 A3. Interrupt Test
Command: intrtest
Function: This test verifies the interrupt functionality. It enables interrupt and waits for
interrupt to occur. It waits for 500ms and reports error if could not generate interrupts.
Default: Enabled
3.2.4 A4. BIST
Command: bist
Function: Hardware Built-In-Self-Test (BIST). This test initiates BIST, and wait for the test
result returned by hardware.
Default: Enabled
3.2.5 A5. PCI Cfg Register Test
Command: pcicfg
Function: This test verifies the access integrity of the PCI config registers.
Default: Enabled
3.2.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.
Default: Enabled.
3.2.7 A7. Power Register Test
Command: power
page 15
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
Function: Tests the PCI-E Power capabilities registers on chips that support the Power capability. This command is supported on 5751Cx, 5755 and 5787 only.
Default: Enabled.
3.2.8 A8. Mailbox Register Test
Function: This test verifies the access integrity of the Mailbox registers. This test is for
5719 and 5720 only.
Default: Enabled
3.3 Memory Test - B Group
3.3.1 B1. Scratch Pad Test
Command: memtest -s
Function: This test tests the scratch pad SRAM on board. The following tests are
performed:
Data Pattern Test: Write test data into SRAM, read back to ensure data is correct. The test data used is 0x00000000, 0xffffffff, 0xaa55aa55, and 0x55aa55aa.
Alternate Data Pattern Test: Write test data into SRAM. Write complement test data into next address. Read back both data to insure the data is correct. After the test, the program reads back data one more time to insure the data stays correct. The test data used is 0x00000000, 0xffffffff, 0xaa55aa55, and 0x55aa55aa.
Address Test: Write each address with unique increment data. Read back data to insure data is correct. After fill the entire data with the unique data, the program reads back data again to insure data stays the same.
Walking Bit Test: For each address location, starting at bit 0, each bit is set, tested and then shifted left by one. This process is repeated for each of the 32 bits in each address location in the entire memory test range.
Pseudo Random Data Test: A pre-calculated pseudo random data is used to write a unique data into each test RAM. After the first pass the test, the program reads back one more time to insure data stays correct.
Default: Enabled
3.3.2 B2. BD SRAM Test
Command: memtest -b
page 16
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
Function: This test tests the BD SRAM. This performs exact the same way of testing as described in B1, the Scratch Pad Test.
Default: Enabled
3.3.3 B3. DMA SRAM Test
Command: memtest -d
Function: It tests DMA SRAM by performing the tests described in test B1, the Scratch Pad
Test.
Default: Enabled
3.3.4 B4. MBUF SRAM Test
Command: memtest -m
Function: It tests MBUF SRAM by performing the tests described in test B1, the Scratch
Pad Test.
Default: Enabled
3.3.5 B5. MBUF SRAM via DMA Test
Command: memtest -x
Function: Eight test pattern data are used in the test. They are described below. A 0x1000
sized data buffer is used for this test. Before each pattern test, the buffer is initialized and filled with the test pattern. It then, performs size 0x1000 transmit DMA from host buffer to NIC MBUF memory. Verify the data integrity in MBUF against host memory and repeat the DMA for the entire MBUF buffer. Then it performs receive DMA from NIC to host. The 0x1000-byte test buffer is cleared to zero before each receive-DMA. Verify the data integrity and test is repeated for the entire MBUF SRAM range.
Test Pattern Description
“16 00's 16 FF's” Full the entire host DMA buffer with 16 bytes of 00’s and then 16 bytes
of FF’s.
“16 FF's 16 0's” Full the entire host DMA buffer with 16 bytes of 00’s and then 16 bytes
of FF’s.
“32 00's 32 FF's” Full the entire host DMA buffer with 32 bytes of 00’s and then 32 bytes
of FF’s.
“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” Full the entire host DMA buffer with all FF’s. “AA55AA55's” Full the entire host DMA buffer with data 0xAA55AA55. “55AA55AA's” Full the entire host DMA buffer with data 0xAA55AA55.
page 17
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
Default: Enabled
3.3.6 B6. External SRAM Test
Command: memtest -e
Function: It tests external SRAM by performing the tests described in test B1, the Scratch Pad Test.
Default: Disabled
3.3.7 B7. CPU GPR Test
Command: memtest -b
Function: This test tests the CPU General Purpose Registers. This performs exact the same way of testing as described in B1 over 3 voltages (1.1V, 1.2V, 1.3V).
Default: Enable
3.4 Misc Tests – C Group
3.4.1 C1. EEPROM Test
Command: setest
Function: An increment test data is used in EEPROM test. It fills the test data into the test
range and read back to verity the content. After the test, it fills data with zero to clear the memory.
Default: Enabled
3.4.2 C2. CPU Test
Command: cputest
Function: This test opens the file cpu.bin. If file exists and content is good, it loads code to
rx and tx CPU and verifies CPU execution.
Default: Enabled
3.4.3 C3. DMA Test
Command: dmatest
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.
Default: Enabled
page 18
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
3.4.4 C4. MII Test
Command: miitest
Function: The function is identical to A2. Control Register Test. Each Register specified in
the configuration contents read only bit and read/write bit defines. The test writing zero and one into the test bits to insure the read only bits value are not changed, and read/write bits are changed accordingly.
Default: Enabled.
Default Register table
The test will try to read the register configuration file ‘miireg.txt’ for the register defines. If the file does not exists, the following table is used:
Offset R/O Mask R/W Mask
0x00 0x0000 0x7180 0x02 0xffff 0x0000 0x03 0xffff 0x0000 0x04 0x0000 0xffff 0x05 0xefff 0x0000 0x06 0x0001 0x0000 0x07 0x0800 0xb7ff 0x08 0xffff 0x0000 0x09 0x0000 0xff00 0x0a 0x7c00 0x0000 0x10 0x0000 0xffbf 0x11 0x3300 0x0000 0x19 0x001f 0x0000 0x1e 0x0000 0xffff 0x1f 0x0000 0xffff
3.4.5 C5. VPD Test
Command: vpdtest
Function: It saves the content of VPD first before perform the test. Once it is done, it writes
one of the five pattern test data, 0xff, 0xaa, 0x55, increment data, or decrement data, into VPD memory. By default, increment data pattern is used. It writes and reads back the data for the entire test range, and then restores the original content.
Default: Enabled
3.4.6 C6. ASF Test
Command: asftest
page 19
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
Function:
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.
3. Counter Test
Clear WG_TO, HB_TO, PA_TO, PL_TO, RT_TO bits by setting those bits. Make sure the bits clear. Clear Timestamp Counter. Writing a value 1 into each PL, PA, HB, WG, RT counters. Set TSC_EN bit. Poll each PA_TO bit and count up to 50 times. Check if PL_TO gets set at the end of 50 times. Continue to count up to 200 times. Check if all other TO bits are set and verify Timestamp Counter is incremented.
Default: Enabled
3.4.7 C7. Expansion ROM Test
Command: romtest
Function: This function tests the ability to enable/disable/access the expansion
rom on the device.
Default: Enabled
3.4.8 C8. CPU Fetch Test
Command: cpufetch
Function: Test the CPU instruction-fetch logic a 100 times on 5705 and later devices. The
voltage is also varied to 1.1V and 1.3V on devices that support voltage variation.
Default: Enabled
3.5 Data Tests – D Group
3.5.1 D1. Mac Loopback Test
Command: pkttest -m
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
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
Default: Enabled
Note: This test is not available for 5718, 5719 and 5720.
3.5.2 D2. Phy Loopback Test
Command: pkttest -p
Function: This test is same as D1. Mac Loopback Test, except the data is routed back via
physical layer device. One Giga bit rate is used for this test.
Please note if the device supports E-Switch, such as 5756, the test is performed on both laptop mode and docking mode. To perform the test only on the default port, two methods can be used: 1. command line option ‘-disableeswitch’; 2. ‘eswitch –f’ in engineering mode before the test.
Default: Enabled
3.5.3 D3. RJ45 Loopback Test
Command: pkttest -e
Function: This is external loopback test. From the UUT point of view, no loopback mode is
configured. The data expected to be routed back by RJ45 loopback connector. 10M/s, 100M/s, and 1000M/s are used for this test.
Please note if the device supports E-Switch, such as 5756, the test is performed on both laptop mode and docking mode. To perform the test only on the default port, two method can be used: 1. command line option ‘-disableeswitch’; 2. ‘eswitch –f’ in engineering mode before the test.
Default: Disabled
3.5.4 D4. 1G False Carrier Test
Command: nictest d4
Function: This test executes the same procedure as test D3 and tests to see if a false carrier
was detected at the end of the test. The –l200, –dispgbpkt, -disppkt and –errlimit command­line options were added to configure a number of operational parameters. The details of the command line options are provided in the “COMMAND LINE OPTION PARAMETERS” section.
Please note if the device supports E-Switch, such as 5756, the test is performed on both laptop mode and docking mode. To perform the test only on the default port, two method can be used: 1. command line option ‘-disableeswitch’; 2. ‘eswitch –f’ in engineering mode before the test.
page 21
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
Default: Disabled
3.5.5 D5. MII Miscellaneous Test
Command: nictest d5
Function: This function tests the auto-polling and phy-interrupt capabilities. These are the functionalities of the phy.
Default: Enabled
3.5.6 D6. MSI Test
Command: msitest
Function: Testing Message Signaled Interrupt Function to see if it handles this interrupt
correctly.
Default: Enabled
3.5.7 D7. E-Switch Test
Command: nictest d7
Function: This function tests the E-Switch Ethernet porting switching hardware.
Default: Enabled (available only for NetXtreme controllers with E-Switch support)
3.5.8 D8. SADB Test
Command: nictest d8
Function: This function tests the Security Association Data Base hardware in IPsec
supported NetXtreme Ethernet controllers.
Default: Enabled (available only on NetXtreme controllers with IPSec support)
3.5.9 D9. IPsec Loopback Test
Command: nictest d9
Function: An external loopback test is performed at 10/100/1000 Mbits/s using IPsec
encrypted packets. Various hardware supported encryption ciphers are used to encrypt and decrypt packets and verify the proper operation of the IPsec hardware.
A zero length loopback connector is placed at the RJ45 connector of the LOM/NIC. After running the loopback test at 1000 Mbits/s the line signal quality is tested order to catch line
page 22
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
faults (shorts or opens). This test is used during manufacturing in order to detect board/system build issues on the line/analog side of the Ethernet controller.
Default: Disabled (available only on NetXtreme controllers with IPSec support)
3.6 Carrier Tests
3.6.1 E1. 1G Wire Open/Short (** ZERO LEN LB RJ45 **) Test
Command: nictest e1
Function: An external loopback test is performed at 10/100/1000 Mbits/s. A zero length
loopback connector is placed at the RJ45 connector of the LOM/NIC. After running the loopback test at 1000 Mbits/s the line signal quality is tested order to catch line faults (shorts or opens). This test is used during manufacturing in order to detect board/system build issues on the line/analog side of the Ethernet controller.
Default: Disabled
NOTE: The following tests in test groups F and G are only enabled for NetXtreme Ethernet
Controllers which support the Application Processing Engine (APE).
3.7 APE Registers Tests – F Group
3.7.1 F1. Indirect APE Ctrl Register Test
Command: nictest f1
Function: Using indirect addressing method, incremented data is written into APE control
registers and read back for verification. The memory read/write is done 100 times while incrementing test data.
Default: Disabled
3.7.2 F2. APE Control Register Test
Command: nictest f2
Function: Each Register specified in the APE control register block is tested for read only
bits and read/write bits. The test writes zeroes and ones into the test bits to insure the read only bits are not changed, and read/write bits are changed accordingly.
Default: Disabled
page 23
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
3.7.3 F3. Indirect APE Peripheral Register Test
Command: nictest f3
Function: Using indirect addressing method, incremented data is written into APE Peripheral
registers and read back for verification. The memory read/write is done 100 times while incrementing test data.
Default: Enabled
3.7.4 F4. APE Peripheral Register Test
Command: nictest f4
Function: Each Register specified in the APE Peripheral register block is tested for read
only bits and read/write bits. The test writes zeroes and ones into the test bits to insure the read only bits are not changed, and read/write bits are changed accordingly.
Default: Enabled
3.7.5 F5. APE Scratch Pad Test
Command: nictest f5
Function: This test tests the APE scratch pad SRAM on the APE enabled NetXtreme
controllers. The following tests are performed:
Data Pattern Test: Write test data into SRAM, read back to ensure data is correct. The test data used is 0x00000000, 0xffffffff, 0xaa55aa55, and 0x55aa55aa.
Alternate Data Pattern Test: Write test data into SRAM. Write complement test data into next address. Read back both data to insure the data is correct. After the test, the program reads back data one more time to insure the data stays correct. The test data used is 0x00000000, 0xffffffff, 0xaa55aa55, and 0x55aa55aa.
Address Test: Write each address with unique increment data. Read back data to insure data is correct. After filling the entire memory length with the unique data, the program reads back the data again to insure data stays the same.
Walking Bit Test: For each address location, starting at bit 0, each bit is set, tested and then shifted left by one. This process is repeated for each of the 32 bits in each address location in the entire memory test range.
Pseudo Random Data Test: A pre-calculated pseudo random data is used to write a unique data into each test RAM. After the first pass the test, the program reads back one more time to insure data stays correct.
Default: Enabled
page 24
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
3.7.6 F6. APE Shared Memory Test
Command: nictest f6
Function: Performs memory data verification tests on the APE Shared Memory. This test
uses the same the method of testing as described in F5. APE Scratch Pad Test.
Default: Enabled
3.7.7 F7. APE Shared Memory Indirect Access Test
Command: nictest f7
Function: Performs memory data verification tests using Indirect Addressing Method, on the
APE Shared Memory. This test uses the same the method of testing as described in F5. APE Scratch Pad Test.
Default: Enabled
3.7.8 F8. APE Mutex Register Test
Command: nictest f8
Function: Each of the registers in the APE Mutex Register block is tested to verify that
each bit set in the Mutex Request register can acquire a corresponding grant bit in its paired Mutex Grant register. After each grant bit is set it is written with back to verify the grant bit can be cleared.
Default: Disabled
3.7.9 F9. APE Timers Test
Command: nictest f9
Function: This test each of the APE internal timer registers from the host interface. The
test verifies that the APE timers are functioning and within acceptable tolerances.
Default: Disabled
3.8 APE Diagnostics Tests – G Group
3.8.1 G1. APE CPU Memory Test
Command: nictest g1
Function: This test executes a series of memory tests using the APE CPU.
Data Pattern Test: Write test data into SRAM, read back to ensure data is correct. The test
data used is 0x00000000, 0xffffffff, 0xaa55aa55, and 0x55aa55aa.
page 25
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
Alternate Data Pattern Test: Write test data into SRAM. Write complement test data into next address. Read back both data to insure the data is correct. After the test, the program reads back data one more time to insure the data stays correct. The test data used is 0x00000000, 0xffffffff, 0xaa55aa55, and 0x55aa55aa.
Address Test: Write each address with unique increment data. Read back data to insure data is correct. After fill the entire data with the unique data, the program reads back data again to insure data stays the same.
WalkingOne bit Test: For each address. Data one is written and read back for testing. Then shift the data left one bit, so the data becomes two and do the same test again. It repeats for 32 times until the test bit is shifted out of test data. The same is test is repeated for entire test range.
Pseudo Random Data Test: A pre-calculated pseudo random data is used to write a unique data into each test RAM. After the first pass the test, the program reads back one more time to insure data stays correct.
Default: Enabled
3.8.2 G2. APE CPU Packet Test
Command: nictest g2
Function: An Ethernet packet is transmitted via internal loopback from the APE CPU and
verified for data integrity and that packet interrupts are generated.
Default: Enabled
3.8.3 G3. APE CPU SMBus Loopback Test
Command: nictest g3
Function: This test sends and receives SMBus messages from the APE CPU via loopback
on the SMBus controllers and verifies that correct data was received. (Requires loopback jumpers to be installed).
Default: Disabled
3.8.4 G4. APE CPU GPIO Register Test
Command: nictest g4
Function: This test writes zeroes and ones to the GPIO output pins via the APE CPU to
insure the bits are changed accordingly and that GPIO state change interrupts are generated.
Default: Disabled
page 26
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
3.8.5 G5. APE CPU Event Register Test
Command: nictest g5
Function: In this test the APE CPU writes to the APE event registers to verify that each
event state can generate a corresponding interrupt.
Default: Enabled
3.8.6 G6. APE CPU Mutex Register Test
Command: nictest g6
Function: Each of the registers in the APE Mutex Register block is tested from the APE
CPU. This test verifies that each bit set in the Mutex Request register can acquire a corresponding grant bit in its paired Mutex Grant register. After each grant bit is set it is written with back to verify the grant bit can be cleared.
Default: Enabled
3.8.7 G7. APE CPU Timers Test
Command: nictest g7
Function: This test each of the APE internal timer registers using the APE CPU. The test
verifies that the timers are functioning and within acceptable tolerances.
Default: Enabled
3.8.8 G8. APE CPU GRC Reset Test
Command: nictest g8
Function: This test verifies that the GRC port interrupt function can be detected via the
APE CPU.
Default: Enabled
3.8.9 G9. APE USB Test (UEFI only)
Command: nictest g9
Function: This test verifies that the APE USB port can be detected from the host controller
by executing a series USB descriptor query commands. This test is only available on the UEFI version of B57diag.
Default: Disabled
page 27
Broadcom Confidential and Proprietary
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
page 28
Broadcom Confidential and Proprietary
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.
-putil Call “b57putil.exe” utility to unload PXE driver.
When "-putil" was entered, diag will call another application "b57putil.exe". "b57putil.exe" will unload PXE and such that diag can have full control over the device. This option switch should be used when updating firmware with "-firmall" option switch via PXE connection.
-seldev <VID_DID> option to select devices that match VID and DID
Use this option to select target devices. Other devices, which have different VIDs and DIDs, will not be selected and listed. This option switch can be used along with “-firm” and “­firmall” option switches.
Example: a:\b57diag –b57eng –seldev 14e411677
-uump <filename> used for field program of UMP firmware
The feature is used to execute a field upgrade of UMP firmware. The firmware is programmed into a/the device/s specified by “-c” option switch if UMP firmware is originally loaded in NVRAM
-dir used for displaying file directory in NVRAM
The feature is used to display file directory in NVRAM. The file directory in the
NVRAM of device/s specified by"-c" option switch will be display. If no "-c" option switch has been entered, the file directory of all detected devices will be displayed. In order to log the file directory to a log file, "-l" option switch option must be entered BEFORE "-dir" option switch. Since this is a single function command, the will be no "nictest" or other functions will be preformed.
-pump <file> Program UMP firmware
This option needs to follow the –e and –c options. If this option is entered, the program will retrieve the UMP firmware filename from the command line then it will start programming.
Example:
b57diag –e <code> -c 0 –pump ee5714c1.00
-pump1 <file> Program UMP firmware only
The feature is used to execute a field upgrade of NVRAM to add UMP firmware. The firmware is programmed into a/the device/s specified by “-c” option switch.
-u <value> : Enable/Disable (value = 1/0) UMP in manufacture mode
page 29
Broadcom Confidential and Proprietary
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.
Example:
b57diag –e <code> -c 0 –piscsi iscsi.bin
-piscsicfg Force program ISCSI CFG firmware
If this option is entered, it will force program the ISCSI CFG firmware to NVRAM. This option must be used along with –piscsi option.
Example:
b57diag -e <code> -c 0 –piscsi iscsi.bin -piscsicfg
-piscsiprg Force program ISCSI PRG firmware
If this option is entered, it will force program the ISCSI PRG firmware to NVRAM. This option must be used along with –piscsi option.
Example:
b57diag -e <code> -c 0 –piscsi iscsi.bin -piscsiprg
-piscsi1 <filename> used for field program of ISCSI firmware
The feature is used to execute a field upgrade of NVRAM to add ISCSI firmware. The firmware is programmed into a/the device/s specified by “-c” option switch.
-smbaddr <hex1> | <hex2> | …….| <hexn> used for programming SMBus Address for ASF/IPMI firmware.
The feature will allow user to program SMBus Address for ASF/IPMI firmware. This switch can take multiple parameters in HEX.
Example
1. -smbaddr A4 (SMB Address = 0xA4)
2. -smbaddr A4 A6 (SMB Address for 1st device=0xA4 and 2nd device = 0xA6)
This switch must be used along with -c option to indicate the target device. Example: b57diag -c 0 3 6 -smbaddr A4 A6 A8 -t abcd. b57diag –c 0 –e b57kia –pasf asf.bin –smbaddr A4 –t abcd
-chksecfg <file_p> | <file_s> will enable the NVRAM SecfgTest
Boot code configuration will be checked against input files. The input files are in the same format as EEPROM.TXT. <file_p> is for the primary port and <file_s> is for the secondary port. Software will read command from input files and compare with the boot code configuration and return “Passed” or “Failed” accordingly.
page 30
Broadcom Confidential and Proprietary
Loading...
+ 163 hidden pages