BCM570x • B57UDIAG User’s Guide B57UDIAG Diagnostic Users Guide Version 11.
BCM570x • B57UDIAG User’s Guide Copyright © 2000-2008 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.
BCM570x • B57UDIAG User’s Guide 1. INTRODUCTION 1 2. PREREQUISITES 2 3. FUNCTIONS LIST 3 4. FUNCTIONS DESCRIPTION 6 4.1 c 6 4.2 cmd 6 4.3 w 6 4.4 asf 7 4.5 mba 7 4.6 mbap 7 4.7 mbas 8 4.8 firm 8 4.9 firmall 8 4.10 updateasfcfg 9 4.11 updatesecfg 9 4.12 updateiscsicfg 10 4.13 ver 10 4.14 pxe 10 4.15 elog 11 4.16 pipmi 11 4.17 ipmi 11 4.18 help 12 4.19 uipmi 12 4.
BCM570x • B57UDIAG User’s Guide 4.21 pump1 12 4.22 uump 13 4.23 u 13 4.24 piscsi 13 4.25 piscsicfg 13 4.26 piscsiprg 14 4.
BCM570x • B57UDIAG User’s Guide 1. Introduction This document provides information on how to use the b57udiag DOS program on the Broadcom BCM57xx family of Gigabit Ethernet adapters. The b57udiag program can be controlled by commands entered from the DOS prompt or a user command mode. When the b57udiag program is started without parameters, a number of diagnostic tests are executed. To enter the user command mode, use the –cmd parameter.
BCM570x • B57UDIAG User’s Guide 2. Prerequisites OS: DOS 6.22 Software: b57udiag.exe. Input File List: The following files should be found in the same location of the b57diag. ee57xxyy.yy (TX & RX CPUs Firmware file, xx chip type, 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.
BCM570x • B57UDIAG User’s Guide 3.
BCM570x • B57UDIAG User’s Guide -updateasfcfg -updatesecfg -updateiscsicfg -ver -pxe -elog -pipmi -ipmi -uipmi -dir -pump1 -uump -u -piscsi -piscsicfg -piscsiprg The feature is used to execute a field upgrade of entire NVRAM image. The new NVRAM image is programmed into a/the device/s of a system if there is a match of the PCI DID, VID, SDID & SVID of firmware and device. Media Manufact Region and Media VPD Block in NVRAM will be preserved.
BCM570x • B57UDIAG User’s Guide -disableeswitch -help Disable the E-Switch on the device that support eswitch, such as 5756. Without this option, PHY loopback test, external loopback test (pkttest -e), and carrier test are performed on both laptop mode and docking mode. With this option, above tests are performed on the default port.
BCM570x • B57UDIAG User’s Guide 4. Functions Description 4.1 c cmd: -c Description: Specify adapter to be tested and/or modified. Syntax: [-]c devnum devnum : Device number. It can be one or more devices in the list. Use ‘all’ for all devices. The syntax for devnum is as followed: Where d is the device number 0 to number of devices – 1. For example, if you have three devices in the system, the valid device number is 0, 1, or 2.
BCM570x • B57UDIAG User’s Guide Example: From DOS prompt: C:\>b57udiag –w 1 –c 0 4.4 asf cmd: -asf Description: enable/disable ASF (value = 1/0) Syntax: [-]w -c devnum : Device number. It can be one or more devices in the list. Use ‘all’ for all devices. Example: From DOS prompt: C:\>b57udiag –asf 1 –c 0 4.
BCM570x • B57UDIAG User’s Guide Set PXE for device 0 4.7 mbas cmd: -mbas (value = 0 for auto, 1 for 10HD, 2 for 10FD, 3 for 100HD, 4 for 100FD, 6 for 1000FD – fiber only) Description: Set PXE speed. Syntax: [-]mbas –c Example: C:\>b57udiag –mbas 0 –c 0 Set PXE speed to auto for device 0 4.8 firm cmd: -firm Description: The feature is used to execute a field upgrade of bootcode firmware.
BCM570x • B57UDIAG User’s Guide Example: C:\>b57udiag –c 0 –firmall eeprom.bin Upgrade eeprom on device 0, if device ID embedded in eeprom.bin matches with device 0 4.10 updateasfcfg cmd: - updateasfcfg Description: Update the advance firmware configuration block of NVRAM with that of the NVRAM image provided by “-firmall” command. When “-updateasfcfg” command line parameter is entered before “-firmall” command, the Advance Firmware Configuration Block of the NVRAM will not be preserved.
BCM570x • B57UDIAG User’s Guide 4.12 updateiscsicfg cmd: - updateiscsicfg Description: Update the ISCSI firmware configuration block of NVRAM with that of the NVRAM image provided by “-firmall” command. 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.
BCM570x • B57UDIAG User’s Guide 4.15 elog cmd: -elog Description: Pipe error message to file. Syntax: [-]elog Example: C:\>b57udiag –elog error.txt All error message is pipe to error.txt file. 4.16 pipmi cmd: -pipmi Description: Program IPMI firmware from . Syntax: [-]pipmi Example: C:\>b57udiag –c 0 –pipmi pt5721c6.09 Program IPMI code for 5721 device 0 4.
BCM570x • B57UDIAG User’s Guide 4.18 help cmd: -help Description: Display commands help. Syntax: [-]help Example: C:\>b57udiag –help Commands help is displayed. 4.19 uipmi cmd: -c 0 -uipmi Description: Upgrading IPMI firmware from file if IPMI firmware is originally loaded Syntax: [-]uipmi Example: C:\>b57udiag –uipmi impi.bin 4.20 dir cmd: -c 0 dir Description: Display file directory in NVRAM Syntax: [-]dir Example: C:\>b57udiag -dir 4.
BCM570x • B57UDIAG User’s Guide 4.22 uump cmd: -pump1 Description: Upgrading UMP firmware from file if UMP firmware is originally loaded Syntax: [-]uump Example: C:\>b57udiag –uump ump.bin 4.23 u cmd: -u Description: Enable/Disable (value = 1/0) UMP in manufacture mode Syntax: [-]u Example: C:\>b57udiag –u 4.24 piscsi cmd: -piscsi Description: Program iSCSI firmware from file Syntax: [-]piscsi Example: C:\>b57udiag –c 0 –piscsi iscsi.bin 4.
BCM570x • B57UDIAG User’s Guide 4.26 piscsiprg cmd: -piscsiprg Description: Force program iSCSI PRG firmware from file. It should be used along with –piscsi Syntax: [-]piscsiprg Example: C:\>b57udiag –c 0 –piscsi iscsi.bin -piscsiprg 4.27 disableeswitch cmd: -disableeswitch Description: Disable the E-Switch on the device that support eswitch, such as 5756. Without this option, PHY loopback test, external loopback test (pkttest -e), and carrier test are performed on both laptop mode and docking mode.