B57UDIAG
B57UDIAG
B57UDIAG
B57UDIAG
page ii
Broadcom Proprietary
BCM570x • B57UDIAG User’s Guide
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 iii
Broadcom Proprietary
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.20 dir 12
page iv
Broadcom Proprietary
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.27 disableeswitch 14
page v
Broadcom Proprietary
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. DOS commands, described in the following sections, are entered at the DOS
command line and executed without entering the user command mode.
When the user command mode is entered information for all devices in the system is
displayed. The following excerpt provides an example of three devices in the system:
C Brd:Rv Bus/Dev PCI Spd Base IRQ EEP MAC Fmw Configuration
- ------- ------- ---- --- ----- --- ---- ------------ ---------- -------------
0 5703:A3 03:09:0 32 33 D580 11 128K 00101801026C 5703-c2.33 Mr,auto
1 5703:A3 03:0A:0 32 33 D990 5 128K 00101801026C 5703-c2.33 Mp,auto
2 5703:A3 05:05:0 32 33 E400 10 128K 00101801026C 5703-c2.33 Mb,auto
0:>setwol –e all
0:>device
C Brd:Rv Bus/Dev PCI Spd Base IRQ EEP MAC Fmw Configuration
- ------- ------- ---- --- ----- --- ---- ------------ ---------- -------------
0 5703:A3 03:09:0 32 33 D580 11 128K 00101801026C 5703-c2.33 WMp,auto
1 5703:A3 03:0A:0 32 33 D990 5 128K 00101801026C 5703-c2.33 WMp,auto
2 5703:A3 05:05:0 32 33 E400 10 128K 00101801026C 5703-c2.33 WMp,auto
In the example above, the Configuration column indicates the protocol used as the boot
agent. The following protocols are supported.
page 1
Broadcom Confidential and Proprietary
BCM570x • B57UDIAG User’s Guide
2. Prerequisites
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)
ump14a.bin or ump14b.bin
config.sys
himem.sys
page 2
Broadcom Confidential and Proprietary
BCM570x • B57UDIAG User’s Guide
3. Functions List
Functions: cmd:
User Command Mode commands
upgfrm Upgrade PXE or Boot Code from a file
dir Display file directory in NVRAM
setwol Enable/Disable WOL
setpxe Enable/Disable PXE
setasf Enable/Disable ASF
setmba Enable Multiple Boot Agent
setipmi Enable/Disable IPMI
nictest Run a set of Ethernet Adapter Tests
exit Exit from command mode
device Show or switch device
version Display program version
help Display available commands
dos Transfer to DOS prompt
reset Reset chip
cls Clear screen
asfprg Program ASF firmware into NVRAM (3 bin files format)
pasf Program ASF firmware into NVRAM (1 bin files format)
iscsiprg Upgrade iSCSI Code from a file
pape Program APE firmware into NVRAM
setman Enable/Disable Management Firmware
page 3
Broadcom Confidential and Proprietary
BCM570x • B57UDIAG User’s Guide
page 4
Broadcom Confidential and Proprietary
BCM570x • B57UDIAG User’s Guide
-disableeswitch 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.
-help Display commands help
page 5
Broadcom Confidential and Proprietary
BCM570x • B57UDIAG User’s Guide
4. Functions Description
4.1 c
cmd: -c
Example:
4.2 cmd
cmd: -cmd
Syntax: [-]cmd
Example:
4.3 w
cmd: -w <value>
page 6
Broadcom Confidential and Proprietary
BCM570x • B57UDIAG User’s Guide
Example:
4.4 asf
cmd: -asf <value>
Example:
4.5 mba
cmd: -mba <value> (value = 0 for Disable, 1 for Enable)
4.6 mbap
cmd: -mbap <value> (value = 0 for PXE, 1 for RPL, 2 for BOOTP)
Example:
C:\>b57udiag –mbap 0 –c 0
page 7
Broadcom Confidential and Proprietary
BCM570x • B57UDIAG User’s Guide
4.7 mbas
cmd: -mbas <value> (value = 0 for auto, 1 for 10HD, 2 for 10FD, 3 for 100HD, 4
for 100FD, 6 for 1000FD – fiber only)
Example:
C:\>b57udiag –mbas 0 –c 0
4.8 firm
cmd: -firm <file name>
Description: The feature is used to execute a field upgrade of bootcode firmware. The
bootcode firmware 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.
Example:
4.9 firmall
cmd: -firmall <file>
Description: Update devices eeprom based on <file> image match. Only MAC addr will
be preserved
page 8
Broadcom Confidential and Proprietary
BCM570x • B57UDIAG User’s Guide
Example:
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. It will get updated by the
input file of “-firmall” command. The “-firmall” command is described above.
Syntax: [-]updateasfcfg
Example:
4.11 updatesecfg
cmd: - updatesecfg
Description: Update the Media Manufact Region and Media VPD Block, of NVRAM
with that of the NVRAM image provided by “-firmall” command. When “-updatesecfg”
command line parameter is entered before “-firmall” command, the Meida Manufact
Region and Media VPD Block of the NVRAM will not be preserved. They will get
updated by the input file of “-firmall” command. The “-firmall” command is described
above.
Syntax: [-]updatesecfg
Example:
page 9
Broadcom Confidential and Proprietary
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.
Syntax: [-]updateiscsicfg
Example:
4.13 ver
cmd: -ver
Example:
C:\>b57udiag –vev
4.14 pxe
cmd: pxe <file name>
Example:
page 10
Broadcom Confidential and Proprietary
BCM570x • B57UDIAG User’s Guide
4.15 elog
cmd: -elog <file name>
Example:
4.16 pipmi
cmd: -pipmi <file>
Syntax: [-]pipmi
Example:
4.17 ipmi
cmd: -c 0 -ipmi <value>
Syntax: [-]ipmi
Example:
C:\>b57udiag –ipmi 1
page 11
Broadcom Confidential and Proprietary
BCM570x • B57UDIAG User’s Guide
4.18 help
cmd: -help
Syntax: [-]help
Example:
C:\>b57udiag –help
4.19 uipmi
cmd: -c 0 -uipmi <file>
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
Syntax: [-]dir
Example:
C:\>b57udiag -dir
4.21 pump1
cmd: -pump1 <file>
Syntax: [-]pump1
Example:
C:\>b57udiag –pump1 ump.bin
page 12
Broadcom Confidential and Proprietary
BCM570x • B57UDIAG User’s Guide
4.22 uump
cmd: -pump1 <file>
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 <file>
Syntax: [-]u
Example:
C:\>b57udiag –u
4.24 piscsi
cmd: -piscsi <file>
Syntax: [-]piscsi
Example:
C:\>b57udiag –c 0 –piscsi iscsi.bin
4.25 piscsicfg
cmd: -piscsicfg
Description: Force program iSCSI CFG firmware from file. It should be used along with
–piscsi
Syntax: [-]piscsicfg
Example:
C:\>b57udiag –c 0 –piscsi iscsi.bin -piscsicfg
page 13
Broadcom Confidential and Proprietary
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. With this option, above tests
are performed on the default port..
Syntax: [-]disableeswitch
Example:
C:\>b57udiag –c 0 –disableswitch
page 14
Broadcom Confidential and Proprietary