Home
Diagnostic User's Guide - Mandriva Education
Contents
1. 1 ASF Settings Description Provides the sub menu with the options described below 0 Return to previous menu 1 Enable Disable Remote Management Control Protocol RCMP 2 Enable Disable the transmission of Platform Event Trap PET messages 3 Enable Disable transmission of periodic system heartbeat messages 4 Interval in seconds between transmitted heartbeat messages 5 PET messages except the system heartbeat are retransmitted three times This entry allows the user to specify in seconds the interval of time between these transmissions 6 Client IP address used for communication 7 Management console IP address to which communication is directed 8 Gateway IP address used when client and management console are on different subnets 9 Subnet mask used to determine client and management console subnets 10 Configures link speed for ASF operation when the OS is not present 11 Unique value used to by ASF Usually setup by an OS based configuration utility based on the SMBIOS system information structure 12 Configure the polling interval in seconds which legacy SMBus devices are monitored such as the chassis intrusion sensor 13 Specifies in seconds the amount of time to wait before polling the first legacy SMBus device 14 SMBus address of this device i e the NIC card SMBus interface 15 Enable Disable the system to wake up from a low power states when t
2. fun JR rec 02 JE not mat VES siz Jk ERR_GP105704 sd sd Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide ERR_BIST_NOT_DONE ERR_BIST_DATA_MISCMP ERR_CPU_NO_RESPONSE ERR_CPU_ERR_CODE CMD_LOOP CMD_SKIP CMD_ELSE CMD_ELSEIF CMD_BREAK CMD_ENDWHILE ERR_BYTE ERR_WORD ER ER cn ER ER ER AND _BAD_CPU_ INDIO R_NOT_SUPP R_POST_1G_ R_DRIVER ion R_TXDMA_OV R_RXDMA_OV R_SOCKET R_BIND R_SETSOCKO R_FCNTL R_SEND R_RECEIVE R_FALSE_CA R_INV_OPT R_INV_DEV R_IRQ R_TIMEOUT ERR_PKT_DATA evied 02X ERR_MAC_ZERO CM Pee R R R R R R R R E R R R RR_INVALID_ R R R R R R R R R R R R R MISMATCH_ _CFG_BW R_NO_LINK_DOWN R_MISMATCHED_DEVICEID with board d _INVALID_DATA_SIZE _MAC_ADDR_ENDED ILLEGAL_MAC_ADDR BIST_DATA_INVALID INVALID_BOND_ID I RESET NCORRECT_VERS ION CFG_VERSION LB ERE LOW ERF LOW R_DRIVER_BAD_STATUS HANDLE R_SIOCGIFINDEX PT RRIER ERR_MAC_MIS_REG Xey R_CPU_ACC R_CPU_MEM R_BUS_LINK E A A e o E el E c E R_UMPLB R_UMPCTRL sd R_MISS_PXE R_MISS_ASF BHA E o A E E dt R_MISS_UMP R_CPU_INSTR R R R R RR_ASF_FILE_VER RR_ASF_VS_DEV RR_MISMATCHED_DEVICEID_1 match with
3. Enable 1 Sets the clock mode register bit 22 which will assert active low the clock run signal on the bus prior to any PCI configuration space activity Disable 0 The above is not performed 37 Enable PHY Auto Powerdown Configure Description Enable GPHY auto power down when there is no link present to conserver power No 0 The PHY will not auto power down Yes 1 The PHY will auto power down when there is no link 38 Disable Power Saving capability Configure Description Disable Power Saving capability setup by option 33 above When disable a device will use Nway negotiation page 43 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide No 0 Power saving capability active Yes 1 Power saving capability inactive 39 Hide MBA Setup Prompt Configure Description During the MBA boot the MBA setup prompt is displayed to provide the user the option to setup and configure various MBA parameters Options 8 9 26 29 and 39 40 configure the boot protocol behavior Disable 0 Hide the MBA Setup Prompt The user is NOT give the option to change the MBA boot parameters Enable 1 Show the MBA Setup Prompt The user is given the option to change the MBA boot parameters 40 MBA Setup Hot Key Configure Description Hot Key used to enter the MBA Setup Options 8 9 26 29 and 39 40 confi
4. page 84 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Configuration space 32 S Configuration space 16 X Configuration space 8 Registers 32 default SRAM 32 NVRAM SEEPROM FLASH 32 m MII registers 16 VPD Access 32 I indirect access 32 A internal scratchpad 32 1 direct access 32 s direct access 16 x direct access 8 9 100 readbit cmd readbit Description Read the bit specified by lt bit gt Syntax readbit IImSsxX lt addr gt lt bit gt Configuration space 32 S Configuration space 16 X Configuration space 8 Registers 32 default SRAM 32 NVRAM SEEPROM FLASH 32 m MII registers 16 VPD Access 32 page 85 Broadcom Confidential and Proprietary 9 101 9 102 9 103 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide I indirect access 32 A internal scratchpad 32 1 direct access 32 s direct access 16 x direct access 8 cread Command cread Description Read PCI configuration Space of specified device default 32 bits read S 16 bits read X 8 bits read Syntax cread lt bus gt lt dev gt lt func gt SIX lt begin gt end len cwrite Command cwrite Description Write PCI configuration Space of specified device default 32 bits read S 16 bits read X 8 bits read Syntax cwrite lt bus
5. This option is only valid for 5787 and 575xCx devices The power values need to be setup by the OEM manufacture based on actual measurements Default values contained in the bootcode firmware are loosely based on the in house Broadcom NIC card 15 0 Power Budget data 1 7 0 Base Power in 1 Watt For example 1 4 Watt should have value 14 9 8 PM State 00 DO 01 Dl 10 D2 11 D3 12 10 Type 000 PME Aux 001 Auxiliary 010 Idle 011 Sustained 111 Maximum 13 15 Power Rail 000 12V 001 3 3V 010 1 8V 111 Thermal 31 16 Power Budget data 2 See Power Budget Data 1 for detail Bit number add 16 47 Encoded Hot Plug Power 3 amp 4 For NIC Configure Description Encoded Hot plug power values 3 amp 4 for a NIC device that is used only if enabled in option 50 below Look at option 46 for details 48 Encoded Hot Plug Power 5 amp 6 For NIC Configure Description Encoded Hot plug power values 5 amp 6 for a NIC device that is used only if enabled in option 50 below Look at option 46 for details 49 Encoded Hot Plug Power 7 amp 8 For NIC Configure Description Encoded Hot plug power values 7 amp 8 for a NIC device that is used only if enabled in option 50 below Look at option 46 for details 50 Hot Plug Power Configure Description Enable Disable the hot plug power values defined in options 46 49 Disable 0 Disable hot plug power feature page 45
6. d lt DEC gt Interpacket GAP in microseconds def 0 e lt DEC gt Upper Limit of Tx buffer in incremental packet size def 1514 f lt string gt Sniffer file containing contents of Tx packets g lt DEC gt Rx Threshold def 5 h Enable Host Loopback I Increment length j Regenerate CRC 32 in host loopback mode k Applies CRC 32 check on Rx path I lt DEC gt Length of Tx packet def 60 m Generate TPROT packets n lt DEC gt Number of packets to be transmitted def 0 0o lt DEC gt Number of Rx Rings def 1 p Send protocol packets configured with txcfg command q Use software CRC 32 on Tx Path r Enable Rx S Stop on Failure t Enable Tx w lt DEC gt Low watermark max RxFrame value 0 65535 X Check length of received packet page 67 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Z lt DEC gt Tx Threshold def 5 P Pause R Enable RS232 statistic update S TCP segment test T lt DEC gt Packet Type 0 None 1 Eth2 2 802 3 4 SNAP W Check DMA_ Write error status Example 1 Load MAC driver and enable transmission O packet gt loaddrv Reinitializing PCI Configuration Space Bus Number ane i Device Funtion 11 0 Base Address Oxfb010000 IRQ 9 Bringing up MAC driver OK PHY calculated ID 60008162 BCM5702 03 Internal Phy Rev 2 Configuring BCM54xx Done Determining Link Speed 1000Base T Full Duplex O packet gt b
7. ERROR MESSAGES 3 3 Test Descriptions 3 3 1 3 3 2 3 3 3 3 3 4 3 3 5 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 A2 Control Register Test Command regtest Function 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 are not changed and read write bits are changed accordingly Default Enabled 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 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 A5 PCI Cfg Register Test Command pcicfg Function This test verifies the access integrity of the PCI config registers page 4 Broadcom Confidential and Proprietary 3 3 6 3 3 7 3 3 8 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Default Enabled A6 Serial Number Reg Test Command serial Function Tests the PCI E Serial Number capabilities registers on
8. rxcfg Configure Rx parameters tprot Blast with TPROT Packets qstat Get a quick NIC statistic drvrcfg configure driver parameters irt Test an individual register macmrd Test an individual register miimrd Test an individual register pcimrd Test an individual register Command Group mii mwrite Write PHY registers via MII Management interface mread Read PHY registers via MII Management interface mdev Select current PHY to be accessed miimode Select Auto Mode of MII Access Ibertram Load data to PHY BIST RAM dbertram Dump PHY BIST RAM page 29 Broadcom Confidential and Proprietary bertstats rm mrloop phymse initphy Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Dump PHY BIST Statistics Read MII Registers loop on MII read PHY mean square error Initialize phy Command Group mem memsearch read write poll setbit clearbit readbit cread cwrite Search a Data Pattern in Memory Read Memory Write Memory poll Memory Read Modify Memory by ored with lt bits gt Read Modify Memory by anded with lt bits gt Read Modify Memory by ored with lt bits gt Read PCI configuration Space of specified device Write PCI configuration Space of specified device Command Group test vpdtest regtest miitest msi memtest setest bist nictest intrtest pkttest cputest dmatest dmashasta teste testd asftest bustest sramtest msitest romtest gpiotest cpudiag pcicfgtest petest errctrl sedvt
9. 0x80 Example 1 Read and display RX CPU trace from location 0x00 to 0x04 0 gt cpudrt 0 5 000 MainCpuA t00000030 164414e4 1000004 00000000 164414e4 00000000 001 BUpCpuA t00000032 00000000 08000034 00440400 00001c40 00000000 002 BUpCpuA t00000001 00000001 08000034 00440000 00000000 00000000 003 00000000 00000000 00000000 00000000 00000000 00000000 004 00000000 00000000 00000000 00000000 00000000 00000000 2 Read and display 4 locations of RX CPU trace from start from location 0x00 0 gt cpudrt 0 5 000 t00000030 164414e4 e1000004 00000000 164414e4 00000000 001 t00000032 00000000 08000034 00440400 00001c40 00000000 002 t00000001 00000001 08000034 00440000 00000000 00000000 003 t00000000 00000000 00000000 00000000 00000000 00000000 9 46 cputrace cmd cputrace Description toggles cpu trace mode Syntax cputrace 110 9 47 haltcpu emd haltcpu Description Halt CPU Syntax haltcpu 9 48 loadbootcode cmd loadbootcode Description execute bootcode from file instead of NVRAM Syntax loadbootcode lt filename gt Options d lt HEX gt data pattern to be used for memory init def 00000000 f lt string gt filename page 60 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide i don t initialize memory before loading def yes m don t turn on CPU Trace def on S don t start cpu t load to tx cpu def rxpcu V disable verbose 9 49 disasm cmd disasm Descriptio
10. 9 119 9 120 9 121 9 122 9 123 9 124 9 125 9 126 9 127 9 128 9 129 9 130 9 131 9 132 9 133 9 134 9 135 9 136 9 137 9 138 9 139 9 140 9 141 9 142 9 143 9 144 9 145 9 146 9 147 9 148 9 149 9 150 9 151 9 152 9 153 9 154 9 155 9 156 9 157 9 158 9 159 9 160 9 161 9 162 9 163 BCM570x Diagnostic User s Guide ASFTES A iones BUSTES Torito A drets SRAMTEST ereere anaa r aA EEE TEs e EE ASEE rta MSITEST A O A ETA ROMTES Ta AAA AAA A O EPUDIAG areren seus nacer a restes EES EEEa ches EE EENES A OE EETA Ton ER ESE EEI EO TI SEESE MIIMISCTEST saepe ress ernes n A EE e EE E CPUGPRTES T rasene e id DMASHASTA tu a dt ia BINCHKSUM houssen enueia esens bites des PES dea AS do ae EA e dE ies A A o caus seotaetnee etre LOADDRV korere eaer erens ea a cas UNLOADDRV personenes ee a e E EE e MACHAET veere eaeoe eea EEA Ee EATE ESR E RR TEE taaan TXMACDES ss csivieses ses eccvstectessvesesacuei s classi eee E NES a E OESTRO ISEE SEEI enor TIIE ERES TXMACSRC E EEAS A EEAO EES EEE EE EES A NO GPIOWRTTE ii Aa AS E cada GPIOREAD ot a dit iS IE Ea page vi Broadcom Confidential and Proprietary BCM570x Diagnostic User s Guide 9 164 DIA GOEG ii A ide 9 165 RESET a a A 9 166 QUIT A o E A ON 9 167 A O O 9 168 8 E E AA 9 169 LOOP N EA EA a AE EA E 9 170 DIB MODE ads 9 171 ISB NN 9 172 NEW e Sa rl gad cs ban o e O O 9 173 ASFPRG ii Ai 9 174 SLEEP IS e 9 175 FILLPATTERN asi A e d 9 176 DN ii ia 9 177 O aE ha
11. Insert VLAN Tag YES 1 NO 0 16 VLAN Tag 17 Random IP header field YES 1 NO 0 18 Random TCP UDP header field YES 1 NO 0 0 Exit Enter your choice option paramter gt 9 75 rxcfg cmd rxcfg Description Configure RX parameters Syntax rxcfg Example 0 gt rxcfg Host Loopback Enable 1 Disable 0 Modify Rx Packet Enable 1 Disable 0 Dump Rx Packet None 1 Hex 2 Decode 3 Dump Rx Length Tx Fragment Length Tx Flags Tx VLAN Tag Tx Ring Number Tx Generate CRC Enable 1 Disable 0 Capture Rx Pacpket Enable 1 Disable 0 Rx Mask Exit PR SCFPOCUOMRIDUAWNHeE page 75 Broadcom Confidential and Proprietary NO NO Increment NO NO NO NO 1 Disable Disable None 64 1518 0000 0000 0 Enable Enable 13 14 15 03 04 05 II 00 01 02 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Enter your choice option paramter gt 9 76 tprot cmd tprot Description Blast with TPROT Packets This command is same as command blast trm Syntax tprot Options d lt DEC gt Interpacket gap in microseconds def 10 9 77 qstat cmd qstat Description Get a quick NIC statistic qstat string used to select specific statistic Syntax qstat qstat string Options c Clear statistic l List all qstat string 9 78 drvrcfg cmd drvrcfg Description configure driver parameters Syntax drvrcfg Options a lt DEC
12. NIC address def 00002100 Display DMA info Force to use 32 bit bus Length of DATA to do DMA def 00000400 page 90 Broadcom Confidential and Proprietary 9 115 9 116 9 117 9 118 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide n lt DEC gt iteration o lt HEX gt Buffer offset def 00000000 teste Command teste Description The command enables tests It effects nictest regtest pkttest and memtest commands The test must starts with test group alpha a d If no number is entered all tests in that group are enabled Syntax teste lt tests gt lt tests gt Example teste al2bc Enable test al a2 all tests in group b and c teste ab cd Enables all tests teste Display enabled tests testd Command testd Description The command disables tests It effects nictest regtest pkttest and memtest commands The test must starts with test group alpha a d If no number is entered all tests in that group are disabled Syntax testd lt tests gt lt tests gt Example testdal2be Disable test al a2 and all tests in group b and c testd ab cd Disables all tests testd Display disabled tests asftest cmd asftest Description ASF Test Syntax asftest Options n lt DEC gt iteration bustest Command bustest page 91 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Description PCI Bus Test Sy
13. R_SERIAL2 R_POWER1 R_POWER2 R_UMP_VS_DEV R_HM_BR_LANES running R_BRIDGE R_NO_LIN R_NO_LINK100 R_NO_LINK1000 R_DMA_SHASTA R_SECFG_CONT R_SECFG_INVALID R_NV_SELFBOOT R_PART_NUM R_UMPECHO R_IMAGE_CHECKSUM R_INVALID_SMB R_LOM_CFG R_ISCSI_PGM 10 expected 170 sd 71 Ef Ey f s sy El Ef El 72 73 74 o 76 Ss CPU memory error 08X expected 08X but got PCIE Serial Device Number Capability Not Found PCIE Serial Device Number Match Failure PCIE Power Budget Capability Not Found PCIE Power Budget Error ad d saw x exp x UMP VS Device Error HM Bridge Lanes Error d PCI E lanes are actually Invalid bridge No good link at 10 Mbits s No good link at 100 Mbits s Check Loopback plug No good link at 1000 Mbits s Check Loopback plug nFailed Saw x x Exp x from x n SECFG Config Error Line d Invalid Argument in SECFG Config File at Line Sd NVRAM is SELFBOOT Error Part Number Chick Failed UMP Echo Debug Mode Firmware image checksum error Invalid SMB Address LOM CONF Bit mismatch in Reg 178 and Reg 7C04 iSCSI Programming Error Check Loopback plug page 124 Broadcom Confidential and Proprietary
14. 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 Example b57diag chksecfg file_p txt for single port devices b57diag chksecfg file_p txt file_s txt for dual port devices nosz disable storing NVRAM and TPM size in NVRAM Disable the storing of the TPM and NVRAM size in NVRAM when diagnostics is run from the command prompt Use the nosz option when repeatedly power cycling a system in order not to exhaust the total NVRAM write cycles smbaddr lt hex1 gt lt hex2 gt I lt hex3 gt Configure ASF SMBus Addresses The option will configure the ASF SMBus Address field in ASF Configuration block The option can take multiple parameters in HEX Example a smbaddr 45 SMB Address 0x45 b smbaddr 45 6c SMB Address for 1st device 0x45 and 2nd device Ox6c This option must be used along with c option Number of parameters for smbaddr must be the same as number of devices selected by c Example b57diag c 0 3 6 smbaddr 6c 6e t abcd b57diag c O e b57kia pasf asf bin smbaddr 66 t abcd page 13 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide mfct lt filename gt updates the PCI SSID and SVID Use this option to modify the PCI SSID and SVID stored in NVRAM The new SSID and SVID are specified in the file lt filename gt Th
15. miimisctest cpugprtest Run VPD Memory Test Run Register Test Run MII Memory Test Run MSI Test Manually Run Memory Test Run NVRAM Test Run BIST Run a set of NIC Tests Run Interrupt Test Run Packet Tests Run CPU Test Run DMA Test Run DMA Test for Shasta family of devices Enable Test Disable Test ASF Test PCI Bus Test sram test Run MSI Test ROM Test do GPIO test run diagnostic from internal CPU Run PCI Config Reg Test Perform parity error test on a bridge Configure Error Control Setting Perform NVRAM dvt test Run MII Misc Tests Run CPU GPR test Command Group power pmdcfg pmpcfg pmpd Dump Power Management Info Add Del Pattern Power Down MAC Command Group irq intr Dump Interrupt Info page 30 Broadcom Confidential and Proprietary intrctrl intt Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Mask Unmask Current Interrupt Interrupt Tracer Command Group mac mbuf loaddrv unloaddrv machalt ftq addmc delmc txmacdes txmacsrc chklddrv vlantag Dump Content of MBUFs Load Driver Unload Driver Halt MAC Controller Dump FTQ Add Multicast MAC Delete Multicast MAC Program Destination address to UUT Program Source address to UUT Check to see if driver is loaded Display Clear vlanTag information Command Group misc reg exit debug gpiowrite gpioread pxecpy device version help 9 radix nolog log pciinit pciscan dos diagcfg reset q
16. 0 oooo Ins Del toggles refresh ESC to exit page 70 Broadcom Confidential and Proprietary oooo o ooooooooo0o0o o oo0oo0oo0o000 000000000000 oooo Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Description Dump Ring Index Load Mac driver before running Syntax ringindex t r Options n lt DEC gt Number of Rx Ring to dump Default 1 def 1 T Dump Rx Ring Index t Dump Tx Ring Index Example 1 Load MAC dirver and display TX and RX Ring Index 0 gt loaddrv Bus Number os E Device Funtion 11 0 Base Address Ox b010000 IRQ 9 Bringing up MAC driver OK PHY calculated ID 60008162 BCM5702 03 Internal Phy Rev 2 Configuring BCM54xx Done Determining Link Speed 1000Base T Full Duplex 0 gt ringindex rt Mailbox RBDI RBDC HC StsBlk Driver RxStdPidx 100 100 100 100 RxStdCidx 000 000 000 Ret RPidx 00 000 RetRCidx 00 000 A e 000 Mailbox SBDI SBDSEL HC StsBlk Driver SendHostPidx 00 000 000 000 SendHostCidx 00 000 000 000 000 SendHostPidx 01 000 000 ES 000 SendHostCidx 01 Sr 000 000 000 000 SendHostPidx 02 000 000 gt 000 SendHostCidx 02 aor 000 000 000 000 SendHostPidx 03 000 000 raves 000 SendHostCidx 03 000 000 000 000 9 70 phyctrl emd phyctrl Description Configure Phy Speed Syntax phyctrl Options page 71 Broadcom Confidential and Proprietary Bro
17. 0 1 0 8086 7191 06 04 00 00000000 00000000 0 0 7 0 8086 7110 06 01 00 00000000 00000000 0 0 7 1 8086 7111 01 01 80 00000000 00000000 0 0 7 2 8086 7112 0C 03 00 00000000 00000000 9 0 7 3 8086 7113 06 80 00 00000000 00000000 0 0 14 0 12AE 0003 02 00 00 00000000 F4000004 10 E 0 0 1002 4742 03 00 00 00009001 F5000000 11 dos cmd dos Description Execute DOS command If no parameter is entered DOS shell is entered This command is not supported by EFI Syntax dos lt dos command gt diagcfg cmd diagcfg page 106 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Description Configure diagnostics parameter for Memory tests and Manufacturing test NIC test Syntax diagcfg Example O misc gt diagcfg Diagnostics Configuration Menu Memory Test Configuration Menu Test Configuration Menu Driver Configuration Menu Abort On Failure is enabled Save Configuration 0 BawNA Enter your choice or ESC to exit gt 1 Memory Test Configuration Menu 1 SRAM BD1 Start 0x00000000 0x00000 ff 00000000 2 SRAM BD1 End 0x00000000 0x00000fff 00000fff 3 SRAM BD2 Start 0x00004000 0x00007fff 00004000 4 SRAM BD2 End 0x00004000 0x00007 ff 00007 ff 5 SRAM DMA Start 0x00002000 0x00003fff 00002000 6 SRAM DMA End 0x00002000 0x00003fff 00003fff 7 SRAM MBUF Start 0x00008000 0x00015fff 00008000 8 SRAM MBUF End 0x00008000 0x00015f ff 00000000 9 SR
18. AE E es 9 178 SWITCH A NO 9 179 DO nia o a da id 9 180 DA SS 9 181 WBUE aia rad 9 182 RUE o ad 9 183 PBB iss andas 9 184 EMO A A A A 9 185 PAUSE id e ios 9 186 A e a a Haat EP o ets 9 187 VERBOSE 3 scois ss idecanss sve oscs bupea ves seged ses idee seh oust vcs Sap id tai 9 188 BEEP A O TS 9 189 WAR sidad add 9 190 A A 9 191 DELVAR rd 9 192 REGDUMP scsi contain EAE ERER e a eds spuds ii idad 9 193 REGCOMP 33 le daa bs TAE 9 194 REGRESTORE o 9 195 NVSIZE aii aa 9 196 APM iia id ta 9 197 DIDS ys ierre t i ei A EER EEREN O 9 198 SERTA D iii RE E E codes a E E E A 9 199 POWER R AE A E E E E E 9 200 READBR coito da AE EAS 9 201 WRITEBR E dotando asalta coasts odas A a aid a da dada 9 202 FINDBRIDCE r 9 203 BRIDGE 8 55 33 iin a REAR ARE AREENA EAEE AEA dla ainia de 9 204 PERE AE E N E E A 9 205 PRD a anno 9 206 PEC Ri A A A A ia 9 207 PECHK sidad dd 9 208 ISCSIPR O ni sa idodanch ove os uvs PPP O 9 209 WIM PCEG oss E Saas cost esas ad so sa ey nseG oe Sa sos sas E EE es 9 210 SETUMP cd eveccctcote cece O serios 10 ERROR MESSAGES wi sisscccssesesvessctsesicesnsvsssncesuesineesdessssaandssnceseesossesssssececsesdeneseessssesassecessdecessestes page vii Broadcom Confidential and Proprietary BCM570x Diagnostic User s Guide page viii 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 m
19. Allocate 4k aligned buffers a lt HEX gt NIC address to DMA data from def 00000000 b byte swap c Continousely dma data d lt HEX gt delay poll dma done polling def 00000000 f lt string gt filename h Use high priority DMA Write 1I lt HEX gt Length of DATA in bytes to DMA def 00000100 n lt DEC gt iteration o lt HEX gt Buffer offset def 00000000 p lt HEX gt Pattern of Data 0 byte increment 1 byte decrement 2 FF s 3 00 s 4 AA 55 5 55 AA page 63 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide q lt HEX gt v lt DEC gt W x lt HEX gt K lt HEX gt Example 6 FFFFFFFF 000000000 FFFFFFFF 00000000 7 FFFFFFFFFFFFFFFF 0000000000000000 FFFFFFFFFFFFFFFF 8 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 0000000000000 9 00000000000000000000000000000000 FFFFFFFFFFFFF a Word Increment b Dword Increment c Word Decrement d Dword Decrement e ffffffff00000000 00000000ffffffbf f 00000000ffffffff fFFFFFbfOOOO0000 10 64 bit pattern 0000000000000000 64 bit pattern 11 64 bit pattern ffffffffffffffff 64 bit pattern def 00000000 low 32 bit of 64 bit pattern def FFFFFFFF Verbose 1 2 def 2 word swap high 32 bit of 64 bit pattern def FFFFFFFE DMA write to abosolute address and hang the system def 00000000 1 Setup DMA NIC Memory to HOST memory Using low priority DMA Read and disable byte swap and en
20. Command Ibertram Description Load data to PHY BIST RAM Syntax Ibertram filename Options c lt DEC gt channel number def 0 e enable BIST f lt string gt File name containing BIST data page 79 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 9 88 dbertram Command dbertram Description Dump PHY BIST RAM Syntax dbertram Options b lt HEX gt Begin of BIST RAM def 00000000 c lt DEC gt channel number def 0 e lt HEX gt End of BIST RAM def 000000FE T Dump Rx BIST RAM t Dump Tx BIST RAM 9 89 bertstats Command bertstats Description Dump PHY BIST statistics Syntax bertstats 9 90 rm Command rm Description Read MII Registers Syntax rm 9 91 mrloop Command mrloop Description loop on MII read This is special test routine for MII read It loops on MII register read util user abort or if value is zero Syntax mrloop lt addr gt 9 92 phymse Command phymse Description PHY mean square error page 80 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Syntax phymse Options p Polling continuously at 100ms interval 9 93 initphy Command initphy Description Initialize phy Syntax initphy 9 94 memsearch Command memsearch Description Search a Data Pattern in Memory The default begin address 0 and len 0x20000 The data pattern must be specified Syntax memsear
21. Description Configure ASF in NVRAM Syntax flshmode auto passthru legacy new 9 15 flshread cmd flshread Description Same as seread Syntax flshread start end len 9 16 chkpxe emd chkpxe Description Check PXE code image Syntax chkpxe lt filename gt 9 17 dir emd dir Description display file directory in NVRAM Syntax dir 9 18 erase cmd erase page 50 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Description erase file from directory in NVRAM Syntax erase lt entry gt all Options y do not ask for conformation 9 19 pxeprg cmd pxeprg Description Program PXE firmware into NVRAM This command reads PXE code from a file and program into NVRAM Syntax pxeprg lt filename gt 9 20 flshdev cmd flshdev Description Select flash device to access Syntax flshdev seeprom atmelflash sstflash 9 21 bitbang cmd bitbang Description Generate bitbang pattern to seeprom bus Enter hex numbers to be written to seeprom bus For serial eeprom use s for start p for stop condition x with 1 9 specifies how many residual bits to send For flash use s for chipSelect p for cancel chipSelect r with a number specifies how many bytes to read Syntax bitbang lt data gt 9 22 seclock cmd seclock Description set NVRAM config content value after reset Syntax seclock lt 32bitNewValue gt 9 23 setorture cmd setorture Description NVRAM
22. Disable X PXE SP 0 Auto 1 10HD 2 10FD 3 100HD 4 100FD 6 1000FD TBD W Magic Packet WOL 1 Enable 2 Disable page 55 Broadcom Confidential and Proprietary 9 38 secfg2 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide cmd secfg2 Description Configure NVRAM Group 2 Syntax secfg2 Options P N 9 39 secfg3 cmd secfg3 Product Name Part Number Engineering Change Serial Number Manufacturing ID Asset Tag Part Rev Voltage Force PCI Mode 1 Enable 2 Disable Description Configure NVRAM Group 3 Syntax secfg3 Options l T Led Mode 0 Mac 1 Phy1 2 Phy2 3 S Traffic 4 Shasta Mac 5 Wireless Combo Max PCI Retry 0 7 8 Auto ASF 1 Enable 2 Disable Dual Mac 0 Norm 1 MacB 2 MacA 3 XBAR 4 Swap 7 SwapXBAE MBA Boot Protocol 0 PXE 1 RPL 2 BOOTP MBA Bootstrap Type 0 Auto 1 BBS 2 Int18 3 Int19 page 56 Broadcom Confidential and Proprietary t e N M 9 40 secfg4 cmd secfg4 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide MBA Delay Time 0 15 Exp ROM 0 64K 1 128K 2 256K 3 512K 4 1M 5 2M 6 4M 7 8M 8 16M Design Type 0 NIC 1 LOM MBA Boot Protocol 0 PXE 1 RPL 2 BOOTP 3 ISCSI Description Configure NVRAM Group 4 Syntax secfg4 Options V W N C P d h k i 9 41 secfg5 cmd secfg5 Read VPD Vendor Data VO Read Write VPD Vendor Data V1 Reversed Nway 0 No 1 Yes Limit WOL Speed to 10 0 No 1 Yes F
23. MESSAGES NO_ERROR Qe eer ERR_IND_REG_ERR 1 Got 0x 08X 0x 08X Expected 0x 08X ERR_CHIP_RUNNING 2 Cannot perform task while chip is running ERR_BAD_NIC 3 Invalid NIC device ERR_READ_ONLY_CLEAR 4 Read only bit s got changed after writing zero at offset Ox X ERR_READ_ONLY_SET 5 Read only bit s got changed after writing one at offset Ox X ERR_READ_WRITE_NOT_CLEAR 6 Read Write bit s did not get cleared after writing zero at offset 0x X ERR_READ_WRITE_NOT_SET 7 Read Write bit s did not get set after writing one at offset Ox X ERR_BIST 8 BIST failed ERR_INTERRUPT 9 Could not generate interrupt CMD_ABORT 0 Aborted by user ERR_DMA_TXDATA 1 Tx DMA Got 0x 08X 0x 08X Expected 0x 08X ERR_DMA_RXDATA 2 Rx DMA Got 0x 08X 0x 08X Expected 0x 08X ERR_TXDMA 3 Tx DMA failed ERR_RXDMA 4 Rx DMA failed ERR_MEM 5 Data error got 0x 08X at 0x 08X expected 0x 08X ERR_MEM2 6 Second read error got 0x 08X at 0x 08X expected 0x 08X ERR_EEP_WRITE 7 Failed writing NVRAM at 0x 04X ERR_EEP_READ 8 Failed reading NVRAM at 0x 04X ERR_EEP_DATA 9 NVRAM data error got 0x 08X at 0x 04X expected 0x 08X ERR_FILE_OPEN 20 Cannot open file s ERR_BAD_CPU_CFG 21 Invalid CPU image file s ERR_IMAGE_SIZE 22 Invalid CPU image siz
24. Options n lt DEC gt _ iteration cpugprtest cmd cpugprtest Description Run CPU GPR test Syntax cpugprtest Options T run rx_cpu only page 96 Broadcom Confidential and Proprietary 9 130 9 131 9 132 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide t run tx cpu only u run Address Up dmashasta cmd dmashasta Description DMA Test Syntax dmashasta Options T Disable the read DMA test W Disable the write DMA test e Disable the chip reset execution before each DMA test lt HEX gt Number of BD sot DMA on read 0x1 0x79 def 0xA binchksum cmd binchksum Description Verify the checksum of each piece of firmware in the input file that contains a complete NVRAM image Syntax binchksum f lt filename gt pmdcfg cmd pmdcfg Description Display Power Management Info Syntax pmdcfg Options a lt HEX gt 0 to add a pattern otherwise delete def 00000000 I lt HEX gt length def 00000000 p lt HEX gt pattern O Increment 1 Increment def 00000000 page 97 Broadcom Confidential and Proprietary 9 133 9 134 9 135 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide pmpd emd pmpd Description Power Down MAC Input file wol txt should be found in the same location of b57diag exe The input file contains patterns If the file name is not specified data zero will be used Syntax pmpd filename Options a lt HEX gt 1 enables ACPI Packet M
25. PHY ID Reference Description Only for display purposes not used in software PHY 2 PHYS 23 Max PCI Retry Configure Description The maximum number of time to retry an aborted PCI operation This option is only named MAC_A an 0 7 The number of MAX PCI retries is force by the users configuration 8 auto The MAX PCI retry field is selected dynamically by firmware based on PCI bus type detected 24 Advanced firmware feature ASF IPMI UMP Configure Description Advanced firmware feature such as Alert Standard Format ASF or IPMI is enabled by this option Enable 1 If the ASF IPMI UMP code is loaded in NVRAM it is loaded and executed by the device Disable 2 No ASF IPMI UMP functionality is provided when disable 25 Dual MAC mode Configure Description valid for a dual port device such as a 5704 The physical ports will be MAC_B for the discussion below Normal 0 MAC_A and MAC_B are available and are supported as PCI function O amp 1 MAC_B only 1 MAC _B is available and is supported as PCI function 0 MAC_A is disable page 41 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide MAC_A only 2 MAC_A is available and is supported as PCI function 0 MAC_B is disable XBAR mode 3 MAC_A and MAC_B are available and are supported as PCI function 0 MAC_A is the prima
26. This information can be used to verify the setup of a chip after a firmware upgrade page 117 Broadcom Confidential and Proprietary 9 198 9 199 9 200 9 201 9 202 9 203 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Syntax dids serial cmd serial Description Compares the serial number to defaults or the provided values This PCI capability testing is only applicable to Shasta C stepping i e BCM5752Cx family Syntax serial lt dwordLo gt lt dwordHi gt power cmd power Description Verify the power function of PCI capability This PCI capability testing is only applicable to Shasta C stepping 1 e BCM5752Cx family Syntax power readbr emd readbr Description Read bridge s configuration space Syntax readbr writebr emd writebr Description Write bridge s configuration space Syntax writebr findbridge emd findbridge Description Find all bridges in the system Syntax findbridge bridge emd bridge Description Switch to specified bridge page 118 Broadcom Confidential and Proprietary 9 204 9 205 9 206 9 207 9 208 9 209 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Syntax bridge pere cmd pere Description Enable parity error response on a bridge Defaults to current bridge Syntax pere lt bridge gt perd cmd perd Description Disable parity error response on a bridge Defaults to current bridge Syntax perd lt bri
27. a Enabled WMPD eos tion a cala tr a Enabled ASF Miscellaneous Enabled Expansion ROM Enabled MAC Loopback Enabled PHY Loopback Enabled External Loopback Disabled MII Miscellaneous Enabled MS Li it is ar a Enabled Enter test number to toggle or ESC to exit gt Diagnostics Configuration Menu O0 5wNA Memory Test Configuration Menu Test Configuration Menu Driver Configuration Menu Abort On Failure is enabled Save Configuration Enter your choice or ESC to exit gt 3 00 JOAO UA WN A Driver Configuration Menu Rx Coalescing Ticks 1000 Rx Coalescing Ticks During Intr 0 Rx Coalescing Frames pa i Rx Coalescing Frames During Intr 0 Tx Coalescing Ticks 1000 Tx Coalescing Ticks During Intr 0 Tx Coalescing Frames 1 Tx Coalescing Frames During Intr 0 Statistics Coalescing Ticks 1000000 Tx Packet Descriptor Count 50 Rx Standard Packet Count 100 Rx Jumbo Packet Count 50 Enable Mini Ring Yes 1 No 0 oy oh Mini Ring Packet Size 64 512 64 External Memory Exists Yes 1 No 0 0 MBUF Base 0x008000 MBUF Length 0x018000 Tx Flow Control Enable 1 Disable 2 Disable Rx Flow Control Enable 1 Disable 2 Disable Auto Link Speed Enable 1 Disable 2 Enable Send Ring Size 32 64 128 256 512 512 Rx Ring Size 32 64 128 256 512 512 Exit to previou
28. 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 page 6 Broadcom Confidential and Proprietary 3 3 13 3 3 14 3 3 15 3 3 16 3 3 17 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 32 FF s 32 00 s Full the entire host DMA buffer with 32 bytes of FF s and then 32 bytes of 00 s 00000000 s Full the entire host DMA buffer with all zeros FFFFFFFF s Full the entire host DMA buffer with all FF s AA5SSAASS s Full the entire host DMA buffer with data OxAA55AASS5 SSAASSAA s Full the entire host DMA buffer with data OxAA55AASS Default Enabled B6 External SRAM Test Command memtest e Function It tests DMA SRAM by performing the tests described in test B1 The Scratch Pad Test Default Disabled 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 C1 EEPROM Test Command setest Function An increment test data is used in EEPROM test It fills the test data in
29. board d RR_MISMATCHED_DEVICEID_2 h with unknown board RR_CPU_FETCH R R R R R_REG_TABLE R_FW_IMAGE_SIZE R_NVRAM_DIR 02 03 04 04 05 06 OF 08 09 0 1 E 2 Ef 3 el ASES 5 6 1 EJ 8 9 20 21 22 23 8 24 25 26 27 28 E 29 30 31 32 33 7 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 SE Y 525 53 k El El zI e El ES Ef Dev d Expected GPIO 0 1 2 d d d but read as Bist test did not complete internally Bist data miscompared at bit d out d exp d No Response from firmware Ss CPU returned result d key d Byte access error expected 02x at 08x but got 02x Wrd acc err exp 04x at 08x but got 04x need No link down found bootcode Image file belongs to d family does not nvalid data size Runs out of Mac Address llegal Mac Address nvalid bist data from buffer at d nvalid bond id CPU reset failed register 5034 is 0x x ncorrect version Mismatched CFG and FW Image version Current ASF_T_VERSION is not backward compatible G Tx Rx Lines Have A Short Open Driver d d d or later is required to run this TxDMA Overflow RxDMA Overflow Driver returned error status d nvalid Handle Socket open error sd
30. chips that support the Serial Number capability This command is supported on 5751Cx 5755 5787 Default Enabled A7 Power Register Test Command power Function Tests the PCI E Power capabilities registers on chips that support the Power capability This command is supported on 5751Cx 5755 5787 Default Enabled 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 Oxffffffff Oxaa55aa55 and Ox55aa55aa 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 Oxffffffff Oxaa55aa55 and Ox55aa55aa 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 Pseud
31. cmd outp page 111 Broadcom Confidential and Proprietary 9 178 9 179 9 180 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Description input port not supported for EFI Syntax outp lt addr gt lt value gt Options l long word size W word size switch cmd switch Description Alternate device command If no parameter is entered it will display all device available Syntax switch lt dev gt Options n lt HEX gt Device Number def 00000000 T Remove all current devices and re scan available devices S Silent mode do not display devices do cmd do Description Excute commands from a file Syntax do lt filename gt with lt parameter1 gt Options C continue on error e echo command p lt DEC gt pause between each command If a value is entered it delays for of ms def 0 txfill cmd txfill Description Fill tx buffer with pattern and packet length 14 9018 page 112 Broadcom Confidential and Proprietary 9 181 9 182 9 183 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Syntax txfill f lt file gt x lt load length gt p lt pattern gt l lt packet length gt Options f lt string gt 1 lt DEC gt p lt DEC gt x lt DEC gt Pattern Use buffer as is Increment data Random all 0 all FF AA55 55AA IP_Iden Inc Load from file 9 8 bytes of O and f CAIADKNARWNEO filename packet len
32. ff ff 00000000 00000002 259 ffffffff ff ff 80000000 00000000 If you run bustest command without any parameters it will perform DMA testing on all 260 patterns with 10 iterations per pattern and different data length in each iteration First eight bytes of data are used to store the following info for debug byte 0 4 length byte 5 6 iteration byte 6 7 test case 9 119 sramtest cmd sramtest Description SRAM Test Syntax sramtest lt begin gt lt len gt lt end gt 9 120 msitest cmd msitest Description MSI Test Syntax msitest page 93 Broadcom Confidential and Proprietary 9 121 9 122 9 123 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Options c lt HEX gt message count 2 to powered of c def 00000003 I initializing MSI block n lt DEC gt iteration romtest cmd romtest Description ROM Test Syntax romtest Options n lt DEC gt iteration gpiotest cmd gpiotest Description do GPIO test Syntax gpiotest Options n lt DEC gt iteration cpudiag cmd cpudiag Description run diagnostic from internal CPU Syntax cpudiag Options b Test BD SRAM 0x0000 0x0fff and 0x4000 0x7fff d Test DMA SRAM 0x2000 0x3fff m Test MBUF SRAM 0x8000 0x00000005 n lt DEC gt Iteration page 94 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 9 124 pcicfgtest cmd pcicfgtest Register Test Test w
33. gt passed Checking EEPROM content passed d no m and f options Program will check the validity of EEPROM If it is not valid it will act as a f m option If it is good it proceeds to normal diagnostics Checking EEPROM content passed or page 21 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Checking EEPROM content invalid Loading EEPROM content from eeprom bin passed Programming EEPROM from eeprom bin passed Checking EEPROM content passed pasf lt file gt Program ASF firmware This option needs to follow the e and c options User has an option to program the ASF firmware from a single bin file that combined all 3 pieces of ASF bin files or from a specified text file that contain the file names of all 3 pieces of ASF bin files The program will detect input file type If it is a single bin file software will start programming If the input file is a text file that contains the file name of the 3 pieces of ASF bin files the program will retrieve the ASF firmware filenames from the specified text file then it will start programming A sample asf txt is provided and it has the following format asf_eep_init asfeinit bin asf_eep_cpua asfecpua bin asf_eep_cpub asfecpub bin ppxe lt file gt Program PXE firmware This option needs to follow the e and c options If th
34. gt lt dev gt lt func gt SIX lt begin gt end len data vpdtest emd vpdtest Description Run VPD Memory Test Write designed pattern toVPD storage Then read back and compare with designed pattern Syntax vpdtest Options d Force destructive test n lt DEC gt iteration p lt DEC gt Pattern to test def 0 0 Increment 1 Decrement 1 O s 2 FF s 3 AA55 4 55AA r Random address test W Force write test enable page 86 Broadcom Confidential and Proprietary 9 104 9 105 9 106 9 107 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide regtest cmd regtest Description MAC registers read write test Driver must be unloaded Syntax regtest lt iteration gt Options i Also run indirect memory test n lt DEC gt iteration The default iteration is 1 0 means run forever r lt DEC gt repeat count for each register test def 1 I Do not perform reset before test miitest cmd miitest Description Run MII Memory Test PHY registers read write test Syntax miitest itereation Options n lt DEC gt _ iteration The default iteration is 1 0 means run forever msi cmd msi Description Run MSI Test Manually Syntax msi Options c lt HEX gt message count 2 to powered of c def 00000003 d option removed kept for bemediag compatibility I initializing MSI block o lt DEC gt offset def 0 memtest cmd memtest page 87 Broadcom Confidential and Pr
35. gt Turn on off autolink capability def 0 q lt DEC gt Configure Rx ring size def 0 r lt DEC gt Turn on off rxflow capability def 0 t lt DEC gt Turn on off txflow capability def 0 x lt DEC gt Configure Tx ring size def 0 page 76 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 9 79 irt cmd irt Description Test an individual register Test an individual register with a specified number of reads writes Syntax irt Options n lt DEC gt r lt string gt 9 80 macmrd cmd macmrd Number of read write accesses def 1 Register offset Description Test an individual register Test an individual register with a specified number of reads writes Syntax macmrd Options d lt DEC gt n lt DEC gt r lt string gt 9 81 miimrd cmd miimrd Delay in uS def 0 Number of read write accesses def 1 Register offset Description Test an individual register Test an individual register with a specified number of reads writes Syntax miimrd Options d lt DEC gt n lt DEC gt r lt string gt Delay in uS def 0 Number of read write accesses def 1 Register offset page 77 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 9 82 pcimrd cmd pcimrd Description Test an individual register Test an individual register with a specified number of reads writes Syntax pcim
36. lt m200 gt controls the number of 200 packets to send This option is used for the D4 1G False Carrier loopback test During the test packets are sent out in groups of 200 The user specified lt m200 gt value determines the number of 200 packet groups to send out The default value is lt m200 gt 50 or 50 groups of 200 packets disppkts display the packet count during the progress of the test This option is used for the D4 1G False Carrier loopback test On long term test this option is entered to display the packet count every 20 000 packets to let a user know the test is operating normally and not frozen dispgbend display the packet count at the end of the test page 14 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide This option is used for the D4 1G False Carrier loopback test This option is entered to print out the final packet count at the end of the test errlimit lt lim gt controls the number of errors seen before the test fails This option is used for the D4 1G False Carrier loopback test The default value is lt lim gt 3 pktf0 packet data pattern is alternating 64 1 s and 0 s This option is used for the D4 1G False Carrier loopback test The default packet data is an incrementing value per byte With this option the packet data alternate between 64 1 s and 0 s that are aligned on a 64 bit PCI bus for maximum tr
37. reset torture test page 51 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Syntax setorture Options C Continue on Error i lt DEC gt Initial Delay in ms def 0 m lt DEC gt Maximum Delay in ms def 3000 n lt DEC gt iteration def 1 p Power reset T Random delay s lt DEC gt Delay incremental time us def 1 9 24 seinit cmd seinit Description Initialize NVRAM block Syntax seinit Options i lt DEC gt do not restore NVRAM clock default value def 0 9 25 searb cmd searb Description set report current NVRAM arbitration bit Valid arbitraion number is 0 3 Syntax searb n 9 26 seprotect cmd seprotect Description set gpio pin for NVRAM write protect Use none to disable write protect feature Syntax seprotect 011 2Inone page 52 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 9 27 selclock cmd selclock Description set Legacy EEPROM clock value bit 16 24 of EEPROM addr reg Syntax selclock lt 8bitNewValue gt 9 28 semap cmd semap Description Display NVRAM usage Syntax semap 9 29 setwol cmd setwol Description Enable Disable WOL Syntax setwol e d Options d Disable WOL Enable WOL 9 30 setpxe cmd setpxe Description Enable Disable PXE Syntax setpxe Options d Disable PXE e Enable PXE s lt DEC gt Specify PXE Speed def 0 0 auto 1 10HD
38. s ioctl SIOCGIFINDEX failed bind failed s setsockopt failed d Ss fentl failed d s send failed cnt d Sd s recvfrom failed cnt d d s Error False Carrier Detected During The Test Invalid Options Found Rv s Expected Rv s due to ckdev value Invalid IRQ d Timeout Packet data error at offset d expected 02X but Zero Mac Address in Mac Register Mac Address MisMatch Got 02X 02X 02X 02X 02X cx CPU failed on s bit access to address 08X Scx CPU failed on memory pattern 08X at address 08X S cx CPU Instruction test failed PCI E Bus Link Error ASF File versions Error ASF VS Device Error bootcode Image file belongs to unknown family does bootcode Image file belongs to d family does not CPU Fetch Test Error Breakpoint reads x UMP loopback failed Total Good packet Sd Error UMPCtrl Ox5FO x Error Unable to create Reg Table Error Firmware image size d larger than NVRAM rror s firmware canno e found in s E Ss f t be f d SS rror s firmware canno e found in s E Ss f t be f d cee Error NVRAM Directory Error s firmware cannot be found in s page 123 Broadcom Confidential and Proprietary 08 lin o o kK Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide R_CPU_MEM2 r R_SERIAL1
39. value 1 0 IPMI in manufacture mode enable com port value 1 4 On Error gt a abort w wait l loop c cont s skip Enter external memory size in HEX to test Detect reference device Option to set mac loopback packets page 23 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Ibp lt n gt Option to set phy loopback packets lbe lt n n n gt Option to set external loopback packets Format lt 1000Mbps 100Mbps 10Mbps gt npol Select Negative Link Polarity in TBI test ref Run test with reference device fail2 On failure offset the failed message printout ctpm Clears TPM data stored in NVRAM page 24 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 5 EEPROM TXT format A set of commands is defined to allow user to change EEPROM BIN content To update EEPROM BIN user must enter e lt code gt geneep options at the command prompt A password must be entered to run this option The 5704 Dual MAC device use one single eeprom bin to on both MAC channel configuration Most of the configurations are shared expect the following commands PXE PXE_SPEED WOL ASF The WOL and ASF setting cannot be enabled on both channel at the same time For example if the primary WOL is already enabled and the user try to enable secondary device s WOL the primary s WOL setting will be disabled with the follo
40. 0 PHY Type Copper 1 Fiber 2 Copper 21 Led Mode Mac Mode 0 Phy Model 1 Phy Mode2 2 Shasta Mac Mode 3 SharedTraffic 4 Wireless Combo 5 Phy Model 22 PHY ID PHY 2 PHY 3 00206160 23 Max PCI Retry 0 7 8 auto 8 24 Advanced firmware feature ASF IPMI UMP Enable 1 Disable 2 Disable page 37 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 25 Dual MAC mode Normal 0 MAC_B only 1 IAC_A only 2 XBAR 3 swap 4 swapXBAR 7 0 26 MBA Boot Protocol PXE 0 RPL 1 BOOTP 2 iSCSI 3 0 27 MBA Bootstrap Type Auto 0 BBS 1 Int18 2 Int19 3 0 28 MBA Delay Time 0 15 0 29 Expansion ROM size does not apply to PXE in system ROM 64k 0 128k 1 256k 2 512k 3 1M 4 2M 5 4M 6 8M 7 16M 8 O 30 Design Type NIC 0 LOM 1 NIC 31 Read only VPD Vendor Specific Data VO 32 Read Write VPD Vendor Specific Data V1 33 Reversed Nway No 0 Yes 1 No 34 Limit WoL Speed to 10 No 0 Yes 1 No 35 Fiber WoL Capable No 0 Yes 1 No 36 Clock Run Setting Disable 0 Enable 1 Disable 37 Enable PHY Auto Powerdown No 0 Yes 1 No 38 Disable PowerSaving capability No 0 Yes 1 o 39 Hide MBA Setup Prompt Disable 0 Enable 1 Disabled 40 MBA Setup Hot Key Ctrl1 S 0 Ctr
41. 08 OXffff 0x0000 0x09 0x0000 Oxff00 Ox0a 0x7c00 0x0000 0x10 0x0000 Oxffbf 0x11 0x3300 0x0000 0x19 0x001 0x0000 Oxle 0x0000 OXff f Oxlf 0x0000 Oxffff 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 Oxff Oxaa 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 page 8 Broadcom Confidential and Proprietary 3 3 20 3 3 21 3 3 22 3 3 23 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Default Enabled C6 ASF Test Command asftest Function m 1 Reset test Setting reset bit poll for self clearing Verify reset value of registers 2 Event Mapping Test Setting SMB_ATTN bit By changing ASF_ATTN LOC bits verify the mapping bits in TX_CPU or RX_CPU event bits 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 C7 ROM Expansion Test Command romtest Fu
42. 1200 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 Default Disabled D5 MII Miscellaneous Test Command None Function This function tests the auto polling and phy interrupt capabilities These are the functionalities of the phy Default Enabled D6 MSI Test Command msitest page 10 Broadcom Confidential and Proprietary 3 3 29 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Function Testing Message Signaled Interrupt Function to see if it handles this interrupt correctly Default Enabled E1 1G Wire Open Short ZERO LEN LB RJ45 Test Command nictest el 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 page 11 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 con
43. 2 10FD 3 100HD 4 100FD 9 31 setasf cmd setasf page 53 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Description Enable Disable ASF Syntax setasf Options d Disable ASF e Enable ASF 9 32 secomp cmd secomp Description compare eeprom content against the file Syntax secomp Options C continue on error f lt string gt filename I lt HEX gt length def 00000000 o lt HEX gt offset def 00000000 9 33 dreset cmd dreset Description double reset test for EEPROM debug Syntax dreset 9 34 userblock cmd userblock Description create a userblock in NVRAM Syntax userblock 9 35 setmba cmd setmba Description Enable Multiple Boot Agent page 54 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Syntax setmba Options d Disable MBA e lt DEC gt Enable MBA Protocol def 0 0 PXE 1 RPL 2 BOOTP s lt DEC gt Specify MBA Speed def 0 0 auto 1 10HD 2 10FD 3 100HD 4 100FD 9 36 segencrc cmd segencre Description Append a CRC to the specified block Syntax segencrc lt start end gt lt start length gt 9 37 secfg1 cmd secfgl Description Configure NVRAM Group 1 Syntax secfgl Options m Mac address xx XX XX XX XX XX T Power Dissipated D3 D2 D1 D0 C Power Consumed D3 D2 D1 D0 V Vendor ID d Vendor Device ID S SubSystem Vendor ID i SubSystem Device ID p PXE 1 Enable 2
44. 28 255 etherStatsPkts512 1023 etherStatsPkts1523 2047 etherStatsPkts4096 8191 ifHCOutOctets outXonSent flowControlDone d3StatsSingleColFrames dt3StatsDeferredTx d3StatsLateCol d3Collided3Times d3Collided5Times d3Collided7Times d3Collided9Times d3Collided11Times d3Collided13Times d3Collided15Times d3StatsCarSenseErrors COSIfHCInPkts 00 COSIfHCInPkts 02 COSIfHCInPkts 04 COSIfHCInPkts 06 COSIfHCInPkts 08 COSIfHCInPkts 10 COSIfHCInPkts 12 COSIfHCInPkts 14 COSFrmsDxDueToFilters nicDmaWrHiPQFull ifInDiscards nicRecvThresholdHit COSIfHCOutPkts 00 COSIfHCOutPkts 02 COSIfHCOutPkts 04 COSIfHCOutPkts 06 COSIfHCOutPkts 08 COSIfHCOutPkts 10 COSIfHCOutPkts 12 COSIfHCOutPkts 14 nicDmaRdHPQueueFull nicRingSetSdPIdx nicInterrupts nicSendThresholdHit Phy CRC counter oo0oo0oo0o0000 0000 00000000000000 00000000000 0 etherStatsFragments ifHCInMulticastPkts d3StatsFCSErrors xonPauseFramesReceived dot3StatsFramesTooLong etherStatsUndersizePkts outRangeLengthError etherStatsPkts65 127 etherStatsPkts256 511 etherStatsPkts1024 1522 etherStatsPkts2048 4095 etherStatsPkts8192 9022 etherStatsCollisions outXoffSent d3StatsIntlMacTxErrors d3StatsMultipleColFrames d3StatsExcessiveCol d3Collided2Times d3Collided4Times d3Collided6Times d3Collided8Times d3Collidedl10Times d3Collidedl12Times d3Collidedl4Times ifHCOutUcastPkts ifOutDiscards COSIfHCInPkts 01 COSIfHCInPkts 03 COSIfHCInPkts 05 COSIfHCI
45. 9 188 9 189 9 190 9 191 9 192 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide d toggles DEBUG p toggles PRINTER W toggles WARNING T toggles Interrupt Verbose beep cmd beep Description Create a beep sound The default to beep once If parameter n is entered it beeps n times Syntax beep lt n gt on off var cmd var Description Display current variables Syntax var meminfo cmd meminfo Description report the memory infomation Syntax meminfo delvar cmd delvar Description Delete local variables Syntax delvar regdump cmd regdump Description Dump register content to a file Syntax regdump page 115 Broadcom Confidential and Proprietary 9 193 9 194 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Options C f lt string gt m r lt DEC gt regcomp cmd regcomp PCI Config Reg filename MII Registers Mac Registers def 1 Description Compare register content to a file his command may be used together with regdump to find out any register got changed Syntax regcomp lt filename gt Options C f lt string gt m r lt DEC gt regrestore cmd regrestore PCI Config Reg filename MII Registers Mac Registers def 1 Description Restore register content from a file This command may be used together with regdump to restore register got changed Syntax regrestore lt filename gt Options C f lt s
46. A AE E E EE AA EEE AEE AE EAA E EE E NO 0307 SECEGZL nt A e ES 39 SEE EOS ao A e ad E e es AS NS 9 41 EC A ed don dorado 9427 r SERPME UR teats 9 43 TOADE csi iaa AAS A A O O QAD C 8 D e Detection dada E AEO atte A OAE OO E OEE E EOE OA Le R A O OE 9 48 EOADBOOTCODE pin iii ad 9 40 o DISAS Mi a ll casio ODO ASTER O AR A O OS NS 9 327 SHOW GPR tano ad oa A At OR aia A okies bepdawsngeied veeibota edocs Wen Ba laneeodeaveestlnanlelees a A E page iv Broadcom Confidential and Proprietary 9 54 9 55 9 56 9 57 9 58 9 59 9 60 9 61 9 62 9 63 9 64 9 65 9 66 9 67 9 68 9 69 9 70 9 71 9 72 9 73 9 74 9 75 9 76 9 77 9 78 9 79 9 80 9 81 9 82 9 83 9 84 9 85 9 86 9 87 9 88 9 89 9 90 9 91 9 92 9 93 9 94 9 95 9 96 9 97 9 98 9 99 9 100 9 101 9 102 9 103 9 104 9 105 9 106 9 107 9 108 BCM570x Diagnostic User s Guide CRUINEO ss deve cdie E E EEE AS title E E EPUGPRSTATUS ree a e EE E E e A ENE delirar EPUGPRRESTAR Ti EE O pede SSS ELEN ARE a E a N MIIMRD E E E E E E E TE PEIMRD AEAEE E S E isp de ca A E E E E A E A A O A A E O TA NPDTES To ccc isccsnes tactvecastensves derrita E E Soensecsdvectwestecestessseosvastseces REG TES AA EEEE a o ao oso MITES Droese a A e sels ie E E ones MEMTES Tostado Ed a IT tea E ita teense SETES Ta E o E A E A E cate S page v Broadcom Confidential and Proprietary 9 109 9 110 9 111 9 112 9 113 9 114 9 115 9 116 9 117 9 118
47. AE R SETS 9 3 3 24 D2 Ph Loopback Test ccncicadrina a e a E E 10 3 3 25 D3 RI45S Lo0pbdck Testa adds or ena ande in 10 3 3 26 DA IG FalseCOrrier Leste ca he ees Age osas 10 3 3 27 DSMIEMiscCellaneoUS LES A A G 10 3 3 28 DO MSI Test iii a ictericia iii iii 10 3 3 29 El 1G Wire Open Short ZERO LEN LB RJ45 Test 11 4 COMMAND LINE OPTION PARA METERG sccssscssssssssccssssscssccsssscsnsccsssscscsssssssssssssescees 12 5 EEPROM TXT FORMAT vasscscsssseisessssccvesesscsssotestonascasnssoncseteassesstenecdssecscsacseieedsdacevesassasaoncessensseseesses 25 6 USER INTERFACE COMMANDS ivccsocsssescssenssssacssonssesnessssosessacsecsosenssosecessncssonssocnesossaseesesseasesensess 28 7 SPECIAL INSTRUCTION sesiscsssvescssacesssssesnascnsassesssdeavesctsssessteestessacsesvedessaasesssestseuntessstsesncsiesesveoseeee 33 8 SAME SYSTEM SEND RESPOND TEST ccssscssscssssscsssccsssscssscsssessssscsssssssssssnscsssssssnessssssees 34 8 1 IDENTIFYING A REFERENCE DEVICE ccssssscesssseeeesssceeceesaeeecenseececsneecsesaececseceecesseeecnesaeeecseaeeeess 34 8 2 TESTING THE DUT AGAINST THE REFERENCE DEVICE cccesecessceceseeeeseeceseeeenceceeeeeneeceeeeeneeeeee 34 8 3 OTHER OPTIONS FOR THE SEND RESPOND TEST cccescceescecesrcessceceeeeeneeceseeeeaceceeeeeeneeceereseneeeees 34 BCM570x Diagnostic User s Guide 9 TEST AND FUNCTIONS DESCRIPTION cssscssssssssssssscssscsssscssssscssscssssssssscssnsssssssssssssssse
48. AM SPAD Start 0x00030000 0x00037fff 00030000 10 SRAM SPAD End 0x00030000 0x00037fff 00037 ff 11 Ext SRAM Start 0x00020000 0x00ffffff 00020000 12 Ext SRAM End 0x00020000 0x00ffffff OOffLLLL 13 MBUF Bank 1 Odd 2 Even 3 Both 3 0 Exit to previous menu Enter your choice option paramter gt 0 Diagnostics Configuration Menu Memory Test Configuration Menu Test Configuration Menu Driver Configuration Menu Abort On Failure is enabled Save Configuration ObPWNHE Enter your choice or ESC to exit gt 2 Test Configuration Menu Al Indirect Register Enabled A2 Control Register Enabled A3 Interrupt Enabled A4 Built In Self Enabled A5 PCI Cfg Register Enabled Bl Scratch Pad Enabled B2 BD SRAM Enabled B3 DMA SRAM Enabled page 107 Broadcom Confidential and Proprietary B4 B5 B6 B7 cl C2 c3 C4 c5 c6 c7 D1 D2 D3 D5 D6 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide MBUF SRAM oooooooooooo Enabled MBUF SRAM via DMA Enabled External SRAM Disabled CPU GPR icono o e rara 2 Enabled NVRAM c c c c oooooooooooooooooo Enabled COPs ae ia aie erie ts oe 4 Enabled DMA dae eaea Slee ele d taa Enabled MID iu ia
49. ASF firmware Syntax seprg lt file_name gt Input file need to be found in the same location as b57diag exe Options d Do not perform device check f lt string gt filename l lt HEX gt length in bytes Default size of input file m Do not restore original MAC address page 46 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide o lt HEX gt offset of serial nvram def 00000000 S Do not restore original Serial Number a Program ASF firmware u Program UMP firmware c Skip image CRC check Example 1 Program NVRAM with contents of input file seprg bin 0 gt seprg seprg bin 0 gt seprg asffirmware bin a 9 9 upgfrm cmd upgfrm Description Upgrade ISCSI PXE or Boot Code from a File This command reads code from a file and program into iscsi pxe or boot area Both parameter the programming target p b or i and filename must be specified Syntax upgfrm lt p b i gt filename Options b Upgrade boot code d Do not perform device check f lt string gt Input file p Upgrade PXE code i Upgrade ISCSI code 9 10 sever cmd sever Description Display Serial NVRAM Version Syntax sever page 47 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 9 11 sechksum emd sechksum Description Check Update Serial NVRAM checksum Syntax sechksum Options v lt DEC gt verbose level 0 1 d
50. BROADCOM PS Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide B57diag Version 8 e Date 10 18 05 Prepared by Tak Tomita Updated by Paul Nguyen Austin Hui Carlton Joseph Broadcom Confidential and Proprietary BCM570x Diagnostic User s Guide Copyright O 2000 2005 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 16125 Alton Parkway Irvine CA 92619 7013 www broadcom com page ii Broadcom Confidential and Proprietary BCM570x Diagnostic User s Guide page iii Broadcom Confidential and Proprietary TABLE OF CONTENTS 1 INTRODUCTION aiiisssiesassscaasseosssasscstactsostasteasdescsasucssaaedsscseestssdeasdoncsasssesacdsGdehsdessbensessecasenasssuancesesstase 1 2 PREREQUISITES wivsvescticcseisaiesnsveriscencnssusssendscentocsnsvevecisceesesanenscecieeeasencesnstecincesteavedarisceasesousesenesestseses 2 3 DIAGNOSTIC TESTS weecassssevesceccsvescssccsessssvenes tuscecensssustoovencedensssossonscceesesdesesseatesuansesesesvebess
51. Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Enable 1 Enable hot plug power feature 51 Pri Port SMB Address ASF IPMI Configure Description SMB address of the primary port on a device 52 Sec Port SMB Address IPMI Configure Description SMB address of the secondary port on a device only valid for dual port devices 53 Cable Sense Configure Description Enables a low power mode IDDQ of the chip which allows the presence of a cable to be detected by the chip valid for 5752M 5755M 5787M 5787FM devices Once Cable Sense is enabled GPIO3 will be an Energy Detect Output Pin and will be high if a cable with a signal present is plugged into the RJ45 and low otherwise Disable 0 Disable cable sense Enable 1 Enable cable sense 54 GPIO 0 Input Output Config Configure Description Setting GPIO 0 input output configuration 5714 LOM or 5715 LOM only Input 0 Config as input Output HI 1 Config as output HI Output LO 2 Config as output LOW 55 GPIO 2 Input Output Config Configure Description Setting GPIO 2 input output configuration 5714 LOM or 5715 LOM only Input 0 Config as input Output HI 1 Config as output HI Output LO 2 Config as output LOW 9 8 seprg cmd seprg Description Program NVRAM and
52. Checking EEPROM content passed page 20 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide f only Program will check the validity of eeprom If it is not valid it will act as a f m option If it is good it saves the MAC address from eeprom program new eeprom binary file content into EEPROM and then restores the original MAC address It checks the validity of eeprom content once more at the end of programming Checking EEPROM content passed Loading EEPROM content from lt file gt passed Programming EEPROM from lt file gt passed Checking EEPROM content passed or Checking EEPROM content invalid Loading EEPROM content from lt file gt passed Programming EEPROM from lt file gt passed Checking EEPROM content passed m only Program will check the validity of EEPROM If it is not valid it will act as a f m option If it is good the program will prompt the user for a new MAC address and program the MAC address only It checks the validity of EEPROM content once more at the end of programming Checking EEPROM content passed Programming MAC address passed Checking EEPROM content passed or Checking EEPROM content invalid Loading EEPROM content from lt file gt passed Programming EEPROM from lt file
53. Guide 8 Same System Send Respond Test During a send respond test two Broadcom Ethernet devices in the same system are connected via a CATS RJ45 cable and data is transmitted and received across the cable In the above setup one device is the device under test DUT and the other is the reference device Any Broadcom device that is supported by diagnostics can be used as the DUT or the reference device 8 1 Identifying a reference device A reference device needs to be identified in order to test a DUT against the reference device The user can use the b57diag dids command to display all the devices in the system Each device is assigned a number that is displayed on the screen in the first column just before the device type A user selects the number of the device that is to be used as the reference and uses this number to test the DUT as described in the next section 8 2 Testing the DUT against the reference device After identifying the reference device as described in the previous section the user can test the DUT by running b57diag rf 0 1 t abcd T d3 Each of the previous options are described in the table below details of each option are provided in the Command line option parameters section above rf 0 Identifies the reference device as device 0 c 1 Identifies the DUT as device 1 t abcd Disables all tests Disable all tests in group a b c and d T d3 Perform the exte
54. PCI X workaround Example 1 Display debug information 0 gt debug 1 Tx Packets Enqueued Tx Packet Complete Tx Packet Complete Error Rx Packets Rx Unknown Packets Rx Bad Packets Rx Good Packets ooooo0o o gpiowrite cmd gpiowrite Description Write a Value into GPIO pin Syntax gpiowrite lt GPIO_num gt lt value gt Valid value for lt GPIO_num gt is 0 3 lt value gt is 0 or 1 Example 1 Write 1 to GPIO 1 Pin page 103 Broadcom Confidential and Proprietary 9 152 9 153 9 154 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 0 gt gpiowrite 1 1 Writing 1 to GPIO 1 gpioread cmd gpioread Description Read GPIO Value Syntax gpioread Example 1 Read GPIO Pins 0 gt gpioread GPIO 0 1 GPIO 1 1 GPIO 2 0 GPIO 3 0 pxecpy cmd pxecpy Description Load PXE Code to MBUF Memory The file name must be specified in the parameter Syntax pxecpy lt file gt Options f lt string gt filename device cmd device Description Show or Switch Device If no parameter is entered it will display all device available Syntax device lt dev gt Options n lt HEX gt Device Number def 00000000 r Remove all current devices and re scan available devices S Silent mode do not display devices page 104 Broadcom Confidential and Proprietary 9 155 9 156 9 157 9 158 9 159 9 160 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide v
55. PXE_PGM 85 ERR_PXE_VFY 86 ERR_EXT_MEM_EXE_TIMOUT 87 ERR_EXT_MEM_SIZE 88 ERR_RESET_TIMEOUT 89 ERR_MSI_ERR_NOTCLEAR 90 ERR_MSI_DATA 91 ERR_MEM_INIT 92 ERR_MEM_UNINIT 93 ERR_PCI_REGS_WIDTH 94 expected at offset 0x X ERR_LINK_STATUS 95 ERR_PHY_INTERRUPT 96 ERR_EEP_BIT_BANG 97 ERR_ROM_SIZE 98 0x30 register with Sd written to ERR_ROM_DATA 99 ERR_ROM_ENABLE 100 firmware ERR_GPIO 101 Cannot perform task while chip is not running need Cannot open register define file or content is bad ASF Reset bit did not self cleared ATTN_LOC d cannot be mapped to cX CPU event bit d Ss Regsiter is not cleared to zero after reset Cannot start poll_ASF Timer poll_ASF bit did not get reset after acknowleged Timestamp Counter is not counding Ss Timer is not working Cannot clear bit s in cX CPU event register Invalid s file size expected d but only can read d Invalid magic value in s expected 08x but found nvalid manufacture revision expected c but found nvalid Boot Code revision expected d d but found Cannot write to NVRAM Cannot read from NVRAM Invalid Checksum Invalid Magic Value Invalid MAC address expected 02X 02X 02X 02X 02X Slot error expected an UUT to be found at location Adjacent memory has been corrupted while testing block x 0x 08x1nGot 0x 08x addr
56. Times d3Collided13Times d3Collided15Times d3StatsCarSenseErrors COSIfHCInPkts 00 COSIfHCInPkts 02 COSIfHCInPkts 04 COSIfHCInPkts 06 COSIfHCInPkts 08 COSIfHCInPkts 10 COSIfHCInPkts 12 COSIfHCInPkts 14 COSFrmsDxDueToFilters nicDmaWrHiPQFull PageUP PageDN to scroll ooo0oo0oo00000000 etherStatsUndersizePkts outRangeLengthError etherStatsPkts65 127 etherStatsPkts256 511 etherStatsPkts1024 1522 etherStatsPkts2048 4095 etherStatsPkts8192 9022 etherStatsCollisions outXoffSent d3StatsIntlMacTxErrors d3StatsMultipleColFrames d3StatsExcessiveCol Ins Del toggles refresh ESC to exit 00000000000000000o0o d3Collided2Times d3Collided4Times d3Collided6Times d3Collided8Times d3Collided10Times d3Collided12Times d3Collidedl4Times ifHCOutUcastPkts ifOutDiscards COSIfHCInPkts 01 COSIfHCInPkts 03 COSIfHCInPkts 05 COSIfHCInPkts 07 COSIfHCInPkts 09 COSIfHCInPkts 11 COSIfHCInPkts 13 COSI fHCInPkts 15 nicDmaWriteQueueFull nicNoMoreRxBDs Ins Del toggles refresh ESC to exit PageUP PageDN to scroll Ins Del toggles refresh ESC to exit CHIP Statistics ifInDiscards nicRecvThresholdHit COSIfHCOutPkts 00 COSIfHCOutPkts 02 COSIfHCOutPkts 04 Rxed Packets Ring 05 Rxed Packets Ring 06 Rxed Packets Ring 07 Rxed Packets Ring 08 Rxed Packets Ring 09 PageUP PageDN to scroll 9 69 ringindex cmd ifInErrors nicDmaReadQueueFull COSIfHCOutPkts 01 COSIfHCOutPkts 03 COSIfHCOutPkts 0
57. able detail display 1 gt dmaw a 0 1 10 Device 1 Host Address NIC Address Length Priority Byte Swap Word Swap 0x0068bb38 0x00000000 0x0010 Low No No Dev 1 DMA SRAM 00000000 to Host 0068BB38 9 63 dmar cmd dmar Description DMA from Host to NIC Memory Syntax dmar Options W 3 word swap Force to use 32 bit page 64 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 4 a lt HEX gt b C d lt HEX gt f lt string gt h l lt HEX gt n lt DEC gt o lt HEX gt p lt HEX gt q lt HEX gt v lt DEC gt W x lt HEX gt K lt HEX gt Example Allocate 4k aligned buffers NIC address to DMA data to def 00000000 Byte Swap Continousely dma delay poll dma done polling def 00000000 File name of file that contains lt length patterns gt Use high priority DMA Read Length of DATA to do DMA def 00000100 iteration Buffer offset def 00000000 Pattern of Data 0 byte increment 1 byte decrement 2 FF s 3 00 s 4 AA 55 5 55 AA 6 FFFFFFFF 000000000 FFFFFFFF 00000000 7 FFFFFFFFFFFFFFFF 0000000000000000 FFFFFFFFFFFFFFFF 8 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 0000000000000 9 00000000000000000000000000000000 FFFFFFFFFFFFF a Word Increment b Dword Increment c Word Decrement d Dword Decrement def 00000000 low 32 bit of 64 bit pattern def FFFFFFFF Verbose 1 2
58. adcom NetXtreme Ethernet Adapter Diagnostic User s Guide f lt string gt h r s lt HEX gt 9 71 txpkt cmd txpkt file contains initialization scripts force half duplex reset PHYs 0 10 Mbps 1 100 Mbps 2 1000 Mbps 3 Auto def 00000002 Description Transmit Packets Driver must be loaded Syntax txpkt Options a lt DEC gt b lt DEC gt C d lt DEC gt f lt DEC gt g lt HEX gt h lt DEC gt I j k 1 lt DEC gt m n lt DEC gt o lt HEX gt p lt DEC gt Specify number of IP fragment count def 0 Burst length def 0 Clear Statistics always on kept for bemediag compatibility Interpacket delay in microseconds def txcfg Insert raw checksum into the packet Max number of fragments def 1 Tx Flags def txcfg Specifies IP total length Default correct IP length Incremental length Random number of fragments Use random packet length Start packet length def txcfg Use multiple Tx ring test def txcfg Number of packet to transmit def 0 Buffer Offset def 00000000 Number of Tx rings to use in multiple ring test def txcfg page 72 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide q lt DEC gt Number of Packets per ring def txcfg r lt DEC gt Tx ring number def txcfg V Insert fragment count and fragment size into the packet X Display Statistics always on kept for bemediag compatibility u Standard Fra
59. al and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 6 User Interface Commands The commands are summarized in the following groups vpd nvram cpu dma packet mii mem test power irq mac misc and bridge Command Group vpd vpdwrite Write VPD Memory vpdread Read VPD Memory vpdinfo Show VPD Information Command Group nvram semode same as flshmode command seread Read NVRAM sewrite Write NVRAM secfg Configure NVRAM seprg Program NVRAM upgfrm Upgrade PXE or Boot Code from a File sever Display Serial NVRAM Version sechksum Check Update Serial NVRAM checksum sedump Dump NVRAM content to a file asfcfg Configure ASF in NVRAM flshmode Configure NVRAM mode flshread same as seread chkpxe Check PXE code image dir display file directory in NVRAM erase erase file from directory in NVRAM pxeprg Upgrade PXE from a File flshdev Select flash device to access bitbang Generate bitbang pattern to seeprom bus seclock set NVRAM config content value after reset setorture NVRAM reset torture test seinit Initialize NVRAM block searb set report current NVRAM arbitration bit seprotect set gpio pin for NVRAM write protect selclock set Legacy EEPROM clock value bit 16 24 of EEPROM addr reg semap Display NVRAM usage setwol Enable Disable WOL setpxe Enable Disable PXE setasf Enable Disable ASF setipmi Enable Disable IPMI secomp compare eeprom content against the file dreset double reset test for EEPROM debug userblock cre
60. ansitions dids display chip information such as the PCI DID and VID The feature outputs the following information PCI DID VID SDID amp SVID MAC address Firmware revision PXE PXESpd WOL ASF MBA Bond Rev This information can be used to verify the setup of a chip after a firmware upgrade elog lt filename gt an error log file lt filename gt used to log diagnostics failures The feature is used to log the failure information of the diagnostics run When an error occurs if the file lt filename gt exists it is appended to and if it does not exist it is created If there are no diagnostics failures then the file in not appended or created A user abort of the diagnostics testing is log to the error log file lt filename gt firm lt filename gt used for field upgrade of bootcode firmware 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 amp SVID of firmware and device firmall lt filename gt used for field upgrade for entire NVRAM image 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 amp SVID of firmware and device Media Manufact Region and Media VPD Block in NVRAM will be preserved If the Advance Firmware such as ASF and IPMI is present the Configur
61. atch def 00000000 c lt HEX gt 0 to add a pattern otherwise delete def 00000000 f lt string gt File name which contains patterns m lt HEX gt 1 enables Magic MAC detection def 00000000 o lt HEX gt offset def 00000000 v lt HEX gt Versbose level default 0 def 00000000 intr cmd intr Description Dump Interrupt Info Syntax intr Example 0 gt intr Interrupt Count 48337 IPC MASK Oxb8 0x0c IPC IS1 IS2 0x00 0x00 IPC IRR1 IRR2 0x18 0x00 IPC ILCR1 ILCR2 0x20 0x0e Worst Intr Latency 54476 CPU clocks 50 uS intrctrl cmd intrctrl Description Control Interrupt Controller Syntax intrctrl ulm u unmask current interrupt m mask current interrupt page 98 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Example 1 Mask current interrupt 0 irq gt intrctrl m Masking Interrupt 10 2 Unmask current interrupt 0 irq gt intrctrl u Unmasking Interrupt 10 9 136 intt cmd intt Description Interrupt Tracer This is special function to monitor interrupt functions Syntax intt 9 137 mbuf cmd mbuf Description Dump Content of MBUFs The display command must be specified by c option or chain info cluster hdr and ckhdr Syntax mbuf chainlinfolclusterlhdrickhdr Options c lt HEX gt command 0 displays a MBUF 1 displays a MBUF chain 2 displays general MBUF information 3 displays MBUF Clu
62. ate a userblock in NVRAM setmba Enable Multiple Boot Agent segencrc Append a CRC to the specified block secfg1 Configure NVRAM Group1 secfg2 Configure NVRAM Group2 secfg3 Configure NVRAM Group3 secfg4 Configure NVRAM Group4 page 28 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Command Group cpu loadfw Load Firmware to Tx RX CPUs cpudtt Dump Debugging Trace of TX CPU cpudrt Dump Debugging Trace of RX CPU cputrace toggles cpu trace mode haltcpu Halt CPU loadbootcode execute bootcode from file instead of NVRAM disasm Disassemble MIP instructions step Step MIP instructions go start CPU showgpr togles showing cpu gpr mode pe set current CPU PC breakpoint set current CPU break point select select current CPU u Alias of disasm command trap trap cpu memory cpuinfo display cpu information cpugprstatus Display internal CPU GPR test status cpugprrestart Restart internal CPU GPR test Command Group dma dmaw DMA from NIC to Host Memory dmar DMA from Host to NIC Memory dma_h Dump DMA Entries dma_d Dump DMA Entries with Decode dma_alloc Allocate number of DMAD Command Group packet maclpk Configure MAC loopback nicstats Display NIC Statistics ringindex Dump Ring Index blast Blast Packets in Poll Mode phyctrl Configure Speeds Duplex txpkt Transmit Packet statusblk Dump Status Block stsblk Dump Statistics Block txcfg Configure protocol packets for transmission
63. ation Block of the firmware will also be preserved Three addition command line parameters updateasfcfg updatesecfg and sil can be used along with firmall command updateasfcfg 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 page 15 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide updated by the input file of firmall command The firmall command is described above updatesecfg 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 pipmi lt filename gt used for field program of IPMI firmware The feature is used to execute a field upgrade of NVRAM to add IPMI firmware The firmware is programmed into a the device s specified by c option switch uipmi lt filename gt used for field program of IPMI firmware The featu
64. ax 9 3 vpdinfo cmd vpdinfo Description Show VPD Information Syntax vpdinfo 9 4 semode emd semode Description Configure NVRAM Mode Syntax semode auto passthru legacy new Example page 35 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 1 Set Serial EEPROM mode to Auto 0 gt semode auto 2 Display Current mode 0 gt semode Current mode New NVRAM Access Auto device Flash ATMEL with buffer 9 5 seread cmd seread Description Read NVRAM Syntax seread start end len Note Use semode command to configure the interface mode Example 1 Set number base to hex then read and display serial eeprom locations from 0x00 to 0x20 0 gt radix 16 0 gt seread 0 20 Dump Serial EEPROM Auto Mode 000000 669955aa 08000000 00000069 00000200 d97b07d0 00000000 00000000 00000000 000020 00000000 2 Set number base to hex then read location 0x18 of serial eeprom 0 gt radix 16 0 gt seread 18 1 Dump Serial EEPROM Auto Mode 000018 000000f f 9 6 sewrite cmd sewrite Description Write NVRAM Syntax sewrite start end len data Note Use semode command to configure the interface mode Example 1 Set number base to hex write Ox55AA to serial eeprom from locations 0x30 to 0x35 0 gt radix 16 0 gt sewrite 30 35 55AA Write Serial EEPROM Auto Mode page 36 Broadcom Confidential an
65. behavior Enable 1 When PXE is enable the expansion ROM enable bit in the PCI configuration space is set for system boot up The user has to make sure the PXE code is loaded into the non volatile memory by using the loadpxe command Disable 2 When PXE is disable the expansion ROM enable bit in the PCI configuration space is cleared for system boot up The PXE code does NOT have to been load into the non volatile memory of the device 9 PXE Link Speed Configure Description Pre Boot Execution Environment line configuration is specified using the parameters below Options 8 9 26 29 and 39 40 configure the boot protocol behavior Auto 0 PXE auto detects the link configuration 10HD 1 PXE uses a 10 Mbits s half duplex line configuration 10FD 2 PXE uses a 10 Mbits s full duplex line configuration 100HD 3 PXE uses a 100 Mbits s half duplex line configuration 100FD 4 PXE uses a 100 Mbits s full duplex line configuration 10 Magic Packet WoL Configure Description A system can be configured to power on when a Magic Packet is received Enable 1 The device will assert the pme signal to power on the system when a magic packet is received Disable 2 Magic packets are ignored page 39 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Note A driver can setup the WoL behavior of a device a
66. ch begin end len data 9 95 read cmd read Description Read Memory Syntax read lImSsxX lt begin gt end len Configuration space 32 S Configuration space 16 X Configuration space 8 Registers 32 default SRAM 32 NVRAM SEEPROM FLASH 32 m MII registers 16 VPD Access 32 I indirect access 32 A internal scratchpad 32 page 81 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 1 direct access 32 s direct access 16 x direct access 8 Example 1 Read from Configuration space 0 gt read 10 000010 4000004 2 Read from Register 0 gt read 10 000010 4000004 3 Read from SRAM 0 gt read 10 000010 00010001 4 Read from internal scratchpad 0 gt read 00 000000 000312ae 9 96 write cmd write Description Write Memory Syntax write lImSsxX lt address gt end len data Configuration space 32 S Configuration space 16 X Configuration space 8 Registers 32 default SRAM 32 NVRAM SEEPROM FLASH 32 m MII registers 16 VPD Access 32 I indirect access 32 A internal scratchpad 32 page 82 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 1 direct access 32 s direct access 16 x direct access 8 Example 1 Write to configuration space 0 gt writ
67. d Ring 2 0 0 Tx Packets Enged Ring 3 0 0 Rxed Packets Ring00 0 0 Rxed Packets Ring01 0 0 Rxed Packets Ring02 0 0 Rxed Packets Ring03 0 0 Rxed Packets Ring04 0 0 Rxed Packets Ring05 0 0 Rxed Packets Ring06 0 0 Rxed Packets Ring07 0 0 Rxed Packets Ring08 0 0 Rxed Packets Ring09 0 0 PageUP PageDN to scroll Ins Del toggles refresh ESC to exit Total Rate Rxed Packets Ring 10 Rxed Packets Ring 11 Rxed Packets Ring 12 Rxed Packets Ring 13 Rxed Packets Ring 14 Rxed Packets Ring 15 Rxed CRC 32 Errors Out of Memory Too Many Frag Pkt ooooooo0o o ooooooo0o o PageUP PageDN to scroll Ins Del toggles refresh ESC to exit CHIP Statistics ifHCInOctets etherStatsFragments ifHCInUcastPkts ifHCInMulticastPkts ifHCInBroadcastPkts d3StatsFCSErrors xonPauseFramesReceived macControlFramesReceived dot3StatsFramesTooLong d3StatsAlignmentErrors xoffPauseFramesReceived xoffStateEntered oooo0o o page 69 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide etherStatsJabbers inRangeLengthError etherStatsPkts640ctets etherStatsPkts128 255 etherStatsPkts512 1023 etherStatsPkts1523 2047 etherStatsPkts4096 8191 ifHCOutOctets outXonSent flowControlDone d3StatsSingleColFrames dt3StatsDeferredTx PageUP PageDN to scroll CHIP Statistics d3StatsLateCol d3Collided3Times d3Collided5Times d3Collided7Times d3Collided9Times d3Collided11
68. d Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 2 Set number base to hex write 0x2 to serial eeprom location 0x25 0 gt radix 16 0 gt sewrite 25 2 Write Serial EEPROM Auto Mode 9 7 secfg cmd secfg Description Configure NVRAM If selected program with defaults f 1 eeprom bin must be found in the same directory of b57diag exe Syntax secfg Options v lt n gt verbose level 0 1 2 def 0 f force to program with defaults Example 1 0 gt secfg Reading current NVRAM Validating content OK Program Serial EEPROM with defaults value and set verbose level to 0 1 MAC Address 00 10 18 04 1a 36 2 Power Dissipated D3 D2 D1 D0 10 0 0 100 3 Power Consumed D3 D2 D1 D0 10 0 0 100 4 Vendor ID 14E4 5 Vendor Device ID 1653 6 Subsystem Vendor ID 14E4 7 Subsystem Device ID 1653 8 PXE does not apply to PXE in system ROM Enable 1 Disable 2 Disable 9 PXE Link Speed Auto 0 10HD 1 10FD 2 100HD 3 100FD 4 Auto 10 Magic Packet WoL Enable 1 Disable 2 Disable 11 Product Name Broadcom NetXtreme Gigabit Ethernet Controller 12 Part Number BCM95705A50 13 Engineering Change 106679 15 14 Serial Number 0123456789 15 Manufacturing ID 14e4 16 Asset Tag XYZ01234567 17 Part Revision AO 18 Voltage 1 3V 0 1 8V 1 1 8V 19 Force PCI Mode Enable 1 Disable 2 Disable 2
69. def 2 Word Swap high 32 bit of 64 bit pattern def FFFFFFFF DMA read from abosolute address def 00000000 1 Sup DMA host memory to NIC memory Using low priority DMA Read and disable byte swap 1 gt dmar a 0 1 100 Device 1 Host Address NIC Address 0x0068bb38 0x00000000 page 65 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Length 0x0100 Priority Low Byte Swap No Word Swap No Dev 1 DMA Host 0068BB38 to SRAM 00000000 9 64 dma_h cmd dma_h Description Dump DMA Entries Syntax dma_h lt start gt lt end gt 9 65 dma_d cmd dma_d Description Dump DMA Entries with Decode Syntax dma_d lt start gt lt end gt 9 66 maclpk emd maclpk Description Configure MAC loopback 0 to disable otherwise enable MAC loopback Syntax maclpk lt n gt 0 to disable Otherwise enable Example 1 Driver must be loaded before configure 0 gt loaddrv 2 Enable MAC loop back 0 gt mcaclpb 1 Enabling MAC loopback OK 2 Disable MAC loop back 0 gt maclpb 0 Disabling MAC loopback OK 9 67 blast cmd blast page 66 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Description Blast Packets in Poll Mode and display statistics Load MAC driver before running the test Syntax blast Options a lt DEC gt IP total length def 0 c lt DEC gt Number of Tx buffer def 100
70. dge gt pecir cmd peclr Description Clear parity error on bridge Defaults to current bridge Syntax peclr lt bridge gt pechk emd pechk Description Check parity error on bridge Defaults to current bridge Syntax pechk lt bridge gt iscsiprg cmd iscsiprg Description Program ISCSI firmware into NVRAM This command reads ISCSI code from a file and program into NVRAM Syntax iscsprg lt filename gt umpcfg cmd umpcfg Description Configure UMP in NVRAM page 119 Broadcom Confidential and Proprietary 9 210 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Syntax umpcfg 1 UMP Settings Description Provides the sub menu with the options described below 0 Return to previous menu 1 Enable Disable SetLink 2 Enable Disable RDIStallTimer 3 Set RDIStallTimerValue 4 DisableHostHashT able 5 Enable Disable HostFlowControl 6 Enable Disable Exceed_375ma_rule J Save and Exit Description Saves the modified UMP Configuration Table to the network adapter s non volatile memory and exists 3 Exit without Saving Description Exits without saving any changes to the UMP Configuration Table setump cmd setump Description Enable Disable UMP Syntax setump Options d Disable UMP e Enable UMP page 120 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 10 ERROR
71. diag bin or cpudg05 bin CPU Accessing test flshdiag bin or flashdg05 bin config sys not required for EFT himem sys not required for EFI Output File List The following file may be generated in run time depending execution option s diagcfg bin page 2 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 3 Diagnostic Tests The tests are divided into four groups Register Tests Memory Tests Miscellaneous Tests and Data Tests They numbered as group A B C D and E 3 1 Test Names Group A A1 Indirect Register Test A2 Control Register Test A3 Interrupt Test A4 BIST AS PCI Cfg Register Test A6 Serial Number Reg Test AS Power 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 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 D6 MSI Test Group E E1 1G Wire Open Short ZERO LEN LB RJ45 Test page 3 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 3 2 Error Codes The Error Codes are presented in Section 9
72. e piscsi lt file gt 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 lt code gt c O piscsi iscsi bin piscsil lt filename gt used for field program of ISCSI firmware The feature is used to execute a field upgrade of NVRAM to add ISCSI firmware The ee 99 firmware is programmed into a the device s specified by c option switch page 12 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide smbaddr lt hex1 gt lt hex2 gt lt hexn gt 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 AS t abcd b57diag c O e b57kia pasf asf bin smbaddr A4 t abcd chksecfg lt file_p gt lt file_s gt 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 lt file_p gt is for the primary port and lt file_s gt
73. e MBA_BOOT_PROTOCOL pxe rpl bootp MBA_BOOTSTRAP_TYPE auto bbs int18 int19 MBA_DELAY_TIME 0 15 EXPANSION_ROM_SIZE 64K 128K 256K 512K 1M 2M 4M 8M 16M DESIGN_TYPE nic lom MAC 0 1 VENDOR_SPECIFICO string 16 VENDOR_SPECIFIC1 string 16 DISABLE_POWER_SAVING yes no WOL_LIMIT_10 yes no FIBER_WOL_CAPABLE yes no hide_mba_setup_prompt enable disable mbs_setup_hot_key Ctrl S Cirl B enable_auto_powerdown yes no capacitive_coupling enable disable All reserved words are not case sensitive A can be used at the beginning of line as comment Example This comment line This also can be used as comment line Blank line is also allowed This is Broadcom s MAC prefix MAC_PREFIX 00 10 18 POWER_DISSIPATCHED 10 0 0 100 POWER_CONSUMED 10 0 0 100 SUBSYSTEM_VENDOR_ID 14e4 SUBSYSTEM_DEVICE_ID 1644 pxe disable PXE_Speed 100fd WOL enable Product_name Broadcom Gigabit Ethernet Controller PART_NUMBER BCM95700A6 ENGINEERING_CHANGE 106679 15 page 26 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide MANUFACTURING_ID 14e4 Asset_Tag XYZ1234567 DUAL_MAC_MODE normal MBA_BOOT_PROTOCAL pxe MBA_BOOTSTRAP_TYPE bbs MBA_DELAY TIME 6 EXPANSION_ROM_SIZE 128K DESIGN_TYPE nic select other channel MAC 1 PXE enable page 27 Broadcom Confidenti
74. e 10 4000004 2 Write to register 0 gt write 10 4000004 3 Write to SRAM 0 gt write 10 10001 4 Write to internal scratchpad 0 gt write 10 4000004 9 97 poll cmd poll Description poll Memory Syntax poll lImSsxX lt addr gt lImSsxX lt addr gt Configuration space 32 S Configuration space 16 X Configuration space 8 Registers 32 default SRAM 32 NVRAM SEEPROM FLASH 32 m MII registers 16 VPD Access 32 I indirect access 32 internal scratchpad 32 direct access 32 page 83 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide s direct access 16 x direct access 8 Options n lt DEC gt Number of changes to print before stop def 0 9 98 setbit cmd setbit Description Read Modify Memory by ored with lt bits gt Syntax setbit lImSsxX lt addr gt lt bit gt lt bit gt Configuration space 32 S Configuration space 16 X Configuration space 8 Registers 32 default SRAM 32 NVRAM SEEPROM FLASH 32 m MII registers 16 VPD Access 32 I indirect access 32 A internal scratchpad 32 1 direct access 32 s direct access 16 x direct access 8 9 99 clearbit cmd clearbit Description Read Modify Memory by anded with lt bits gt Syntax clearbit lImSsxX lt addr gt lt bit gt lt bit gt
75. e Counts of the transmitted and received packets will be presented to the user This setup can be used to test a specific device with an external tester or can be used with the hlb option to perform a requestor response test The optional lt spd gt parameter specifies the operational speed by using 10 100 1000 for 10 100 1000 Mbits s respectively The default value is 1000 Mbits s page 16 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide c lt num gt specify UUT device number When more than one device is in the system the devices are number starting from zero For example if there is three devices detected the device is numbered as 0 1 and 2 In this case by entered the parameter c 2 will select the last found device as default UUT In manufacture testing mode by default all devices are tested however if this option is used only that selected device is tested Example c 2 l lt file gt log file W X All diagnostic output can be saved in a log file Type log file name is specified by this option The default is no log file Example 1 mylogfile txt lt value gt enable WOL programming in manufacture mode After a successful manufacturing testing the program will program WOL to either enable or disable mode lt value gt 1 0 By default the WOL is programmed as disable Entering value 1 will enable WOL When f is entered software uses eeprom bi
76. e d ERR_MALLOC 23 Cannot allocate memory for size d ERR_CPU_RESET 24 Cannot reset cX CPU ERR_CPU_NO_RESP 25 cx CPU does not respond ERR_CPU_TEST 26 Scx CPU test failed ERR_DMA_RANGE 27 Invalid Test Address Range nValid NIC address is 0x 08X 0x 08X and exclude 0x 08X 0x 08X ERR_DMA_ DATA 28 DMA Got 0x 02X 0x 08X Expected 0x 02X nSRAM data 0x 02X 0x 08X ERR_PHY_ID 29 Unsupported Phyld 04X 04xX ERR_PHY_TOO_MANY_REG 30 Too many registers specified in the file max is d ERR_VPD_WRITE 31 Cannot write to VPD address 04X ERR_VPD_DATA 32 VPD data error got 08X 0x 04X expected 08X ERR_NO_LINK 33 No good link Check Loopback plug ERR_DATA_TX 34 Cannot TX Packet ERR_DATA_TX_MISSING 35 Requested to Tx d Only d is transmitted ERR_DATA_RX_MISSING 36 Expected d packets Only d good packet s have been received n d unknown packets have been received n d bad packets have been received ERR_INVALID_TEST 37 Sc d is an invalid Test ERR_EEPROM_CHECKSUM 38 NVRAM checksum error ERR_READING_WOL_PXE 39 Error in reading WOL PXE ERR_READING_WOL_PXE 40 Error in writing WOL PXE ERR_NO_EXT_SRAM 41 No external memory detected ERR_DMA_LEN 42 DMA buffer 04X is too large size must be less than 04X ERR_FILE_TOO_BIG 43 File size d is too big available s
77. e format of lt filename gt is specified in the EEPROM TXT format section below sil suppresses warning messages of the firm and firmalP commands The warning message Boot code file and device type incompatible produced by the firm and firmall commands is not displayed when the sil command line parameter is entered before the firm and firmall commands The firm and firmall commands are described below rf lt x gt selects a reference device to use during external loopback Use this option with the external loopback test D3 to select a reference card During the external loopback test the physical loopback can be provided with a RJ45 loopback plug or a CATS cable connected to a reference device which loops back the data Ibe g h t define the number of packets to use during external loopback Selects the number of packets to send during the external loopback test D3 g h t are the gigabit hundred megabit and ten megabit packet counts respectively default values are g 2000 h 1000 t 600 It is mandatory that all packets counts are entered with this command line option ckdev lt xy gt executes diagnostic only x chip rev and y metal rev If lt xy gt does not match the device being accessed diagnostics will not execute Use this option on a production line to verify that only chips of a specific rev are run with diagnostics and all others fail 1200
78. e tables below provide details for each parameter of the secfg options The top right of each table has the word configure or Reference Configure signifies that the option is used to configure the operating characteristics of the device or default values of registers in the device Reference signifies that the option is use for display purposes and does not affect the operating characteristics of the device or default values of registers in the device 1 MAC Address Configure page 38 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Description MAC address of the device 2 Power Dissipated D3 D2 D1 DO Reference Description Power dissipated in D3 0 states 3 Power Consumed D3 D2 D1 DO Reference Description Power consumed in DO 2 states 4 Vendor ID Configure Description PCI Vendor ID Default 0x14e4 5 Device ID Configure Description PCI Device ID 6 Subsystem Vendor ID Configure Description PCI Subsystem PCI Vendor ID 7 Subsystem Device ID Configure Description PCI Subsystem PCI Device ID 8 PXE Configure Description Enable the Pre Boot Execution Environment PXE by using this option This option does not apply to PXE in system ROM Options 8 9 26 29 and 39 40 configure the boot protocol
79. ef 1 9 12 sedump cmd sedump Description Dump NVRAM content to a file The value stored at location OxC in the NVRAM is the starting address of the code that the chip loads and executes The code starting address is 0x200 for NVRAM pages aligned on 256 byte boundaries and 0x2F8 for the Atmel device that has a NVRAM page size of 264 If sedump is used to generate an image file for a NVRAM EEPROM burner then a should be used for an Atmel device if one wants to preserve the 0x2F8 code starting address that is automatically translated to 0x200 by software without the a option More details can be found in application note 570X AN700 R Syntax sedump lt filename gt HexLen Options a lt string gt no Atmel Flash address translation f lt string gt filename I lt DEC gt file length use O for entire NVRAM image def 8192 9 13 asfcfg cmd asfcfg Description Configure ASF in NVRAM Syntax asfcfg filename If filename is provided the file is used to configure the ASF configuration information in NVRAM If asfcfg is entered by it self a menu is present the user and the options of the items listed in the menu are described below 0 Save to file Description Use this menu option save the network adapter s ASF configuration table to a binary file page 48 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide
80. encessessesesense 3 3 1 LEST NAMES 35 05 0 Steet a ee A ee MG nd 3 3 2 ERROR CODES A E E S dde egies 4 3 3 TEST DESCRIPTIONS ea 4 33A Al Indirect Register Les to ontario E a E aN NEA EA EAE A EE 4 33 2 lt A2 Control Register Testina iaoea S REE EE ARAN ETE RA A E N REN 4 III AS Interrupt Ti 4 O O A PAE EEE ON 4 BSD GAS PEL Che Register Tesi A nan 4 3 3 6 A6 Serial Number Reg Testi ol e 5 33 7 A7 Power Register Test iia a dia das 9 3 3 8 Bl Scratch Pad Test oocononinncnconcnnnonanannnonocnononnnnnnonccnonnnnn nn nr ncononnnnn nn nn nonnnnn no nn nn nc nnonnnnn ne nnncnnannnnns 5 3339 B2 BD SRAM T CSE dd dida a a A a e e 6 3 3 10 B3 DMA SRAM TES Et A Aa dicas 6 3 3 11 BA MBUF SRAM TOSt ias 6 3 3 12 B5 MBUF SRAM via DMA TeSt ccccccccccccccsssesssceecesssssececececsesesnssecececeeseaaaesececeesenssaeseeeeeens 6 3 3 13 B6 External SRAM Testiiccccccccccccccsssscccccccccsssssecceececsessssececececsesssssseeececeeseuaseeecesesesssseeeeeceenens 7 3 3 14 B7 CPU GPR Tet ccccccccssssscccecccesssscecececeeseussaeceeececsensaeceeececsesesaeaecececseseaaaaesececsesesesaeeeeesensas 7 3 3 15 CL EEPROM TES e a t a a a a E aatia it 7 3 3 16 CLARO Leste a eA E a E ada RE ERE RRS 7 3 3 17 EA AAA T E E E E E T 7 3 3 18 O Y A i Tet vcs E E E E E TN 8 3 3 19 CDS VRID LOS ci iia 8 3 3 20 COs ASE Te dd dianas idea 9 3 3 21 EZ ROM Expansion Testi 9 3 3 22 ES GPU FetCh TES 9 3 3 23 DI Mac Loopback Test aeiieoo ernes onise ea RN E E E oE E SE
81. ersion cmd version Description Display Program Version Syntax version help cmd help Description Enter command group for the list of available commands If no parameter is entered all commands are displayed Example help vpd For each command help type the command and then Example memtest Syntax help vpdinvramlcpuldmalpacketlmiilmemltestlpowerlirqlmaclmisc cmd Description Alternate Help Command This is same command as help command Syntax vpdinvramlcpuldmalpacketlmiilmemltestlpowerlirqimaclmisc radix cmd radix Description Change System Radix Radix must be 2 16 Radix used for number entry 16 means enter number in hex and 10 means in decimal Syntax radix lt 2 8 10 16 gt nolog cmd nolog Description Close the Current Logfile Syntax nolog log cmd log Description Save all output to log file page 105 Broadcom Confidential and Proprietary 9 161 9 162 9 163 9 164 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Syntax log Options f lt string gt filename for bemediag compatibility only a Append to existing file cmd pciinit Description Initialize PCI configuration registers Syntax pciinit pciscan cmd pciscan Description Scan for all PCI Devices Syntax pciscan Example 0 gt pciscan Scanning PCI devices Bus Dev Func Vendor ID Device ID Class Base IO Address IRQ 0 0 0 8086 7190 06 00 00 00000000 F8000008 0
82. es 9 1 AN se E eons ES 9 2 MPDREAD 0d dd dada da ais bes anaes Ris bios 9 3 VIPDINEG a s oases coord idad se stds tas de festa bobcat E ed dd dE Pa ec 9 4 EMO sige A EE nE AAEE EAE EEA A E OE E EEA 9 5 SEREAD anden 9 6 SA ative S ob aiive seis E EEE On eauk va seen a A crete Mommies 9 7 JR soles aeRO Seeds Genes b ea ealee Be BORGER AE Sash Fo nem Oe ase mab EOE stearate meaeTER est aes 9 8 SEPRG ois A ii a ERE 9 9 UPGERM cosita pt Ai TAS OVO SEVERA ancavecsesat ec edecadclesges ese hteeees 9 11 SECHKSUM varet a a ocioteca ae ocindde EEE a selves dupeegeeedeus vce EEEE E E Nia D OAE S 2 DIE e e a E E a E EA a A 9 13 ASFOEG sidad dd td its OVAL BESHMODE ai OFS CBIESHREAD e dps wsonsGucceutesvounens coa DTO CORE ne no ee OTE a AS ene eee OV8 CERAS E ui scbececs ote stein ahna ieee eau veeunaakocs vaste aaete cos itavenspiore sveaauantaneteeeds LO PREPA iia 9 20 EESHDEV a A e eee ed lado 9 21 BITBAN Gui ii tias NS O A O NS 9 23 SETORTURE bocas O24 SP odcsuavesessesde ic etleee sevendte dd E dese opbest covecsee o omnes cosvesteseentess sees 9 25 MEAR ee 9 26 SEPROTEGT iis siscecaceanesteeces exten costes aesieal ica DET EEC as OB SEMA o e A EES 92900 SET WO ii A A EE A ia 930 SPP a A ia ado 9 31 SETAS E A A dais 9132 EO l e E S A a 933 DRESS a a S E EA E E A 9 34 USERBLOCK E ES E EE E E E E S E E ESE iets 9 35 SETMBA OEE SEEE E EE E A E daid dale sesosestsese OBO lt SEGENGRC CPEE E EEE EE AE E A
83. ess 0x 08x Expected 0x 08x The function is not Supported in this chip Packets received with CRC error MII error bits set 04x CPU does not initialize MAC address register Invalid firmware file format Resetting TX CPU Failed Resetting RX CPU Failed Invalid MAC address Mac address registers are not initialized correctly NVRAM Bootstrap checksum error Write operation changed VPD read only data from 08X to Cannot read data from VPD address 04X Memory read and compare error Memory write error no longer in use PXE Programming Error PXE Verification Error Cannot execute code from external memory pc 08X External memory size detection error Reset Time MSI Error bits are not cleared after reset MSI expected 04X but read 04X at 08X mem pool initialization failed mem pool un initialization failed Read Write PCI regs width d affects wider than Link status error in auto polling mode Phy interrupt did not happen EEprom test fails in bit bang mode at address X ROM size error nExpected 08X but read 08X at nROM Bar ROM size reg 0x88 Data Error nExpected 08X but read 08X at 08X Expansion ROM Desired bit is not set after loading GPIO d Error write d read d page 122 Broadcom Confidential and Proprietary sd flshdg5x bin v2 3 or newer mat
84. figuration file or the default configuration This section summarizes the options The options are case sensitive uump lt filename gt 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 1 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 lt file gt 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 lt code gt c 0 pump ee5714c1 00 pump lt file gt 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 lt value gt Enable Disable value 1 0 UMP in manufacture mod
85. gmentation w lt DEC gt Low watermark max RxFrame value 0 65535 z lt DEC gt Minimum fragment size 1 disable def 1 A Use static buffer L Don t initialize packets R Enable RS232 statistic update S TCP segmentation test 9 72 statusblk cmd statusblk Description Display Status Block Syntax statusblk Example 0 gt statusblk KkKKKKKKKKKKKKK STATUS Block 0x0027c0040 kkk dk kkk kk Status 0x0000 Rx Standard CI 0 Rx Jumbo CIdx 0 Rx Mini CIdx 0 Rx PIdx 00 0 Send CIdx 00 0 Rx PIdx 01 0 Send CIdx 01 0 Rx PIdx 02 0 Send CIdx 02 0 Rx PIdx 03 0 Send CIdx 03 0 Rx PIdx 04 0 Send CIdx 04 0 Rx PIdx 05 0 Send CIdx 05 0 Rx PIdx 06 0 Send CIdx 06 0 Rx PIdx 07 0 Send CIdx 07 0 Rx PIdx 08 0 Send CIdx 08 0 Rx PIdx 09 0 Send CIdx 09 0 Rx PIdx 10 0 Send CIdx 10 0 Rx Pldx 11 0 Send CIdx 11 0 Rx PIdx 12 0 Send CIdx 12 0 Rx PIdx 13 0 Send CIdx 13 0 Rx PIdx 14 0 Send CIdx 14 0 Rx PIdx 15 0 Send CIdx 15 0 page 73 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 9 73 stsblk cmd stsblk Description Display Statistics Block Syntax stsblk Example 0 gt stsblk KKKKKKKKKKKEKK STATISTICS Block Q Ox0027COCO XXHRXAARARA ifHCInOctets ifHCInUcastPkts ifHCInBroadcastPkts d3StatsAlignmentErrors xoffPauseFramesReceived xoffStateEntered etherStatsJabbers inRangeLengthError etherStatsPkts640ctets etherStatsPkts1
86. gth in bytes 14 9018 def 1514 pattern selection 0 8 def 0 length to load in bytes default to EOF 10 16 bytes of O and f 11 32 bytes of O and f 12 64 bytes of O and f wbuf cmd wbuf Description Write txlrx buffer with specified data at offset Only works with static buffer selection A Syntax wbuf txlrx lt offset gt lt data gt rbuf cmd rbuf Description Read txIrxlbistinlbistoutlbistex buffer Read txIrxlbistinlbistoutlbistex buffer with specified at offset with a specified length Only works with static buffer selection A Syntax rbuf txirxIbistinlbistoutlbistex lt offset gt lt len gt cpbuf emd cpbuf page 113 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Description Copy the content of rx buffer into tx buffer Only works with static buffer selection A Syntax cpbuf lt offset gt lt length gt 9 184 echo emd echo Description echo lt string gt to screen Syntax echo lt string gt 9 185 pause cmd pause Description Pause for user to hit a key If no parameter is entered press any key to continue will be displayed Syntax pause lt message gt 9 186 q cmd q Description Exit System Syntax q 9 187 verbose cmd verbose Description change verbose setting Syntax verbose Options C toggles CONSOLE e toggles ERROR i toggles IO page 114 Broadcom Confidential and Proprietary
87. gure the boot protocol behavior Ctrl S 0 MBA Setup entered via ctrl s Ctrl B 1 MBA Setup entered via ctrl b 41 Capacitive Coupling Configure Description Enable Disable the PHY to operate with capacitors as line isolators for the 5705 family Disable 0 Disable capacitive coupling Enable 1 Enable capacitive coupling 42 SERDES TX Drvr Pre Emp Primary 5704 only Configure Description The TX driver pre emphasis value that is used for the primary device of a 5704 if it is enabled by option 44 below 43 SERDES TX Drvr Pre Emp Secondary 5704 only Configure Description The TX driver pre emphasis value that is used for the secondary device of a 5704 if it is enabled by option 44 below 44 SERDES TX Drvr Pre Emp ENABLE 5704 only Configure Description Enable Disable the setup of the TX driver pre emphasis defined in options 42 and 43 above Disable 0 Disable TX driver per emphasis Enable 1 Enable TX driver per emphasis 45 Reserved Option no longer in use Reference 46 Encoded Hot Plug Power 1 amp 2 For NIC Configure page 44 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Description Encoded Hot plug power values 1 amp 2 for a NIC device that is used only if enabled in option 50 below The following description applies to options 46 49
88. he system receives ASF or RMCP traffic 16 Feature is not currently supported 17 SNMP community name 2 ASF Alert Info 3 ASF Alert Data for Legacy Devices 4 ASF Remote Control Data 5 ASF Capabilities Supported 6 ASF SMBus Addresses Description These menu options may be used to override values in the network adapter s ASF Configuration Table that correlate to the following records in the system s ASF Description Table ASF_INFO ASF_ALRT ASF_RCTL ASF_RMCP ASF_ADDR The values in these records are normally copied from the system s ASF Description Table using the ACPI System Description Table architecture into the ASF Configuration Table in the network adapter s non volatile memory by the Broadcom ASF Configuration Utility ASFConfig See the Alert Standard Format ASF Specification v2 0 for detailed descriptions of these records page 49 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 7 Reserved Description Reserved 8 SMBus Init Data Description Not to be used by customers For Broadcom internal use only 9 Save and Exit Description Saves the modified ASF Configuration Table to the network adapter s non volatile memory and exists 10 Exit without Saving Description Exits without saving any changes to the ASF Configuration Table 9 14 flshmode cmd flshmode
89. iber WOL Capable 0 No 1 Yes Clock Run 0 Disable 1 Enable Enable Phy Auto Power Down 0 No 1 Yes Disable Power Saving 0 No 1 Yes Hide MBA Setup Prompt 0 Disable 1 Enable MBA Setup Hot Key 0 Ctrl S 1 Ctrl B Capacitive Coupling 0 Disable 1 Enable Description Configure NVRAM Group 5 Syntax secfg5 Options page 57 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide i Capacitive Coupling 0 Dis 1 En e SERDES Tx Drvr Pre Emp Primary t SERDES Tx Drvr Pre Emp Secondary Z SERDES Tx Drvr Pre Emp ENABLE u Encoded Hot Plug Power Value 1 amp 2 For NIC d Encoded Hot Plug Power Value 3 amp 4 For NIC T Encoded Hot Plug Power Value 5 amp 6 For NIC q Encoded Hot Plug Power Value 7 amp 8 For NIC h Hot Plug Power For NIC Enable a ASF IPMI SMB Address for Pri Port b IPMI SMB Address for Sec Port c Cable Sense Enable X GPIO 0 Config 0 Input 1 OutputH 2 OutputL 5714LOM and 5715 LOM only y GPIO 2 Config 0 Input 1 OutputH 2 OutputL 5714LOM and 5715 LOM only 9 42 setipmi cmd setipmi Description Enable Disable IPMI Syntax setipmi Options d Disable IPMI Enable IPMI 9 43 loadfw cmd loadfw Description Load Firmware to Tx RX CPUs Syntax loadfw page 58 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Options b lt HEX gt set breakpoint O off def 00000000 d lt HEX gt data
90. into CPU memory and execute the RXCPU The default files names are asfinit bin asfcpua bin and asfcpub bin which can be over written by parameters Syntax asf init_img rx_img tx_img Options l Load firmware only m Enter asf mode only W Simulate warm boot new cmd new Description Display new command available The default parameter for n is 10 Syntax new n asfprg cmd asfprg Description Program asf firmware into NVRAM The default files names are asfinit bin asfcpua bin and asfcpub bin which can be over written by parameters page 110 Broadcom Confidential and Proprietary 9 174 9 175 9 176 9 177 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Syntax asfprg init_img rx_img tx_img Options v lt HEX gt verbose level 0 1 2 def 00000001 sleep cmd sleep Description suspense process for Excute command from a file Syntax sleep miliseconds fillpattern cmd fillpattern Description Fill WOL matching pattern into Misc Memory Loacation Syntax fillpattern filename Options e lt HEX gt end address 1 of the first block def 00020000 f lt string gt filename which contains data pattern o lt HEX gt sram first block offset to be loaded def 00000000 s lt HEX gt sram second block offset to be loaded def 00000000 inp emd inp Description input port not supported for EFI Syntax inp lt addr gt Options l long word size W word size outp
91. is option is entered the program will retrieve the PXE firmware filename from the command line then it will start programming Example b57diag e lt code gt c O ppxe b57pxe bin mba lt value gt Enable Disable Multiple Boot Agent A value of 1 will enable Multiple Boot Agent and a O will disable Example b57diag mba 0 Disabling mba mbap lt value gt Select Multiple Boot Agent Protocol value 0 Selecting PXE value 1 Selecting RPL value 2 Selecting BOOTP Example page 22 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide b57diag mbap 0 mbas lt value gt value 0 value 1 value 2 value 3 value 4 Example Select Multiple Boot Agent Speed Selecting Auto Selecting 10HD Selecting 1OFD Selecting 100HD Selecting 100FD b57diag mbas 0 To select Auto speed mode pxes lt value gt value 0 value 1 value 2 value 3 value 4 Example Select Multiple Boot Agent Speed Selecting Auto Selecting 10HD Selecting 10FD Selecting 100HD Selecting 100FD b57diag mbas 0 To select Auto speed mode h P q asf lt value gt ipmi lt value gt com lt value gt errctrl lt c gt ems lt size gt findref lbm lt n gt High Resolution 80x50 Video Mode Print on error Quick diagnostic mode Enable Disable value 1 0 ASF in manufacture mode Enable Disable
92. istics of a device For example on a LOM GPIOZ2 is tied to the SEEPROM write protect pin and on a NIC GPIO 1 and 2 is used to switch between main and auxiliary power for wake on LAN functionality 31 Read only VPD Vendor Specific Data VO Reference Description VPD VO value Data field provided for the customer 32 Read Write VPD Vendor Specific Data V1 Reference Description VPD V1 value Data field provided for the customer 33 Reversed Nway Configure Description Nway Negotiation 0 default Auto negotiation is done from 1000 gt 100 gt 10 Mbits s 1 Auto negotiation is done from 10 gt 100 gt 1000 Mbits s Note A user could set the chip for option 1 when running a laptop on battery power The chip would auto negotiate starting at a lower speed and lower power The chip would only go to higher line rates and higher power if the lower line rates were unavailable 34 Limit WoL Speed to 10 Configure Description Limit Wake on LAN WoL line speed No 0 10 or100 Mbits s is used for WoL Yes 1 Only 10 Mbits s is used for WoL 35 Fiber WoL Capable Configure Description Fiber Wake on LAN WoL Capable enable No 0 Disable Fiber WoL Yes 1 Enable Fiber WoL 36 Clock Run Setting Configure Description Enable Clock Run on mini PCl cardbus systems This parameter is valid only for the 5705 AO A2
93. ith Tx CPU Test with Rx CPU Description Run PCI Config Reg Test Syntax pcicfgtest Options 9 125 petest cmd petest I r lt DEC gt n lt DEC gt Do not perform reset before test repeat count for each register test def 1 iteration Description Perform parity error test on a bridge Syntax petest lt bridge gt 9 126 errctrl cmd errctrl Description Configure Error Control Setting Syntax errctrl wlclallls w Wait on Error Program will pause and wait for user s action eng default c Continue on Error Program will continue even if the error is detected a Abort on Error Manufacturing default Program stops l Loop on Error Program will retry the same test s Skip on Error Program will skip the rest of the present test 9 127 sedvt cmd sedvt page 95 Broadcom Confidential and Proprietary 9 128 9 129 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Description Perform NVRAM dvt test When init subcommand is entered the NVRAM is initialized into pseudo random pattern The original content is DESTROYED Syntax sedvt init Options a Access test Erase with reset f force I lt HEX gt size def 00000100 n lt DEC gt iteration def 0 p pause r Read Test with reset S skip checking entire NVRAM W Read Write Test with reset miimisctest cmd miimisctest Description Run MII Misc Tests Syntax miimisctest
94. l B 1 0 41 Capacitive Coupling 5705 only Disable 0 Enable 1 Disabled 42 SERDES TX Drvr Pre Emp Primary 5704 only 0 43 SERDES TX Drvr Pre Emp Second 5704 only O 44 SERDES TX Drvr Pre Emp ENABLE 5704 only Disable 0 Enable 1 Disabled 46 Encoded Hot Plug Power Value 1 amp 2 For NIC 00000000 47 Encoded Hot Plug Power Value 3 4 For NIC 00000000 48 Encoded Hot Plug Power Value 5 6 For NIC 00000000 49 Encoded Hot Plug Power Value 7 amp 8 For NIC 00000000 50 Hot Plug Power Disable 0 Enable 1 Disabled 51 Pri Port SMB Address ASF IPMI Al 52 Sec Port SMB Address IPMI A6 53 Cable Sense Disable 0 Enable 1 Disabled 54 GPIO 0 Config Input 0 Output Hi 1 Output Lo 2 Input 55 GPIO 2 Config Input 0 Output Hi 1 Output Lo 2 Input Enter your choice option paramter save cancel gt Description of above parameters To enter the secfg menu shown above a user type in secfg at the diagnostics command line A menu is present to the user showing the secfg options shown above A user can change the secfg parameter by entering the option number followed by and equal sign and then followed by the parameter selected To enable ASF option 24 a user would enter 24 1 at the diagnostics secfg command line which would look like the following 173 Enter your choice option paramter save cancel gt 24 17 Th
95. last t PageUP PageDN to scroll Ins Del toggles refresh ESC to exit Total Rate Txed Packets Ring 0 1007609 507523 Txed Packets Ring 1 0 0 Txed Packets Ring 2 0 0 Txed Packets Ring 3 0 0 Tx Packets Enged Ring 0 0 0 Tx Packets Enged Ring 1 0 0 Tx Packets Enged Ring 2 0 0 Tx Packets Enged Ring 3 0 0 Rxed Packets Ring 00 0 0 Rxed Packets Ring 01 0 0 Rxed Packets Ring 02 0 0 Rxed Packets Ring 03 0 0 Rxed Packets Ring 04 0 0 Rxed Packets Ring 05 0 0 Rxed Packets Ring 06 0 0 Rxed Packets Ring 07 0 0 Rxed Packets Ring 08 0 0 Rxed Packets Ring 09 0 0 PageUP PageDN to scroll Ins Del toggles refresh ESC to exit 9 68 nicstats cmd nicstats Description Display NIC Statistics Syntax nicstats lt c gt page 68 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide c Clear Statististics Example Load driver if driver is not loaded 0 gt loaddrv Reinitializing PCI Configuration Space Bus Number si Device Funtion 11 0 Base Address Oxfb010000 IRQ 9 Bringing up MAC driver OK PHY calculated ID 60008162 BCM5702 03 Internal Phy Rev 2 Configuring BCM54xx Done Determining Link Speed 1000Base T Full Duplex 0 gt nicstats Total Rate Txed Packets Ring 0 0 0 Txed Packets Ring 1 0 0 Txed Packets Ring 2 0 0 Txed Packets Ring 3 0 0 Tx Packets Enged Ring 0 0 0 Tx Packets Enged Ring 1 0 0 Tx Packets Enge
96. mc cmd addmc Description Add Multicast MAC Syntax addmc lt xx xXX XX XX XX XX gt Example 0 gt addmc FF FF 00 0A 00 00 9 143 delmc cmd delmc Description Delete Multicast MAC Syntax delmc lt xx XxX XX XX XX XX gt page 101 Broadcom Confidential and Proprietary 9 144 9 145 9 146 9 147 9 148 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Example 0 gt delmc FF FF 00 0A 00 00 txmacdes emd txmacdes Description Program Destination address to UUT Syntax txmacdes lt xx XX XX XX XX XX gt txmacsrc cmd txmacsre Description Program Source address to UUT Syntax txmacsrc lt XX XX XX XX XX XX gt chkiddrv emd chklddrv Description Check to see if driver is loaded Returns 1 if driver is loaded returns 0 otherwise Syntax chklddrv vlantag emd vlantag Description Display Clear vlanTag information Syntax vlantag Options C clear vlanTag info reg cmd reg Description register wizard This command allows user to view edit registers Syntax reg pcilmii offset page 102 Broadcom Confidential and Proprietary 9 149 9 150 9 151 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide exit cmd exit Description Exit System Syntax exit debug emd debug Description Display debugs information Syntax debug lt n gt 1 Dump TX RX Stats 2 Dump Clock Scale info 3 Clear worst interrupt latency 4 Toggle indirect access flag 5 Toggle
97. n s content for WOL setting When w 1 is entered with f software forces WOL enabled lt value gt enable PXE in manufacture mode After a successful manufacturing testing the program will program PXE to either enable or disable mode lt value gt 1 0 By default the PXE is programmed as disable Entering value 1 will enable PXE When f is entered software uses eeprom bin s content for PXE setting When x is entered with f software forces PXE enabled t lt id gt disable test T lt id gt enable test A certain test is enabled or disabled by default User can overwrite the enabling status by those options The test id must start with a letter A B C or D to indication the group and followed by test numbers Each digit of number represents the sub test number For example if the user wants to disable test Al and A3 The option t A13 should be entered If no test numbers entered all tests in that group are selected For the tests not specified the default setting will be used Example t A15BC1 T C4 t D2 page 17 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide This disables Al A5 B1 B2 B3 B4 B5 B6 C1 D2 and enables C4 Default Setting Enabled Tests Al A2 A3 A4 AS B1 B2 Indirect Register Test Control Register Test BIST Interrupt Test PCI Cfg Register Test Scratch Pad Test BD SRAM Tes
98. n Disassemble MIP instructions Syntax disasm address line 9 50 step cmd step Description Step MIP instructions Syntax step 9 51 go cmd go Description start CPU Syntax go 9 52 showgpr cmd showgpr Description toggles showing cpu gpr mode Syntax showgpr 110 9 53 pc cmd pc Description set current CPU PC Syntax pc page 61 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 9 54 breakpoint emd breakpoint Description set current CPU breakpoint Syntax breakpoint 9 55 select cmd select Description select current CPU Syntax select lt rlt gt 9 56 u cmd u Description Alias of disasm command Syntax u address line 9 57 trap cmd trap Description trap cpu memory Syntax trap lt low gt lt high gt off 9 58 cpuinfo cmd cpuinfo Description display cpu information Syntax cpuinfo rlt 9 59 cpugprstatus cmd cpugprstatus Description Display internal CPU GPR test status Syntax cpugprstatus page 62 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 9 60 cpugprrestart emd cpugprrestart Description Restart internal CPU GPR test Syntax cpugprrestart 9 61 cpufetch emd cpufetch Description Test CPU Instruction fetch logic with 1 1V and 1 3 V setting Syntax cpufetch 9 62 dmaw emd dmaw Description DMA from NIC to Host Memory Syntax dmaw Options 3 Force to use 32 bit bus 4
99. nPkts 07 COSIfHCInPkts 09 COSIfHCInPkts 11 COSIfHCInPkts 13 COSIfHCInPkts 15 nicDmaWriteQueueFull nicNoMoreRxBDs ifInErrors nicDmaReadQueueFull COSIfHCOutPkts 01 COSI fHCOutPkts 03 COSIfHCOutPkts 05 COSIfHCOutPkts 07 COSIfHCOutPkts 09 COSIfHCOutPkts 11 COSIfHCOutPkts 13 COSIfHCOutPkts 15 nicSendDataCompQueueFull nicRingStatusUpdate nicAvoidedInterrupts 000000000000o0o0o page 74 Broadcom Confidential and Proprietary macControlFramesReceived 000000000000000000000000000000000000 0000000000000oo Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 9 74 txcfg cmd txcfg Description Configure protocol packets for transmission Syntax txcfg Example 0 gt txcfg Source MAC Destination MAC Length 14 65535 Protocol Field Non 0 IP 1 ARP 2 BRM 3 Source IP Destination IP IP Protocol Field UDP 17 TCP 6 80 Source Port 81 Destination Port 9 IP Option Length 32 bit Words 10 TCP Option Length 32 bit Words 11 Pattern As is 0 Inc 1 Random 2 0s 3 ON HUBWNHE Packet Type Non 0 Ethv2 1 802 3 2 SNAP 3 10 11 12 00 01 02 1514 Ethernet IP 10 2 1 1 10 2 1 2 UDP 100 200 0 0 FFs 4 AA55 5 55AA 6 IP_Iden Inc 7 Load from file 8 OOf 8 9 OOFE16 10 OOFE32 11 OOLE 12 12 IP Checksum Offload YES 1 NO 0 13 TCP UDP Checksum Offload YES 1 NO 0O 14 TCP UDP Pseudo Checksum Only YES 1 NO 0 yi 15
100. nction This function tests the ability to enable disable access the expansion rom on the device Default Enabled C8 CPU Fetch Test Command cpufetch Function This CPU Instruction fetch logic with 1 1V and 1 3V setting Default Enabled 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 page 9 Broadcom Confidential and Proprietary 3 3 24 3 3 25 3 3 26 3 3 27 3 3 28 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide receive channel and receive by the receive routine which verifies the integrity of data One Giga bit rate is used for this test Default Enabled 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 Default Enabled 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 Default Disabled D4 1G False Carrier Test Command None 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
101. nd the value programmed into this location is ignored 11 Product Name Reference Description VPD Produce description string 12 Part Number Reference Description VPD part number 13 Engineering Change Reference Description VPD engineering change 14 Serial Number Reference Description VPD serial number 15 Manufacturing ID Reference Description VPD manufacturing ID 16 Asset Tag Reference Description VPD asset tag E Eat Revision PERROS Description VPD part revision 18 Voltage Configure Description Controls the voltage source level for the 5701 controller 1 3V 0 Selects a 1 3V source 1 8V 1 Selects a 1 8V source E Configure Description PCI bus operational mode configuration Enable 1 When enabled the device uses PCI mode instead of PCI X independent of the capabilities of the slot the device is plugged into Disable 2 When disabled the device uses the PCI mode of the slot the device is plugged into if the device is capable of operating in the required mode 20 PHY Type option no longer supported Configure Description PHY line type configuration Copper 1 The communication medium is copper Fiber 2 The communication medium is fiber page 40 Broadcom Confidential and Proprietary Broadco m NetXtreme Ethernet Adapter Diagnostic User
102. ntax bustest Options a lt HEX gt d lt HEX gt e lt DEC gt 8 h lt DEC gt i lt DEC gt 1 lt DEC gt n lt DEC gt 0 lt DEC gt p lt DEC gt s lt DEC gt t lt DEC gt v lt DEC gt L NIC address to DMA data to def 00002100 delay poll dma done polling def 00000000 End of test case def 259 Insert debugging information Maxmum length def 1024 Number of transactions per pattern def 10 Minimum length def 256 iteration Number of consecutive patterns def 1 DMA priority def 0 Start of test case def 0 Transient fixed pattern def 0 Verbose level 0 2 def 1 Loop There are total 260 test cases 258 unique tests cases which are described as follows Test case 64 65 Pattern ffffffff ff ff 00000000 00000000 ffffffff fffffffe 00000000 00000000 ffffffff fffffffdA 00000000 00000000 7fffffff ffffffff 00000000 00000000 00000000 00000000 fffffff ffffffff page 92 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 66 00000000 00000000 ffffffff fffffffe 67 00000000 00000000 ffffffff fffffffd 129 00000000 00000000 TEfIffff FLLLLLLE 130 00000000 00000000 ffffffff ffffffff repeat 131 00000000 00000001 fffffff ffffffff 132 00000000 00000002 f fffffff ffffff1f 194 80000000 00000000 fffffff ffffffff 195 Tfffffff f ffffff 00000000 00000000 repeat 196 ffffffff ffffffff 00000000 00000001 197 TIfff1ff
103. o 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 page 5 Broadcom Confidential and Proprietary 3 3 9 3 3 10 3 3 11 3 3 12 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Default Enabled B2 BD SRAM Test Command memtest b Function This test tests the BD SRAM This performs exact the same way of testing as described in B1 Scratch Pad Test Default Enabled 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 B4 MBUF SRAM Test Command memtest m Function It tests DMA SRAM by performing the tests described in test B1 The Scratch Pad Test Default Enabled 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
104. ode 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 1t 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 5705 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 1 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 Intel s Extensible Firmware Interface EFI on Intel IA64 systems OS Dos 6 22 or EFI V1 10 14 62 and newer Software b57diag exe for DOS and b57diag64 efi for EFI version 7 45 and newer Input File List The following files should be found in the same location of the b57diag eeS7xxyy yy TX amp RX CPUs Firmware file xx chip type yy version number eeprom bin Serial EEPROM FLASH config input file cpu bin or cpu05 bin CPU Instruction test cpu
105. ogram will test all the UUTs at the specified bus number Example bus 2 If bus number and device number have been specified the program will test all the UUTs with the specified bus number and device number Example bus 2 4 If bus number device number and function number have been specified the program will only test the UUT with the specified bus number device number and function number Example bus 2 4 1 This option should NOT be used along with c option dpmi Use DPMI memory allocation Use DPMI memory allocation method to allocate memory instead of malloc or free f lt file gt Program eeprom bin The program programs the content of the specified file into EEPROM before testing m Program MAC address If this option is entered the program will prompt user for a new MAC address to be enter scan before testing starts mac lt mac address gt Program MAC address from command line If this option is entered the program will retrieve MAC address right after the mac option is entered The mac address has to be entered in hex and as shown in the following example page 19 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide b57diag mac 001018010203 fmac lt file gt Program MAC address from a file If this option is entered the program will retrieve MAC address from the specified file before starts testing If the test passes the MAC address fr
106. om the specified file will be incremented if not it will stay unchanged The text file which contains the MAC address range has the following format and the numbers are in hexadecimal mac_addr_pref xxxxxx gt Which is the prefix of the MAC address mac_addr_start xxxxxx gt Which is the start of the address range mac_addr_end xxxxxx gt Which is the end of the address range Example mac_addr_pref 001018 mac_addr_start 000100 mac_addr_end OOOFFF Working in conjunction with f lt file gt option this fmac option is equivalent to option m Run program in Manufacturing Loop mode With this option the I iteration number option is ignored The program will run in manufacturing loop mode Power on off is supported After each test the program will prompt user to exchange the UUT before starts another testing Skip eeprom programming process With this option the program will skip the eeprom programming process However it will check for the eeprom content and print a warning message if the content is not valid The m and f combination will create the following behavior With both f and m Program will not validate the eeprom content and go ahead to prompt user for the MAC address It programs MAC address and EEPROM content and then checks the validity of eeprom content at the end of programming Loading EEPROM content from eeprom bin passed Programming EEPROM from eeprom bin passed
107. oprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Description Test memory blocks such as scratch pad BD sram DMA sram Mbuf external SRAM Running diagcfg can configure memory block ranges See diagcfg for detail Driver must be unloaded Syntax memtest iteration Options b n lt DEC gt P S X 9 108 setest cmd setest Test BD SRAM Test MBUF special Test DMA SRAM Test External Memory Test MBUF SRAM iteration The default iteration is 1 O means run forever Test CPU GPRs Test Scratch Pad Test MBUF SRAM via DMA Description Run NVRAM Test Syntax setest iteration Options e d lt HEX gt n lt DEC gt q r s lt HEX gt extensive test ending offset with e option def FFFFFFFF iteration quiet mode read only test start offset with e option def 00000000 page 88 Broadcom Confidential and Proprietary 9 109 9 110 9 111 9 112 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide bist emd bist Description Run BIST The default iteration is 1 O means run forever Syntax bist iteration nictest cmd nictest Description Run a set of NIC Tests NIC test can include memory test serial eeprom test interrupt test packet exchange MAC registers test Mii registers test cpu test dma test This test can to be configured by running diagcfg See diagcfg for details If a test list is not en
108. pace is 5d ERR_INVALID 44 Invalid s ERR_WRITE 45 Failed writing 0x x to 0x x CMD_QUIT 46 687 r ERR_CPU_MEM_ERR 47 Ss CPU access error 08X expected 08X but got 08X ERR_ENDIF 48 ERR_ROM_D_DATA 49 ROM disable error data returned while disabled page 121 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide ERR_CHIP_NOT_RUNNING 50 driver ERR_NO_REG_DEF 51 ERR_ASF_RST 52 ERR_ASF_ATTN_LOC 53 ERR_ASF_RST_VAL 54 ERR_ASF_PA_TIMER 59 e ERR_ASF_PA_CLEAR 56 ERR_ADF_NO_STAMP 57 ERR_ADF_NO_TIMER 58 ERR_ASF_EVENT 59 ERR_EEP_FILESIZE 60 bytes ERR_MAGIC_VALUE 61 208x ERR_EEP_FMT 62 son ERR_EEP_BOOTVER 63 d d ERR_EEP_CANNOT_WRITE 64 ERR_EEP_CANNOT_READ 65 ERR_BAD_CHECKSUM 66 ERR_BAD_MAGIC_VALUE 67 ERR_MAC 68 202X ERR_BUS 69 02X 02X 00 ERR_SPEC_MEM 70 0x 08 ERR_NOT_SUPPORT 71 ERR_BAD_CRC TQ E ERR_MII_ERR_BITS_SET 73 ERR_INIT_MAC 74 correctly ERR_FW_FILE_FORMAT 75 ERR_RESET_TX_CPU 716 ERR_RESET_RX_CPU 717 ERR_INVALID_MAC_ADDR 78 ERR_MAC_REG TOs ERR_BOOTCHECKSUM 80 ERR_VPD_READONLY 81 08X at 04X ERR_VPD_READ 82 ERR_MEM_READ 83 ERR_MEM_WRITE 84 ERR_
109. pattern to be used for memory init def 00000000 f lt string gt filename for bemediag compatibility I don t initialize memory before loading def yes m don t turn on CPU Trace def 0n S don t start cpu t load to tx cpu def rxpcu V disable verbose 9 44 cpudtt cmd cpudtt Description Read and display TX CPU trace not valid for 5705 Syntax cpudtt lt begin_addr gt end_addr num_bytes Address range 0x00 0x80 Example 1 Read and display TX CPU trace from location 0x00 to 0x04 0 gt cpudtt 0 5 000 t0000002f c0000000 00000000 00000000 00000000 00000000 001 t00000000 00000000 00000000 00000000 00000000 00000000 002 t00000000 00000000 00000000 00000000 00000000 00000000 003 t00000000 00000000 00000000 00000000 00000000 00000000 004 00000000 00000000 00000000 00000000 00000000 00000000 2 Read and display 4 locations of TX CPU trace from start from location 0x00 0 gt cpudtt 0 5 000 MainCpuB t0000002f c0000000 00000000 00000000 00000000 00000000 001 t00000000 00000000 00000000 00000000 00000000 00000000 002 t00000000 00000000 00000000 00000000 00000000 00000000 003 t00000000 00000000 00000000 00000000 00000000 00000000 9 45 cpudrt emd cpudrt Description Read and display RX CPU trace not valid for 5705 page 59 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Syntax cpudrt lt begin_addr gt end_addr num_bytes Address range 0x00
110. plex unloaddrv cmd unloaddrv Description Unload NIC driver Syntax unloaddrv Example 0 gt unloaddrv Unloading MAC driver OK machalt cmd machalt Description Halt MAC controller page 100 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Syntax machalt Example 0 gt machalt Halting MAC OK 9 141 ftq cmd ftq Description Dump FTQ Syntax ftq Example 0 gt ftq Dump FTQ Peak Write Control Full Counter Write Peak DMA Read FTQ 1 00000000 00000000 20000000 DMA High Read FTQ 2 00000000 00000000 60002160 DMA Write FTQ 6 00000000 00000000 20000000 DMA High Write FTQ 7 00000000 00000000 20000000 DMA Complete Dx FTQ 3 00000000 00000000 20000000 Send BD Comp FTQ 4 00000000 00000000 20000000 Send Data Init FTO 5 00000000 00000000 20000000 Send Data Comp FTQ 9 00000000 00000000 20000000 Rx BD Complete FTO 13 00000000 00000000 60002160 Rx Data Complete FTQ 16 00000000 00000000 20000000 S W Type 1 FTQ 8 00000000 00000000 20000000 Host Coalescing FTQ 10 00000000 00000000 2000 00000000 MAC TX FTQ 11 00000000 00000000 2000 00000000 Mbuf Cluster Free FTQ 12 00000000 00000000 2000 00000000 RX List Placement FTQ 14 00000000 00000000 2000 00000000 RX Data Initiator FTQ 15 00000000 00000000 2000 00000000 S W Type 2 FTQ 17 00000000 00000000 2000 00000000 9 142 add
111. port the memory infomation delvar Delete local variables regdump Dump register content to a file regcomp Compare register content to a file regrestore Restore register content from a file Command Group bridge readbr Read bridge s configuration space writebr Write bridge s configuration space findbridge Find all bridges in the system bridge Switch to specified bridge pere Enable parity error response on a bridge perd Disable parity error response on a bridge peclr Clear parity error on bridge pechk Clear parity error on a bridge page 32 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 7 Special Instruction 1 Mac register test Unload MAC driver before running test 2 Memory test Unload MAC driver before running test 3 DMA test Unload MAC driver before running test 4 TX RX packets TX sides need to be configured txcfg RX sides need to be configured rxcfg Configure MAC and PHY loop back Call txpkt to transmit packets 5 The following tests need to setup test configuration before running To setup test configuration run diagcfg Diag config can be saved in system for future use Test Memory test NIC test 6 Unload driver before power down NIC card 7 Load driver after power up NIC card 8 Blast Test Load MAC driver before running test page 33 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s
112. rd Options d lt DEC gt Delay in uS def 0 n lt DEC gt Number of read write accesses def 1 r lt string gt Register offset 9 83 mwrite cmd mwrite Description Write PHY registers via MII Management interface Syntax mwrtie lt addr gt lt data gt Address range 0x00 Ox1F Example 1 Write 0x15 to MII register 2 0 gt mwrite 2 15 9 84 mread cmd mread Description Read PHY registers via MII Management interface Syntax mread lt begin gt lt end gt lt len gt Address range 0x00 Ox1F Example 1 Read MII register 0 0 gt mread 0 00 1100 2 Read MII registers O to 10 page 78 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 0 gt mread 0 10 00 1100 7949 0020 6051 Olel1 0000 0004 2001 08 0000 0300 0000 0000 0000 0000 0000 3000 10 0002 3 Read 5 MII registers start from register 0 0 gt mread 0 5 00 1100 7949 0020 6051 Olel 9 85 mdev cmd mdev Description Select current PHY to be accessed The default device ID is 0x01 If no parameter is entered it displays current phy address setting Syntax mdev lt phy_id gt Example 0 gt mdev 1 Phy Address 1 9 86 miimode cmd miimode Description Select Auto Mode of MII Access 0 disable 1 enable Syntax miimode lt 110 gt Example 0 gt miimode O Setting MII auto mode to OFF 0 gt miimode 1 Setting MII auto mode to ON 0 gt miimode 9 87 lbertram
113. re is used to execute a field upgrade of IPMI firmware The firmware is programmed into a the device s specified by c option switch if IPMI firmware is originally loaded in NVRAM Ibspd lt spd gt selects the line speeds to run test D3 external loopback The external loopback test by default runs lines speeds of 10 100 1000 Mbits s The user can select to run any combination of the line speeds to run the external loopback via this option The lt spd gt parameter specifies the operational speed by using t h g for 10 100 1000 Mbits s respectively To run test D3 at a 100 Mbits s line rate the user would enter b57diag abcd T d3 Ibspd h To run test D3 at a 100 Mbits s and 1 Gbit s the user would enter b57diag t abcd T d3 lbspd hg hlb lt spd gt puts the UUT into the host loopback mode All data sent to the device on the line side will be looped back to the line This setup can be used to test a specific device with an external tester or can be used with the tr option to perform a requestor response test The optional lt spd gt parameter specifies the operational speed by using 10 100 1000 for 10 100 1000 Mbits s respectively The default value is 1000 Mbits s lt pkts gt lt spd gt the UUT transmits and receives data The UUT will transmit the number of packets specified by lt pkts gt The default number of packets transmitted is 1 000 000 The UUT will receive all packets sent to it via the line sid
114. rnal loopback test that will transmit data from the DUT to the reference device via the CAT5 cable then the reference device will receive the data and transmit it back via the CATS5 cable to the DUT which will verify the received data 8 3 Other Options for the Send Respond test The following options can be used with the send respond test details of each option are provided in the Command line option parameters section above lbspd t h g Selects any combination of line speed to run the loopback test by default runs all line speeds lbe g h t Selects the number of packets to send during the loopback test g h amp t are the 1000 100 10 megabit packet counts respectively default values are g 2000 h 1000 t 600 It is mandatory that all packets counts are entered with this command line switch page 34 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 9 Test and Functions Description 9 1 vpdwrite cmd vpdwrite Description Write data to VPD storage Syntax vpdwrite lt start end len value gt lt filename gt File format Address range 0x00 OxFF num_bytes 256 max If only one argument is entered filename is assumed Otherwise start len value format must be used 9 2 vpdread cmd vpread Description Read data from VPD storage Syntax vpdread start end len Address range 0x00 OxFF num_byte 256 m
115. ry device and MAC_B is mapped in the space of MAC_A To the OS and BOIS this looks like one port The driver will trunk the two ports together as one logical port which allows for load balancing failover recovers turbo teaming etc swap 4 Physical port MAC_A and MAC_B are available and are supported as PCI function 1 and O respectively swapXBAR 7 MAC_A and MAC_B are available and are supported as PCI function 0 MAC_B is the primary device and MAC_A mapped in the space of MAC_B To the OS and BOIS this looks like one port The driver will trunk the two ports together as one logical port which allows for load balancing failover recovers turbo teaming etc 26 MBA Boot Protocol Configure Description Select a Multiple Boot Agent Options 8 9 26 29 and 39 40 configure the boot protocol behavior PXE 0 PreBoot Execution Environment PXE is the boot protocol RPL 1 Remote Program Load RPL is the boot protocol BOOTP 2 Boot Protocol BOOTP is the boot protocol ISCSI 3 ISCSI is the boot protocol 27 MBA Bootstrap Type Configure Description The BIOS bootstrap methods listed below are supported Options 8 9 26 29 and 39 40 configure the boot protocol behavior Auto 0 Automatically configured use one of the methods below BBS 1 A BIOS that supports the BIOS Boot Specification BBS can initiate the bootstrap method via the expansion ROM
116. s Bootstrap Entry Vector Int18 2 A INT18 is used to initiate the bootstrap method Int19 3 A INT19 is used to initiate the bootstrap method 28 MBA Delay Time Configure Description The amount of time the MBA boot message is displayed in order to give a user the option to enter the BOOT parameter configuration screen 0 15 The number of seconds the MBA banner is displayed 29 Expansion ROM size Configure Description This value determines the size of the expansion ROM This option does not apply to PXE in system ROM Options 8 9 26 29 and 39 40 configure the boot protocol behavior 64k 0 Advertises 64k expansion ROM size 128k 1 Advertises 128k expansion ROM size 256k 2 Advertises 256k expansion ROM size 512k 3 Advertises 512k expansion ROM size 1M 4 Advertises 1M expansion ROM size 2M 5 Advertises 2M expansion ROM size 4M 6 Advertises 4M expansion ROM size 8M 7 Advertises 8M expansion ROM size 16M 8 Advertises 16M expansion ROM size 30 Design Type Configure page 42 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Description Select NIC or LOM based Ethernet controller NIC 0 Option selected for a plug in network interface card LOM 1 Option selected for a LAN on motherboard Note The firmware and the drivers use this to determine the operational character
117. s Guide 21 Led Mode Configure Description A device can be configured to use one LED to indicate speed and activity or three LEDs Use a devices data sheet to verify the LED modes supported by a devices and for exceptions to the LED modes described below Mac Mode 0 The LEDs are controlled by the value in the Mac LED Control Register Phy Mode1 1 Three LEDs are used for 10 100 1000 Mbits s and each is driven individually by the device Phy Mode2 2 One LED is used for 10 100 1000 Mbits s and is connected as described below 5700 01 The Link10 line will indicate link for all speeds Link100 and Link1000 will encode the line speed as show in the following table Link 100 Link 1000 Speed 0 1 0 0 10 Mbits s 100 Mbits s 0 1 1000 Mbits s For all other 57xx devices the three link lines operate in an open drain configuration and can be tied together with a pull up resistor to control a LED SharedTraffic Mode specific to the 575x and 572x chips The link LED performs a dual 3 role solid when there is a link and blinks when there is activity Shasta Mac Mode specific to the 575x and 572x chips The link LED blinks only when Mode 4 traffic is for Shasta Wireless Mode specific to the 575x and 572x chips When link is lost the LEDs are Combo 5 driven by inputs pins that are connected to the LED signals of a wireless link 22
118. s menu Enter your choice option paramter gt 0 Diagnostics Configuration Menu 1 2 Memory Test Configuration Menu Test Configuration Menu page 108 Broadcom Confidential and Proprietary 9 165 9 166 9 167 9 168 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide 3 Driver Configuration Menu 4 Abort On Failure is enabled 5 Save Configuration Enter your choice or ESC to exit gt reset cmd reset Description Reset Chip Syntax reset Options c Simulate cold reset t Display time from reset to firmware invert signature W Wait for firmware signature quit cmd quit Description Exit System Syntax quit smbus cmd smbus Description ASF terminal Run this command to access SMBus the parameter al and a2 are one byte value to specify the NIC SMBus Addresses It sets to O by default Syntax smbus a1 a2 Options S Run in slave mode cls cmd smbus Description Clear Screen Syntax cls page 109 Broadcom Confidential and Proprietary 9 169 9 170 9 171 9 172 9 173 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide loop emd loop Description loop on command Syntax loop iteration lt cmd gt lt parameter gt dbmode cmd dbmode Description Set DEBUG Mode to On or Off Mode Syntax dbmode onloff asf cmd asf Description run asf monitor program with option to Load asf firmware image This routine loads firmware images
119. ster 4 Check MBUF header corruption 5 Dump all MBUF headers m lt HEX gt display mode 0 decode 1 in hex def 00000000 n lt DEC gt MBUF number to display decode def 256 W MBUF workaround Example 1 Display MBUF chain 0 gt mbuf chain gt 143 gt 144 gt 145 gt 146 gt 147 gt 148 gt 149 gt 14a gt 14b gt 14c gt 14d gt 14e gt 14f gt 150 gt 151 gt 152 gt 153 gt 154 gt 155 gt 156 gt 157 gt 158 gt 159 gt 15a gt 15b gt 15c gt 15d gt 15e gt 15f gt 160 gt 161 gt 162 gt 163 gt 164 gt 165 gt 166 gt 167 gt 168 gt 169 gt 16a gt 16b gt 16c gt 16d gt 16e gt 16f gt 170 gt 171 gt 172 gt 173 gt 174 gt 175 gt 176 gt 177 gt 178 gt 179 gt 17a page 99 Broadcom Confidential and Proprietary 9 138 9 139 9 140 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide loaddrv emd loaddrv Description Load Driver Syntax loaddrv Options 4 lt HEX gt Enable 4k aligned memory def 00000000 o lt HEX gt Allocate memory with specified offset def 00000000 j Allocate memory for Jumbo packet t Allocate memory for TCP Segmentation f Force Link to Max Speed Example 0 gt loaddrv Reinitializing PCI Configuration Space Bus Number oL Device Funtion 11 0 Base Address Oxfb010000 IRQ 9 Bringing up MAC driver OK PHY calculated ID 60008162 BCM5702 03 Internal Phy Rev 2 Configuring BCM54xx Done Determining Link Speed 1000Base T Full Du
120. t B3 B4 B5 Cl C2 C3 C4 CS C6 C7 Dl D2 DS D6 DMA SRAM Test MBUF SRAM Test MBUF SRAM via DMA Test NVRAM Test CPU Test DMA Test MII Test VPD Test ASF Test ROM Expansion Test Mac Loopback Test Phy Loopback Test MII Miscellaneous Test MSI Test Disabled Tests B6 D3 I lt num gt External SRAM Test RJ45 Loopback Test iteration number Use this option to specify the number of times the tests to be run The default is run one time A number zero indicates loop forever A control C or control break key can be used to break the loop Any error detected will also stop testing after reporting the error Example ver I5 Run tests five times display current version number If this option is entered it displays the software version number silkscreen revision and then exits the program page 18 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide e lt code gt Encryption Code This option is required to use option geneep f m n mac and s geneep lt file gt Generate eeprom bin file from eeprom txt A password is needed to run this option With this option it updates the specified eeprom binary file with the specifications defined in eeprom txt Please see Section 5 0 EEPROM TXT format for detailed argument description bus lt bus dev func gt Test UUT location If only bus number has been specified the pr
121. tered below then a set of default tests are run Syntax nictest test list abcd runs all tests b runs all test in group B a3 bl runs test a3 and b1 only a124b2 runs test al a2 a4 and b2 Options e run NVRAM verification also n lt DEC gt iteration intrtest cmd intrtest Description Interrupt Test Syntax intrtest iteration Options n lt DEC gt iteration The default iteration is 1 O means run forever pkttest Command pkttest page 89 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Description Perform MAC and or PHY loopback test This test will send 100 packets in incremental length and check for contents of loopbacked packets Syntax pkttest lt iteration gt Options M n lt DEC gt P 9 113 cputest cmd cputest run external loopback test run mac loopback test iteration The default iteration is 1 O means run forever run phy loopback test Description TX RX CPU Test This test needs an input CPU file in the same location as b57diag exe The default file name is cpu bin or cpu05 bin unless specified by f option Syntax cputest iteration Options f lt string gt n lt DEC gt 9 114 dmatest cmd dmatest input filename iteration The default iteration is 1 O means run forever Description DMA Test Syntax dmatest iteration Options 4 a lt HEX gt Allocate 4k aligned buffers
122. to the test range and read back to verity the content After the test it fills data with zero to clear the memory Default Enabled 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 C3 DMA Test Command dmatest page 7 Broadcom Confidential and Proprietary 3 3 18 3 3 19 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide Function Both high and low priorities DMA are tested It moves data from host memory to NIC SRAM verifies data and then moves data back to host memory again to verify data Default Enabled 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 OXffff 0x0000 0x03 OXffff 0x0000 0x04 0x0000 Oxffff 0x05 Oxefff 0x0000 0x06 0x0001 0x0000 0x07 0x0800 0xb7ff 0x
123. tring gt m r lt DEC gt PCI Config Reg filename MII Registers Mac Registers def 1 page 116 Broadcom Confidential and Proprietary 9 195 9 196 9 197 Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide nvsize cmd nvsize Description Programs the NVRAM and TPM size in Kbyte to NVRAM If NVRAM amp TPM options are entered they are programmed to NVRAM If NVRAM amp TPM options are NOT entered calculated values are programmed Use a zero value for NVRAM amp TPM to erase the programmed values Syntax nvsize NVRAM TPM Options d Display Present Size Programmed Into NVRAM D Specify NVRAM amp TPM size in decimal dflt hex aspm cmd aspm Description Configure the PCI E Link power state operation at the root complex and the device under test Power state option described below 0 ASPM disable s ASPM LOs enabled 1 ASPM LI enabled a ASPM LOs and L1 enabled Syntax aspm e Olsl1la r Olsl1la x 011 d 1 Options r lt string gt Configure root complex device e lt string gt Configure endpoint Broadcom device dut x lt DEC gt Enable ExtendedSync mode for root complex and endpoint def 0 d Display present ASPM State i Ignore all previous ASPM setting after a chip reset dids cmd dids Description The feature outputs the following information PCI DID VID SDID amp SVID MAC address Firmware revision PXE PXESpd WOL ASF MBA Bond Rev
124. uit smbus cls loop dbmode asf new asfprg sleep fillpattern inp outp switch do txfill wbuf rbuf register wizard Exit the System debug functions Write a Value into GPIO pin Read GPIO Value Load PXE Code to MBUF Memory Show or Switch Device Display Program Version Display the Commands Available Alternate Help Command Change System Radix Close the Current Logfile Open Logfile Initialize PCI Configuration Registers Scan for All PCI Devices Execute DOS command Configure Diagnostics Reset Chip Exit the System ASF terminal Clear Screen loop on command Set DEBUG Mode to On or Off Mode run asf monitor program with option to Load asf firmware image Display new command available Program asf firmware into NVRAM suspense process for Excute command from a file Fill WOL matching pattern into Misc Memory Loacation input port output port Altinate device command Excute command from a file Fill tx buffer with pattern and packet length 14 9018 Write txlrx buffer with specified data at offset Read txIrxlbistinlbistoutlbistex buffer page 31 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide cpbuf Copy the content of rx buffer into tx buffer echo echo lt string gt to screen pause Pause for user to hit a key q Exit the System alias name for quit verbose change verbose setting beep Create a beep sound var Display current variables meminfo re
125. wing message Warning primary device WOL is disabled By default all commands configure the primary channel until the command MAC is used to select other channel Syntax lt Command gt lt Argument gt XX 8 bit hex number XXXX 16 bit hex number XXXXXXXX 32 bit hex number d decimal number ranges from 0 to 255 string n string of maximum size n cc 2 bytes character n1 n2 a number ranges from n1 to n2 MAC_PREFIX XXIXX XX POWER_DISSIPATCHED d d d d POWER_CONSUMED d d d d SYSTEM_VENDOR_ID XXXX SYSTEM_DEVICE_ID XXXX SUBSYSTEM_VENDOR_ ID XXXX SUBSYSTEM_DEVICE_ID XXXX PXE enable disable PXE_ SPEED auto 10hd 10fd 100hd 100fd WOL enable disable CABLE_SENSE enable disable PRODUCT_NAME string 48 PART_NUMBER string 16 ENGINEERING_CHANGE string 10 MANUFACTURING_ID string 4 page 25 Broadcom Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide ASSET_TAG string 16 VOLTAGE_SOURCE 1 3 1 8 FORCE _PCI enable disable PART_REVISION cc LED_MODE Triple_link link_speed or phy_mode1 phy_mode2 PHY_TYPE Copper Fiber PHY_ID XXXXXXXX MAX_PCI_RETRY 0 7 auto ASF enable disable DUAL MAC MODE normal macO mac1 xbar swap swapxbar normal Ch 0 and Ch 1 enabled maco Ch 0 enabled Ch 1 disabled maco Ch 0 disabled Ch 1 enabled xbar Both MACs shares one function in PCI configuration spac
Download Pdf Manuals
Related Search
Related Contents
Dental System by 3 shape procesador de vegetales torrey manual de usuario Axis P3364-LVE 資料4 幼稚園・学校におけるホルムアルデヒド濃度測定マニュアル (PDF Samsung SC88H0 manual de utilizador(Windows 7) WD My Cloud Expert/Business Storage Drive User Manual HQ Power ALISON II Copyright © All rights reserved.
Failed to retrieve file