You are on page 1of 14

Broadcom NetXtreme II • UXDiag User’s Guide

Broadcom NetXtreme II UXDiag User’s Guide

Version 1.7

Page ii Broadcom Corporation

in any form or by any means. without permission in writing from Broadcom Corporation.com Page iii Broadcom Corporation . CA 92617 www. No liability is assumed as a result of their use or application. Broadcom Corporation reserves the right to make changes to the products or information contained in this document without notice.Broadcom NetXtreme II • UXDiag User’s Guide Copyright © 2001-2008 Broadcom Corporation All Rights Reserved No part of this document may be reproduced.broadcom. No rights under any patent accompany the sale of any such products or information. Irvine. Broadcom Corporation 5300 California Avenue.

4 1.txt command line option. Added –fib_ipv4n6 to program combo IPV4 & IPV6 iSCSI image. Added –fib_ipv6 to program IPV6 iSCSI image.1 1.2 1.7 Date 09/06/2006 08/13/2007 06/17/2008 07/16/2008 08/20/2008 04/01/2009 04/24/2009 10/16/2009 Released by Skeung Sean Vu carolz carolz carolz carolz Vsiu Vsiu carolz Notes Initial preview release. Added –fnvm. -idmatch and –pwd options to indicate they are for field technician use only.Broadcom NetXtreme II • UXDiag User’s Guide Revision History Revision 1.5 1. Added @filename. Added –smbus_addr to change smbus address. Added NCSI FW upgrade support. -idmatch and –pwd options. Page iv Broadcom Corporation .0 1.6 1. Added option None to –mbap.3 1. Added comments to –fnvm.

.. -fibc 15...................................................................... 3.......Broadcom NetXtreme II • UXDiag User’s Guide TABLE OF CONTENTS 1.. -mbavval <n> 24..... -mbas <n> 21...................... -fipmi <ipmi_image> 9.................. -fump <ump_image> 10......... 3 1..... -cof 25. -fnvm <raw_image> 26..... @filename 31.......................... -t <grps/tests> 2.... -log <logfile> 29......... -smbus_addr 30.... -T <grps/tests> 3.. -wol <1|0> 18........... -help Page v Broadcom Corporation .... 2 FUNCTIONS LIST... INTRODUCTION ...................... 2........... -fmba <mba_image> 8.................. -F 17............... -fbc <bc_image> 7..... -mbap <n> 22.... -fib <ib_image> 12.............. -fncsi <ncsi_image> 11......... -I <iteration#> 5. 1 OPERATING ENVIRONMENT .... -ver 28. -c <card#> 4....... -fibp 16........... -fib_ipv6 <ib_image> 13.. -mbav <1|0> 23...................................... -mba <1|0> 19.... -mfw <1|0> 20... -fib_ipv6 <ib_image> 14. -idmatch 27...... -pwd <password> 6......

described in the following sections. When the UXDIAG program is started without parameter(s). are entered at the DOS command line. The UXDIAG program can be controlled by commands entered from DOS prompt. Page 1 Broadcom Corporation .Broadcom NetXtreme II • XDiag OEM User’s Guide 1. Introduction This document provides the information on how to use Broadcom’s uxdiag utility. DOS commands. a number of diagnostic tests are executed.

exe. Page 2 Broadcom Corporation . Operating Environment The uxdiag utility operates in an MS-DOS environment. OS: MS-DOS 6.22 Input File List: The following files should be found in the same location of the uxdiag. • Firmware image files stored in \diagfw directory are required when running diagnostics. It includes a DOS extender (PMODE/W) that is embedded into the executable and provides access to memory above 1MB.Broadcom NetXtreme II • XDiag OEM User’s Guide 2.

-help print out this screen 3. a1c2) -c <card#> Select device number tests will be running on -I <iteration#> Specify how many iterations tests need to run -pwd <password> Specify the password in order to update firmware. example.1 t cmd: -t description: Disable certain tests/groups (e. -ver Display information on devices and uxdiag version -log <logfile> log the tests' execution into the specified file -smbus_addr <value> Change smbus address @filename Xdiag parses file content and use it as command line options. 10F(2). None(7) -mbav <1|0> enable(1)/disable(0) MBA VLAN -mbavval <n> MBA VLAN value (<65536) -cof Allow tests to continue tests on failure -fnvm <raw_image> Specify raw image file to program to NVM. A for group or a1 for individual test.g. 100H(3). 1000F(6) -mbap <n> MBA boot protocol: PXE(0). RPL(1). Requires –pwd and –c or -idmatch. reserved(4-6). Used with “-fib|fib_ipv6 <ib_image>” only -F Force to upgrade image without checking version -wol <1|0> enable(1)/disable(0) magic pkt wol -mba <1|0> enable(1)/disable(0) mba -mfw <1|0> enable(1)/disable(0) management firmware -mbas <n> MBA/PXE speed: auto(0). DID. and SSID from image file withdevice’s IDs. Functions List -t <grps/tests> Disable certain tests/groups (e. SVID. BOOTP(2). a1c2) syntax: [-]t <value> value: test number. -fbc <bc_image> Specify the bin file for combined boot code -fmba <mba_image> Specify the bin file for MBA -fipmi <ipmi_image> Specify the bin file for IPMI firmware -fump <ump_image> Specify the bin file for UMP firmware -fncsi <ncsi_image> Specify the bin file for NCSI firmware -fib <ib_image> Specify the bin file for iSCSI boot -fib_ipv6 <ib_image> Specify the bin file for IPV6 iSCSI boot -fib_ipv4n6 <ib_image> Specify the bin file for combo IPV4 & IPV6 iSCSI boot -fibc Program iSCSI configuration block. This option applies to all devices. 10H(1). used with “-fib|fib_ipv6 <ib_image>” only -fibp Program iSCSI configuration software.Broadcom NetXtreme II • XDiag OEM User’s Guide 3.g. iSCSI_Boot(3). -idmatch Enable matching of VID. 100F(4). example: from DOS prompt: c:\uxdiag –t Ab1 Page 3 Broadcom Corporation .g. a1c2) -T <grps/tests> Enable certain tests/groups (e. Used with “-fnvm <raw_image>” only.

example: from DOS prompt: c:\uxdiag –pwd xxx –fnvm abc. 0 means infinite iterations.bin -idmatch 3.bin file example: from DOS prompt: c:\uxdiag –c 1 –fbc bc06c194. including d3 test.Broadcom NetXtreme II • XDiag OEM User’s Guide -run default diagnostic tests.6 fbc cmd: -fbc description: Specify the bin file for combined boot code syntax: [-]fbc <bc_image> bc_image: boot code . a1c2) syntax: [-]T <value> value: test number.3 3. example: from DOS prompt: c:\uxdiag –c 2 -run default diagnostic on device 2.g. example: from DOS prompt: c:\uxdiag –T d3 -run default diagnostic tests.2 T cmd: -T description: Enable certain tests/groups (e. example: from DOS prompt: c:\uxdiag –I 2 -run default diagnostic 2 times. For field technician use only.5 3. A for group or a1 for individual test. example. I cmd: -I description: Specify how many iterations tests need to run syntax: [-]I <value> value: number of iteration(s). pwd cmd: -pwd description: Specify the password in order to update firmware.bin Page 4 Broadcom Corporation . skip group A and test b1 3. c cmd: -c description: Select device number tests will be running on syntax: [-]c <value> value: device number.4 3. syntax: [-]pwd <value> value: password for device access.

06 file on device 1.nic -upgrade mba with bxmmba.11 .10 3.8 3. Page 5 Broadcom Corporation 3.xxx file example: from DOS prompt: c:\uxdiag –c 1 –fmba bxmmba.7 -upgrade boot code with bc06c194. fncsi cmd: -fncsi description: Specify the bin file for NCSI firmware syntax: [-]fncsi <ncsi_image> ncsi_image: ncsi bin file example: from DOS prompt: c:\uxdiag –c 1 –fncsi ncsi.9 3.Broadcom NetXtreme II • XDiag OEM User’s Guide 3.bin file on device 1. fipmi cmd: -fipmi description: Specify the bin file for IPMI firmware syntax: [-]fipmi <ipmi_image> ipmi_image: ipmi bin file example: from DOS prompt: c:\uxdiag –c 1 –fipmi pt5708h1. fump cmd: -fump description: Specify the bin file for UMP firmware syntax: [-]fump <ump_image> ump_image: ump bin file example: from DOS prompt: c:\uxdiag –c 1 –fump ntx2ump. fmba cmd: -fmba description: Specify the bin file for MBA (Multiple Boot Agent) syntax: [-]mba <mba_image> mba_image: mba .nic file one device 1.bin on device 1.06 -upgrade ipmi with pt5708h1.bin -upgrade ncsi with ncsi.bin file on device 1.bin -upgrade ump with ntx2ump.bin -upgrade iSCSI boot with iscsi. fib cmd: -fib description: Specify the bin file for iSCSI boot syntax: [-]fib <ib_image> ib_image: iSCSI boot bin file example: from DOS prompt: c:\uxdiag –c 1 –fib iscsi.bin file on device 1.

F cmd: -F description: Force to upgrade image without checking version syntax: [-]F example: from DOS prompt: c:\uxdiag –c 1 –F –fbc <bc_images> -force upgrade/downgrade boot code on device 1. fib_ipv4n6 cmd: -fib_ipv4n6 description: Specify the bin file for combo IPV4 & IPV6 iSCSI boot syntax: [-]fib_ipv4n6 <ib_image> ib_image: iSCSI boot bin file example: from DOS prompt: c:\uxdiag –c 1 –fib_ipv4n6 iscsi.16 .bin -fibp -upgrade iSCSI configuration software on device 1.12 fib_ipv6 cmd: -fib_ipv6 description: Specify the bin file for IPV6 iSCSI boot syntax: [-]fib_ipv6 <ib_image> ib_image: iSCSI boot bin file example: from DOS prompt: c:\uxdiag –c 1 –fib_ipv6 iscsi.14 3.15 3. fibp cmd: -fibp description: Program iSCSI configuration software. fibc cmd: -fibc description: Program iSCSI configuration block. Page 6 Broadcom Corporation 3. Must be used with –fib|fib_ipv6 <ib_image> syntax: [-]fib|fib_ipv6 <ib_image> -fibp ib_image: iSCSI boot bin file example: from DOS prompt: c:\uxdiag –c 1 –fib iscsi. Must be used with –fib|fib_ipv6 <ib_image> syntax: [-]fib|fib_ipv6 <ib_image> -fibc ib_image: iSCSI boot bin file example: from DOS prompt: c:\uxdiag –c 1 –fib iscsi.bin -upgrade IPV6 iSCSI boot with iscsi.bin on device 1.13 3.Broadcom NetXtreme II • XDiag OEM User’s Guide 3.bin on device 1.bin -upgrade combo IPV4 & IPV6 iSCSI boot with iscsi.bin -fibc -upgrade iSCSI configuration block on device 1.

1000F(6) syntax: [-]mbas <n> 0: auto.20 3. 0: disable example: from DOS prompt: c:\uxdiag –c 2 –wol 1 -enable WOL on device 2. 10H(1).Broadcom NetXtreme II • XDiag OEM User’s Guide 3. 0: disable example: from DOS prompt: c:\uxdiag –c 2 –mfw 1 -enable management firmware on device 2. 4:100F.17 wol cmd: -wol description: enable(1)/disable(0) magic pkt wol syntax: [-]wol <1|0> 1: enable. 7: None example: from DOS prompt: c:\uxdiag -c 1 –mbap 0 Page 7 Broadcom Corporation 3. 2:10F. 1:10H. reserved(4-6). 100H(3). 0: disable example: from DOS prompt: c:\uxdiag –c 2 –mba 1 -enable mba on device 2. mba cmd: -mba description: enable(1)/disable(0) mba syntax: [-]mba <1|0> 1: enable. BOOTP(2). 10F(2). 100F(4). None(7) syntax: [-]mbap <n> 0: PXE. mfw cmd: -mfw description: enable(1)/disable(0) management firmware syntax: [-]mfw <1|0> 1: enable. RPL(1).18 3. 3:100H. iSCSI_Boot(3).19 3. mbas cmd: -mbas <n> description: set MBA/PXE speed: auto(0). 2:BootP. 3:iSCSI Boot. 1:RPL. 6:1000F example: from DOS prompt: c:\uxdiag -c 1 –mbas 0 -set pxe speed to auto on device 1 mbap cmd: -mbap <n> description: set MBA boot protocol: PXE(0).21 .

1:disable example: from DOS prompt: c:\uxdiag -c 1 –mbav 1 -enable mba vlan on device 1 mbavval cmd: -mbavval <n> description: set MBA VLAN (<65536) syntax: [-]mbavval <n> example: from DOS prompt: c:\uxdiag -c 1 –mbavval 100 -set mba vlan to 100 cof cmd: -cof description: Allow tests to continue tests on failure syntax: [-]cof example: from DOS prompt: c:\uxdiag –cof -run all diagnostic tests regardless if failure occurs. DID.23 3. fnvm cmd: -fnvm description: Specify raw image file to program to NVM. idmatch cmd: -idmatch description: Enable matching of VID.Broadcom NetXtreme II • XDiag OEM User’s Guide 3. SVID. and SSID from image file withdevice’s IDs.24 3. syntax: [-]idmatch example: from DOS prompt: c:\uxdiag –fnvm abc.bin –idmatch –pwd xxx -update NVM with abc. Requires –pwd and –c or -idmatch.bin –idmatch –pwd xxx Page 8 Broadcom Corporation 3. Used with “-fnvm <raw_image>” only. For field technician use only. This option applies to all devices.26 . syntax: [-]fnvm <raw_image> example: from DOS prompt: c:\uxdiag –fnvm abc.bin file.25 3.22 -set protocol to pxe on device 1 mbav cmd: -mbav <1|0> description: enable(1)/disable(0) MBA VLAN syntax: [-]mbav <1|0> 0:enable. For field technician use only.

smbus_addr cmd: -smbus_addr description: Change smbus addresses on all devices that are in the system or specified by -c.bin file if VID.Display commands syntax on screen.Broadcom NetXtreme II • XDiag OEM User’s Guide . filename cmd: @filename description: A file that contains xdiag command line options. 3. syntax: [-]smbus <value> example: from DOS prompt: c:\uxdiag –smbus 0xfc .txt .capture test log to out. syntax: [@]help example: from DOS prompt: c:\uxdiag @filename help cmd: -help description: Display commands syntax on screen syntax: [-]help example: from DOS prompt: c:\uxdiag –help . and SSID in abc.txt file. 3.28 3.change smbus address on all devices. SVID.29 3.27 ver cmd: -ver description: Display information on devices and uxdiag version syntax: [-]ver example: from DOS prompt: c:\uxdiag –ver .Display information on devices and uxdiag version..30 3.update NVM with abc. DID. log cmd: -log description: Log the tests' execution into the specified file syntax: [-]log <logfile> logfile: txt example: from DOS prompt: c:\uxdiag –log out.31 Page 9 Broadcom Corporation .bin match what are on the device.

Broadcom NetXtreme II • XDiag OEM User’s Guide Page 10 Broadcom Corporation .