background image

Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide 

page 14 

Broadcom Confidential and Proprietary 

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 <hex1> | <hex2>…|<hex3> 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 = 0x6c) 

   
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 0 –e b57kia –pasf asf.bin –smbaddr 66 –t abcd 

 

-mfct <filename>  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 <filename>. The format of <filename> is specified in the 
“EEPROM.TXT format” section below. 

-sil   

suppresses warning messages of the “-firm” and “-firmall” 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 <x>  

 

 

selects a reference device to use during external loopback 

Summary of Contents for NetXtreme BCM570 Series

Page 1: ...m Confidential and Proprietary Broadcom NetXtreme Ethernet Adapter Diagnostic User s Guide B57diag Version 10 41 Date 2 01 07 Prepared by Tak Tomita Updated by Paul Nguyen Austin Hui Carlton Joseph Vanessa Jia ...

Page 2: ... 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 ...

Page 3: ...5 MBUF SRAM via DMA Test 6 3 3 13 B6 External SRAM Test 7 3 3 14 B7 CPU GPR Test 7 3 3 15 C1 EEPROM Test 7 3 3 16 C2 CPU Test 7 3 3 17 C3 DMA Test 7 3 3 18 C4 MII Test 8 3 3 19 C5 VPD Test 8 3 3 20 C6 ASF Test 9 3 3 21 C7 ROM Expansion Test 9 3 3 22 C8 CPU Fetch Test 9 3 3 23 D1 Mac Loopback Test 9 3 3 24 D2 Phy Loopback Test 10 3 3 25 D3 RJ45 Loopback Test 10 3 3 26 D4 1G False Carrier Test 10 3 ...

Page 4: ...ASFMBOX 63 10 15 FLSHMODE 64 10 16 FLSHREAD 64 10 17 CHKPXE 64 10 18 DIR 64 10 19 ERASE 64 10 20 PXEPRG 64 10 21 FLSHDEV 65 10 22 BITBANG 65 10 23 SECLOCK 65 10 24 SETORTURE 65 10 25 SEINIT 66 10 26 SEARB 66 10 27 SEPROTECT 66 10 28 SELCLOCK 66 10 29 SEMAP 66 10 30 SETWOL 67 10 31 SETPXE 67 10 32 SETASF 67 10 33 SECOMP 67 10 34 DRESET 68 10 35 USERBLOCK 68 10 36 SETMBA 68 10 37 SEGENCRC 68 10 38 S...

Page 5: ...0 71 PHYCTRL 85 10 72 TXPKT 85 10 73 STATUSBLK 87 10 74 STSBLK 87 10 75 TXCFG 88 10 76 RXCFG 89 10 77 TPROT 89 10 78 QSTAT 89 10 79 DRVRCFG 90 10 80 IRT 90 10 81 MACMRD 90 10 82 MIIMRD 91 10 83 PCIMRD 91 10 84 MWRITE 92 10 85 MREAD 92 10 86 MDEV 92 10 87 MIIMODE 93 10 88 LBERTRAM 93 10 89 DBERTRAM 93 10 90 BERTSTATS 94 10 91 RM 94 10 92 MRLOOP 94 10 93 PHYMSE 94 10 94 INITPHY 94 10 95 MEMSEARCH 94...

Page 6: ...PETEST 109 10 127 ERRCTRL 109 10 128 SEDVT 109 10 129 MIIMISCTEST 110 10 130 CPUGPRTEST 110 10 131 DMASHASTA 110 10 132 BINCHKSUM 111 10 133 PMDCFG 111 10 134 PMPD 111 10 135 INTR 112 10 136 INTRCTRL 112 10 137 INTT 112 10 138 MBUF 112 10 139 LOADDRV 113 10 140 UNLOADDRV 114 10 141 MACHALT 114 10 142 FTQ 114 10 143 ADDMC 115 10 144 DELMC 115 10 145 TXMACDES 115 10 146 TXMACSRC 115 10 147 CHKLDDRV ...

Page 7: ...182 WBUF 127 10 183 RBUF 127 10 184 CPBUF 127 10 185 ECHO 127 10 186 PAUSE 127 10 187 Q 128 10 188 VERBOSE 128 10 189 BEEP 128 10 190 VAR 128 10 191 MEMINFO 129 10 192 DELVAR 129 10 193 REGDUMP 129 10 194 REGCOMP 129 10 195 REGRESTORE 130 10 196 NVSIZE 130 10 197 ASPM 130 10 198 DIDS 131 10 199 SERIAL 131 10 200 POWER 131 10 201 READBR 131 10 202 WRITEBR 132 10 203 FINDBRIDGE 132 10 204 BRIDGE 132...

Page 8: ...BCM570x Diagnostic User s Guide page viii Broadcom Confidential and Proprietary 10 217 SECFGHWSB2 137 10 218 SECFGHWSB3 137 10 219 ESWITCH 138 11 ERROR MESSAGES 139 ...

Page 9: ...BCM570x Diagnostic User s Guide page ix Broadcom Confidential and Proprietary ...

Page 10: ...plays an error and exits the program When the program is in engineering mode it prompts user to enter commands The commands are explained in the later chapters This document provides the information on configuration file specification command line options and engineering diagnostic commands on Broadcom NetXtreme Ethernet adapter in particular to check out the functionality of the BCM5700 5705 and ...

Page 11: ...st The following files should be found in the same location of the b57diag ee57xxyy yy TX RX CPUs Firmware file xx chip type yy version number eeprom bin Serial EEPROM FLASH config input file cpu bin cpu05 bin cpu14a bin cpu14b bin or cpusj bin CPU Instruction test cpudiag bin or cpudg05 bin CPU Accessing test flshdiag bin flashdg05 bin flashdg 14a bin flashdg 14b bin flashdgsj bin flahdg5x bin um...

Page 12: ...pt Test A4 BIST A5 PCI Cfg Register Test A6 Serial Number Reg Test A5 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 Lo...

Page 13: ... 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 3 3 3 A3 Interrupt Test Command intrtest Function This test verifies the interrupt functionality It enables interrupt and waits for interrupt to occur It waits for 500ms and rep...

Page 14: ...aa55aa Alternate Data Pattern Test Write test data into SRAM Write complement test data into next address Read back both data to insure the data is correct After the test the program reads back data one more time to insure the data stays correct The test data used is 0x00000000 0xffffffff 0xaa55aa55 and 0x55aa55aa Address Test Write each address with unique increment data Read back data to insure ...

Page 15: ...tern 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...

Page 16: ...ng the tests described in test B1 The Scratch Pad Test Default Disabled 3 3 14 B7 CPU GPR Test Command memtest b Function This test tests the CPU General Purpose Registers This performs exact the same way of testing as described in B1 over 3 voltages 1 1V 1 2V 1 3V Default Enable 3 3 15 C1 EEPROM Test Command setest Function An increment test data is used in EEPROM test It fills the test data into...

Page 17: ...efault Register table The test will try to read the register configuration file miireg txt for the register defines If the file does not exists the following table is used Offset R O Mask R W Mask 0x00 0x0000 0x7180 0x02 0xffff 0x0000 0x03 0xffff 0x0000 0x04 0x0000 0xffff 0x05 0xefff 0x0000 0x06 0x0001 0x0000 0x07 0x0800 0xb7ff 0x08 0xffff 0x0000 0x09 0x0000 0xff00 0x0a 0x7c00 0x0000 0x10 0x0000 0...

Page 18: ...g a value 1 into each PL PA HB WG RT counters Set TSC_EN bit Poll each PA_TO bit and count up to 50 times Check if PL_TO gets set at the end of 50 times Continue to count up to 200 times Check if all other TO bits are set and verify Timestamp Counter is incremented Default Enabled 3 3 21 C7 ROM Expansion Test Command romtest Function This function tests the ability to enable disable access the exp...

Page 19: ...25 D3 RJ45 Loopback Test Command pkttest e Function This is external loopback test From the UUT point of view no loopback mode is configured The data expected to be routed back by RJ45 loopback connector 10M s 100M s and 1000M s are used for this test Please note if the device supports E Switch such as 5756 the test is performed on both laptop mode and docking mode To perform the test only on the ...

Page 20: ...and msitest Function Testing Message Signaled Interrupt Function to see if it handles this interrupt correctly Default Enabled 3 3 29 E1 1G Wire Open Short ZERO LEN LB RJ45 Test Command nictest e1 Function An external loopback test is performed at 10 100 1000 Mbits s A zero length loopback connector is placed at the RJ45 connector of the LOM NIC After running the loopback test at 1000 Mbits s the ...

Page 21: ... 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 optio...

Page 22: ...xample b57diag e code c 0 piscsi bin piscsiprg piscsi1 filename used for field program of ISCSI firmware The feature is used to execute a field upgrade of NVRAM to add ISCSI firmware The firmware is programmed into a the device s specified by c option switch smbaddr hex1 hex2 hexn used for programming SMBus Address for ASF IPMI firmware The feature will allow user to program SMBus Address for ASF ...

Page 23: ...ke multiple parameters in HEX Example a smbaddr 45 SMB Address 0x45 b smbaddr 45 6c SMB Address for 1st device 0x45 and 2nd device 0x6c 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 0 e b57kia pasf asf bin smbaddr 66 t abcd mfct filename updates the PCI SSID an...

Page 24: ...for the D4 1G False Carrier loopback test During the test packets are sent out in groups of 200 The user specified m200 value determines the number of 200 packet groups to send out The default value is m200 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 e...

Page 25: ... of the PCI DID VID SDID 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 Configuration Block of the firmware will also be preserved Three addition command line parameters updateasfcfg updatesecfg updateiscsicfg and sil can be used along with firmall command updateasfcfg update the advance f...

Page 26: ... enter b57diag t abcd T d3 lbspd hg hlb spd 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 spd parameter specifies the operational speed by using 10 100 1000 for 10 100 100...

Page 27: ...x value enable PXE in manufacture mode After a successful manufacturing testing the program will program PXE to either enable or disable mode value 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 1 is entered with f software forces PXE enabled t id disable test T id enable test A certain te...

Page 28: ... MSI Test Disabled Tests B6 External SRAM Test D3 RJ45 Loopback Test I num 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 I 5 Run tests five times ver display ...

Page 29: ...d 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 file 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 ...

Page 30: ...m will prompt user to exchange the UUT before starts another testing s 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 ...

Page 31: ...t 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 file passed Programming EEPROM from file passed Checking EEPROM content passed d no m and f options P...

Page 32: ...rmware 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 file Program PXE firmware This option needs to follow the e and c options If this option is entered the program will retrieve the PXE firmware filename from the command line then ...

Page 33: ...ch Disable E Switch Act like engineering mode eswitch f command Disable the E Switch on the device that support eswitch such as 5756 Without this option PHY loopback test external loopback test pkttest e and carrier test are performed on both laptop mode and docking mode With this option above tests are performed on the default port h High Resolution 80x50 Video Mode p Print on error q Quick diagn...

Page 34: ...ce lbm n Option to set mac loopback packets lbp n Option to set phy loopback packets lbe n n n Option to set external loopback packets Format 1000Mbps 100Mbps 10Mbps 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 35: ...ing steps can be followed to recover the missing device 1 Use a PCI scan tool to scan all PCI devices in the system Find out the vendor id and device id of the missing device 2 Run B57diag with seldev option switch to detect the missing device e g a b57diag b57eng seldev 14e411677 3 In B57diag engineering mode clear the Magic value in the NVRAM e g 0 sewrite 0 0 4 Reprogram the Bootcode firmware w...

Page 36: ...the user try to enable secondary device s WOL the primary s WOL setting will be disabled with the following 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 Command Argument xx 8 bit hex number xxxx 16 bit hex number xxxxxxxx 32 bit hex number d decimal number ranges from 0 to 255 strin...

Page 37: ...4K 128K 256K 512K 1M 2M 4M 8M 16M DESIGN_TYPE nic lom VENDOR_SPECIFIC0 string 16 VENDOR_SPECIFIC1 string 16 REVERSE_NWAY yes no WOL_LIMIT_10 yes no FIBER_WOL_CAPABLE yes no CLOCK_RUN_SETTING enable disable DISABLE_POWER_SAVING yes no HIDE_MBA_SETUP_PROMPT enable disable MBA_SETUP_HOT_KEY Ctrl S Ctrl B ENABLE_AUTO_POWERDOWN yes no CAPACITIVE_COUPLING enable disable PRI_SMB_ADDR Hex value SEC_SMB_AD...

Page 38: ...ggested default values will be used If x0 is 2 user defined values will be used x1 Power Budgeting Data 0 Power Budgeting Data 1 x2 Power Budgeting Data 2 Power Budgeting Data 3 x3 Power Budgeting Data 4 Power Budgeting Data 5 x4 Power Budgeting Data 6 Power Budgeting Data 7 User defined values will be used Suggested Product Name is Broadcom NetXtreme Gigabit Ethernet Controller If VPDR_SYSTEM_DEF...

Page 39: ...Engineering Change 106679 15 3 Serial Number 0123456789 4 Manufacturing ID 14e4 5 Read only VPD Vendor Specific Data V0 6 Product Name Broadcom NetXtreme Gigabit Ethernet Controller e Custom VPD Data Reference Description VPD Product description string e 1 Part Number Reference Description VPD part number e 2 Engineering Change Reference Description VPD engineering change e 3 Serial Number Referen...

Page 40: ... 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 MANUFACTURING_ID 14e4 Asset_Tag XYZ1234567 DUAL_MAC_MODE normal MBA_BOOT_PROTOCAL pxe MBA_BOOTSTRAP_TYPE bbs MBA_DELAY_...

Page 41: ... 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 config1 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 NVR...

Page 42: ...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 d...

Page 43: ...it Read Modify Memory by anded with bits readbit Read Modify Memory by ored with bits cread Read PCI configuration Space of specified device cwrite Write PCI configuration Space of specified device Command Group test vpdtest Run VPD Memory Test regtest Run Register Test miitest Run MII Memory Test msi Run MSI Test Manually memtest Run Memory Test setest Run NVRAM Test bist Run BIST nictest Run a s...

Page 44: ...ntag Display Clear vlanTag information Command Group misc reg register wizard exit Exit the System debug debug functions gpiowrite Write a Value into GPIO pin gpioread Read GPIO Value pxecpy Load PXE Code to MBUF Memory device Show or Switch Device version Display Program Version help Display the Commands Available Alternate Help Command radix Change System Radix nolog Close the Current Logfile lo...

Page 45: ... 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 report 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 c...

Page 46: ...ning 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 d...

Page 47: ...ing the reference device as described in the previous section the user can test the DUT by running b57diag rf 0 c 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 ...

Page 48: ... format Address range 0x00 0xFF num_bytes 256 max If only one argument is entered filename is assumed Otherwise start len value format must be used 10 2 vpdread cmd vpread Description Read data from VPD storage Syntax vpdread start end len Address range 0x00 0xFF num_byte 256 max 10 3 vpdinfo cmd vpdinfo Description Show VPD Information Syntax vpdinfo 10 4 semode cmd semode Description Configure N...

Page 49: ...d display serial eeprom locations from 0x00 to 0x20 0 radix 16 0 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 radix 16 0 seread 18 1 Dump Serial EEPROM Auto Mode 000018 000000ff 10 6 sewrite cmd sewrite Description Write NVRAM Syntax sewrite...

Page 50: ...sipated 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 Control...

Page 51: ...0000 48 Encoded Hot Plug Power Value 5 6 For NIC 00000000 49 Encoded Hot Plug Power Value 7 8 For NIC 00000000 50 Hot Plug Power Disable 0 Enable 1 Disabled 51 Pri Port SMB Address ASF IPMI A4 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 opti...

Page 52: ...et 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 Environmen...

Page 53: ...sset tag 17 Part Revision Reference Description VPD part revision 18 Voltage 5701 only 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 19 Force PCI Mode Configure Description PCI bus operational mode configuration Enable 1 When enabled the device uses PCI mode instead of PCI X independent of the capabilities ...

Page 54: ...sable 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 d...

Page 55: ...col 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 me...

Page 56: ...ng 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 Descriptio...

Page 57: ... 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 p...

Page 58: ...0 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 4 For NIC Configure Description Encoded Hot plug power values 3 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 6 For NIC Config...

Page 59: ... Enable 1 Enable cable sense 54 GPIO 0 Input Output Config Configure Description Setting GPIO 0 input output configuration 5714 LOM 5715 LOM 5755M 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 5715 LOM 5755M LOM only Input 0 Config as input Outp...

Page 60: ...default 2 Costom define 2 D0 State Power Comsumed decimal value 0 255 100 100 D3 State Power Comsumed decimal value 0 255 10 10 D0 State Power Dissipated decimal value 0 255 100 100 D3 State Power Dissipated decimal value 0 255 10 10 Custom PCIE power option d d Selfboot PCIE Power Budgeting Data 1 Use system default 2 Costom define 2 0 Data0 3 3v Sustained D0 1 2 Watt 1 Data1 3 3v Maximum D0 1 4 ...

Page 61: ...e 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 Description MAC address of the device 2 De...

Page 62: ...on LAN functionality 8 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 9 Reversed Nway Configure Description Nway Negotiation 0 default Auto negotiation is done from 1000 100 10 Mbits s 1 Auto negotiation is done from 10 100 100...

Page 63: ...scribed 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...

Page 64: ...ble cable sense Example For Hardware Selfboot firmware 0 secfg 1 MAC Address 001018123456 2 Device Id 1713 3 Sub Vendor Id 14E4 4 Sub Device Id 9713 5 WOL Disabled 6 WOL Speed Limit 10 Disabled 7 WOL Auto Disabled 8 LED mode PHY MODE 2 9 VPD Prod Name and VPD R Data Yes A Super airplane Mode Enabled B MBA Configuration C NIC Design NIC D L1 PLL Disable No E Clkreq Yes x Save exit WOL Auto option 7...

Page 65: ...tion 9 _ 9 HW Selfboot VPD Data 1 Part Number BCM95906 2 Engineering Change 106679 15 3 Serial Number 0123456789 4 Manufacturing ID 14e4 5 Read only VPD Vendor Specific Data V0 6 Product Name Broadcom NetLink Fast Ethernet Controller x Save exit MBA Configuration option B B HW Selfboot MBA Data 1 VLAN Enable Disabled 2 VLAN ID 0 3 MBA HIDE BANNER Disabled 4 MBA HOT KEY Ctrl B 5 MBA PROTOCOL PXE 6 ...

Page 66: ...ing characteristics of the device or default values of registers in the device 1 MAC Address Configure Description MAC address of the device 2 Device ID Configure Description PCI Device ID 3 Subsystem Vendor ID Configure Description PCI Subsystem PCI Vendor ID 4 Subsystem Device ID Configure Description PCI Subsystem PCI Device ID 5 WoL Configure Description A system can be configured to power on ...

Page 67: ... LEDs are controlled by the value in the Mac LED Control Register Phy Mode1 1 Dual Link LED configuration Two LEDs are used to indicate 10 100 Mbps Phy Mode2 2 Link Speed LED configuration One LED is used to indicate link status of all 10 100 Mbps SharedTraffic 3 Shared Traffic Link LED Mode The Link LED performs dual role Solid Green when Link up Blink when there is an activity 9 VPD Data Configu...

Page 68: ...g exe Options d Do not perform device check f string filename l HEX length in bytes Default size of input file m Do not restore original MAC address o HEX 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 p Restore NVRAM Config data between Bootcode and Selfboot fw Example 1 Program NVRAM with contents o...

Page 69: ...e programming target p b or i and filename must be specified In case of ISCSI firmware ISCSI Boot Firmware will be updated by default ISCSI CFG Block will only be updated if there is no ISCSI CFG Block present in NVRAM ISCSI CFG Program will NOT be programmed by this command In case of Selfboot Firmware this command will support Format 0 to Format 1 and Format1 to Format1 update Format0 to Format0...

Page 70: ...e 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 with...

Page 71: ...e 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 Confi...

Page 72: ...ory by the Broadcom ASF Configuration Utility ASFConfig See the Alert Standard Format ASF Specification v2 0 for detailed descriptions of these records 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 ...

Page 73: ...e as seread Syntax flshread start end len 10 17 chkpxe cmd chkpxe Description Check PXE code image Syntax chkpxe filename 10 18 dir cmd dir Description display file directory in NVRAM Syntax dir 10 19 erase cmd erase Description erase file from directory in NVRAM Syntax erase entry all Options y do not ask for conformation 10 20 pxeprg cmd pxeprg Description Program PXE firmware into NVRAM This co...

Page 74: ... 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 data 10 23 seclock cmd seclock Description set NVRAM config1 content value after reset Syntax seclock 32bitNewValue 10 24 setorture cmd setorture Description NVRAM reset...

Page 75: ...lt value def 0 10 26 searb cmd searb Description set report current NVRAM arbitration bit Valid arbitraion number is 0 3 Syntax searb n 10 27 seprotect cmd seprotect Description set gpio pin for NVRAM write protect Use none to disable write protect feature Syntax seprotect 0 1 2 none 10 28 selclock cmd selclock Description set Legacy EEPROM clock value bit 16 24 of EEPROM addr reg Syntax selclock ...

Page 76: ...tions d Disable WOL e Enable WOL 10 31 setpxe cmd setpxe Description Enable Disable PXE Syntax setpxe Options d Disable PXE e Enable PXE s DEC Specify PXE Speed def 0 0 auto 1 10HD 2 10FD 3 100HD 4 100FD 10 32 setasf cmd setasf Description Enable Disable ASF Syntax setasf Options d Disable ASF e Enable ASF 10 33 secomp cmd secomp Description compare eeprom content against the file ...

Page 77: ... 10 34 dreset cmd dreset Description double reset test for EEPROM debug Syntax dreset 10 35 userblock cmd userblock Description create a userblock in NVRAM Syntax userblock 10 36 setmba cmd setmba Description Enable Multiple Boot Agent Syntax setmba Options d Disable MBA e DEC Enable MBA Protocol def 0 0 PXE 1 RPL 2 BOOTP s DEC Specify MBA Speed def 0 0 auto 1 10HD 2 10FD 3 100HD 4 100FD 10 37 seg...

Page 78: ...re NVRAM Group 1 Syntax secfg1 Options m Mac address xx xx xx xx xx xx r 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 Disable x PXE SP 0 Auto 1 10HD 2 10FD 3 100HD 4 100FD 6 1000FD TBI w Magic Packet WOL 1 Enable 2 Disable 10 39 secfg2 cmd secfg2 Description Configure NVRAM Group 2 Syntax secfg...

Page 79: ...fg3 Options l Led Mode 0 Mac 1 Phy1 2 Phy2 3 S Traffic 4 Shasta Mac 5 Wireless Combo r Max PCI Retry 0 7 8 Auto a ASF 1 Enable 2 Disable d Dual Mac 0 Norm 1 MacB 2 MacA 3 XBAR 4 Swap 7 SwapXBAE m MBA Boot Protocol 0 PXE 1 RPL 2 BOOTP b MBA Bootstrap Type 0 Auto 1 BBS 2 Int18 3 Int19 t MBA Delay Time 0 15 e Exp ROM 0 64K 1 128K 2 256K 3 512K 4 1M 5 2M 6 4M 7 8M 8 16M n Design Type 0 NIC 1 LOM m MBA...

Page 80: ...uto Power Down 0 No 1 Yes d Disable Power Saving 0 No 1 Yes h Hide MBA Setup Prompt 0 Disable 1 Enable k MBA Setup Hot Key 0 Ctrl S 1 Ctrl B i Capacitive Coupling 0 Disable 1 Enable 10 42 secfg5 cmd secfg5 Description Configure NVRAM Group 5 Syntax secfg5 Options 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 E...

Page 81: ...d 5715 LOM only y GPIO 2 Config 0 Input 1 OutputH 2 OutputL 5714LOM and 5715 LOM only 10 43 setipmi cmd setipmi Description Enable Disable IPMI Syntax setipmi Options d Disable IPMI e Enable IPMI 10 44 loadfw cmd loadfw Description Load Firmware to Tx RX CPUs Syntax loadfw Options b HEX set breakpoint 0 off def 00000000 d HEX data pattern to be used for memory init def 00000000 f string filename f...

Page 82: ...race from start from location 0x00 0 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 10 46 cpudrt cmd cpudrt Description Read and display RX CPU trace not valid for 5705 Syntax cpudrt begin_ad...

Page 83: ... 47 cputrace cmd cputrace Description toggles cpu trace mode Syntax cputrace 1 0 10 48 haltcpu cmd haltcpu Description Halt CPU Syntax haltcpu 10 49 loadbootcode cmd loadbootcode Description execute bootcode from file instead of NVRAM Syntax loadbootcode filename Options d HEX data pattern to be used for memory init def 00000000 f string filename i don t initialize memory before loading def yes m ...

Page 84: ...nstructions Syntax step 10 52 go cmd go Description start CPU Syntax go 10 53 showgpr cmd showgpr Description toggles showing cpu gpr mode Syntax showgpr 1 0 10 54 pc cmd pc Description set current CPU PC Syntax pc 10 55 breakpoint cmd breakpoint Description set current CPU breakpoint Syntax breakpoint 10 56 select cmd select Description select current CPU Syntax select r t ...

Page 85: ...Syntax trap low high off 10 59 cpuinfo cmd cpuinfo Description display cpu information Syntax cpuinfo r t 10 60 cpugprstatus cmd cpugprstatus Description Display internal CPU GPR test status Syntax cpugprstatus 10 61 cpugprrestart cmd cpugprrestart Description Restart internal CPU GPR test Syntax cpugprrestart 10 62 cpufetch cmd cpufetch Description Test CPU Instruction fetch logic with 1 1V and 1...

Page 86: ...f 00000100 n DEC iteration o HEX Buffer offset def 00000000 p HEX 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 Decr...

Page 87: ... dmaw a 0 l 10 Device 1 Host Address 0x0068bb38 NIC Address 0x00000000 Length 0x0010 Priority Low Byte Swap No Word Swap No Dev 1 DMA SRAM 00000000 to Host 0068BB38 10 64 dmar cmd dmar Description DMA from Host to NIC Memory Syntax dmar Options w word swap 3 Force to use 32 bit 4 Allocate 4k aligned buffers a HEX NIC address to DMA data to def 00000000 b Byte Swap c Continousely dma d HEX delay po...

Page 88: ...0 FFFFFFFFFFFFF a Word Increment b Dword Increment c Word Decrement d Dword Decrement def 00000000 q HEX low 32 bit of 64 bit pattern def FFFFFFFF v DEC Verbose 1 2 def 2 w Word Swap x HEX high 32 bit of 64 bit pattern def FFFFFFFF K HEX DMA read from abosolute address def 00000000 Example 1 Sup DMA host memory to NIC memory Using low priority DMA Read and disable byte swap 1 dmar a 0 l 100 Device...

Page 89: ...e 1 Driver must be loaded before configure 0 loaddrv 2 Enable MAC loop back 0 mcaclpb 1 Enabling MAC loopback OK 2 Disable MAC loop back 0 maclpb 0 Disabling MAC loopback OK 10 68 blast cmd blast Description Blast Packets in Poll Mode and display statistics Load MAC driver before running the test Syntax blast Options a DEC IP total length def 0 c DEC Number of Tx buffer def 100 d DEC Interpacket G...

Page 90: ...C Number of packets to be transmitted def 0 o DEC 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 DEC Low watermark max RxFrame value 0 65535 x Check length of received packet z DEC Tx Threshold def 5 P Pause R Enable RS232 statistic update S TCP segment test T DEC Packet Type 0 None 1 Eth2 ...

Page 91: ...x Packets Enqed 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 10 69 nicstats cmd nicstats Description Display NIC Statistics ...

Page 92: ...to exit CHIP Statistics ifHCInOctets 0 etherStatsFragments 0 ifHCInUcastPkts 0 ifHCInMulticastPkts 0 ifHCInBroadcastPkts 0 d3StatsFCSErrors 0 d3StatsAlignmentErrors 0 xonPauseFramesReceived 0 xoffPauseFramesReceived 0 macControlFramesReceived 0 xoffStateEntered 0 dot3StatsFramesTooLong 0 etherStatsJabbers 0 etherStatsUndersizePkts 0 inRangeLengthError 0 outRangeLengthError 0 etherStatsPkts64Octets...

Page 93: ...ToFilters 0 nicDmaWriteQueueFull 0 nicDmaWrHiPQFull 0 nicNoMoreRxBDs 0 PageUP PageDN to scroll Ins Del toggles refresh ESC to exit PageUP PageDN to scroll Ins Del toggles refresh ESC to exit CHIP Statistics ifInDiscards 0 ifInErrors 0 nicRecvThresholdHit 0 nicDmaReadQueueFull 0 COSIfHCOutPkts 00 0 COSIfHCOutPkts 01 0 COSIfHCOutPkts 02 0 COSIfHCOutPkts 03 0 COSIfHCOutPkts 04 0 COSIfHCOutPkts 0 Rxed...

Page 94: ...Pidx 00 000 RetRCidx 00 000 000 Mailbox SBDI SBDSEL HC StsBlk Driver SendHostPidx 00 000 000 000 SendHostCidx 00 000 000 000 000 SendHostPidx 01 000 000 000 SendHostCidx 01 000 000 000 000 SendHostPidx 02 000 000 000 SendHostCidx 02 000 000 000 000 SendHostPidx 03 000 000 000 SendHostCidx 03 000 000 000 000 10 71 phyctrl cmd phyctrl Description Configure Phy Speed Syntax phyctrl Options f string f...

Page 95: ... correct IP length I Incremental length j Random number of fragments k Use random packet length l DEC Start packet length def txcfg m Use multiple Tx ring test def txcfg n DEC Number of packet to transmit def 0 o HEX Buffer Offset def 00000000 p DEC Number of Tx rings to use in multiple ring test def txcfg q DEC Number of Packets per ring def txcfg r DEC Tx ring number def txcfg v Insert fragment ...

Page 96: ... 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 PIdx 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 10 74 stsblk cmd stsblk Description Display Statistics Block Syntax stsblk Example 0 stsblk STATISTICS Block 0x0027c0c0 ifHCInOctets 0 etherStatsFr...

Page 97: ... COSIfHCInPkts 09 0 COSIfHCInPkts 10 0 COSIfHCInPkts 11 0 COSIfHCInPkts 12 0 COSIfHCInPkts 13 0 COSIfHCInPkts 14 0 COSIfHCInPkts 15 0 COSFrmsDxDueToFilters 0 nicDmaWriteQueueFull 0 nicDmaWrHiPQFull 0 nicNoMoreRxBDs 0 ifInDiscards 0 ifInErrors 0 nicRecvThresholdHit 0 nicDmaReadQueueFull 0 COSIfHCOutPkts 00 0 COSIfHCOutPkts 01 0 COSIfHCOutPkts 02 0 COSIfHCOutPkts 03 0 COSIfHCOutPkts 04 0 COSIfHCOutP...

Page 98: ...eader field YES 1 NO 0 NO 0 Exit Enter your choice option paramter 10 76 rxcfg cmd rxcfg Description Configure RX parameters Syntax rxcfg Example 0 rxcfg 1 Host Loopback Enable 1 Disable 0 Disable 2 Modify Rx Packet Enable 1 Disable 0 Disable 3 Dump Rx Packet None 1 Hex 2 Decode 3 None 4 Dump Rx Length 64 5 Tx Fragment Length 1518 6 Tx Flags 0000 7 Tx VLAN Tag 0000 8 Tx Ring Number 0 9 Tx Generate...

Page 99: ...escription configure driver parameters Syntax drvrcfg Options a DEC Turn on off autolink capability def 0 q DEC Configure Rx ring size def 0 r DEC Turn on off rxflow capability def 0 t DEC Turn on off txflow capability def 0 x DEC Configure Tx ring size def 0 10 80 irt cmd irt Description Test an individual register Test an individual register with a specified number of reads writes Syntax irt Opt...

Page 100: ...ing Register offset 10 82 miimrd cmd miimrd Description Test an individual register Test an individual register with a specified number of reads writes Syntax miimrd Options d DEC Delay in uS def 0 n DEC Number of read write accesses def 1 r string Register offset 10 83 pcimrd cmd pcimrd Description Test an individual register Test an individual register with a specified number of reads writes Syn...

Page 101: ...ers via MII Management interface Syntax mread begin end len Address range 0x00 0x1F Example 1 Read MII register 0 0 mread 0 00 1100 2 Read MII registers 0 to 10 0 mread 0 10 00 1100 7949 0020 6051 01e1 0000 0004 2001 08 0000 0300 0000 0000 0000 0000 0000 3000 10 0002 3 Read 5 MII registers start from register 0 0 mread 0 5 00 1100 7949 0020 6051 01e1 10 86 mdev cmd mdev Description Select current ...

Page 102: ...ing MII auto mode to OFF 0 miimode 1 Setting MII auto mode to ON 0 miimode 10 88 lbertram Command lbertram Description Load data to PHY BIST RAM Syntax lbertram filename Options c DEC channel number def 0 e enable BIST f string File name containing BIST data 10 89 dbertram Command dbertram Description Dump PHY BIST RAM Syntax dbertram Options b HEX Begin of BIST RAM def 00000000 c DEC channel numb...

Page 103: ...n Read MII Registers Syntax rm 10 92 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 addr 10 93 phymse Command phymse Description PHY mean square error Syntax phymse Options p Polling continuously at 100ms interval 10 94 initphy Command initphy Description Initialize phy Syn...

Page 104: ...on Read Memory Syntax read lImSsxX begin 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 of host memory 32 internal scratchpad 32 l direct access of host memory 32 s direct access of host memory 16 x direct access of host memory 8 Example 1 Read from Configuration ...

Page 105: ...ss 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 of host memory 32 internal scratchpad 32 l direct access of host memory 32 s direct access of host memory 16 x direct access of host memory 8 Example 1 Write to configuration space 0 write 10 f4000004 2 Write ...

Page 106: ...ation 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 of host memory 32 internal scratchpad 32 l direct access of host memory 32 s direct access of host memory 16 x direct access of host memory 8 Options n DEC Number of changes to print before stop def 0 10 99 setbit cmd setbit Description Read Modify Memory by...

Page 107: ...cess of host memory 32 internal scratchpad 32 l direct access of host memory 32 s direct access of host memory 16 x direct access of host memory 8 10 100 clearbit cmd clearbit Description Read Modify Memory by anded with bits Syntax clearbit lImSsxX addr bit bit Configuration space 32 S Configuration space 16 X Configuration space 8 Registers 32 default SRAM 32 NVRAM SEEPROM FLASH 32 m MII registe...

Page 108: ... addr bit 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 of host memory 32 internal scratchpad of host memory 32 l direct access of host memory 32 s direct access of host memory 16 x direct access of host memory 8 10 102 cread Command cread Description Read PCI configurat...

Page 109: ...oVPD storage Then read back and compare with designed pattern Syntax vpdtest Options d Force destructive test n DEC iteration p DEC Pattern to test def 0 0 Increment 1 Decrement 1 0 s 2 FF s 3 AA55 4 55AA r Random address test w Force write test enable 10 105 regtest cmd regtest Description MAC registers read write test Driver must be unloaded Syntax regtest iteration Options i Also run indirect m...

Page 110: ...sage count 2 to powered of c def 00000003 d option removed kept for bcmediag compatibility I initializing MSI block o DEC offset def 0 10 108 memtest cmd memtest 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 Test BD SRAM c Test...

Page 111: ...fset with e option def 00000000 10 110 bist cmd bist Description Run BIST The default iteration is 1 0 means run forever Syntax bist iteration 10 111 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 di...

Page 112: ...r 10 113 pkttest Command pkttest 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 iteration Options e run external loopback test m run mac loopback test n DEC iteration The default iteration is 1 0 means run forever p run phy loopback test 10 114 cputest cmd cputest Description TX RX C...

Page 113: ...00 d Display DMA info f Force to use 32 bit bus l HEX Length of DATA to do DMA def 00000400 n DEC iteration o HEX Buffer offset def 00000000 10 116 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 tests tests Exampl...

Page 114: ...and all tests in group b and c testd ab cd Disables all tests testd Display disabled tests 10 118 asftest cmd asftest Description ASF Test Syntax asftest Options n DEC iteration 10 119 bustest Command bustest Description PCI Bus Test Syntax bustest Options a HEX NIC address to DMA data to def 00002100 d HEX delay poll dma done polling def 00000000 e DEC End of test case def 259 g Insert debugging ...

Page 115: ...fffffe 00000000 00000000 2 ffffffff fffffffd 00000000 00000000 64 7fffffff ffffffff 00000000 00000000 65 00000000 00000000 ffffffff ffffffff 66 00000000 00000000 ffffffff fffffffe 67 00000000 00000000 ffffffff fffffffd 129 00000000 00000000 7fffffff ffffffff 130 00000000 00000000 ffffffff ffffffff repeat 131 00000000 00000001 ffffffff ffffffff 132 00000000 00000002 ffffffff ffffffff 194 80000000 0...

Page 116: ...rst 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 10 120 sramtest cmd sramtest Description SRAM Test Syntax sramtest begin len end 10 121 msitest cmd msitest Description MSI Test Syntax msitest Options c HEX message count 2 to powered of c def 00000003 I initializing MSI block n DEC iteration 10 122 romtest cmd romtest Desc...

Page 117: ...ostic 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 DEC Iteration r Register Test T Test with Tx CPU R Test with Rx CPU 10 125 pcicfgtest cmd pcicfgtest Description Run PCI Config Reg Test Syntax pcicfgtest Options I Do not perform reset before test r DEC repeat count for each register test...

Page 118: ...tinue 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 10 128 sedvt cmd sedvt Description Perform NVRAM dvt test When init subcommand is entered the NVRAM is initialized into pseudo random pattern The original content is DE...

Page 119: ...isctest Options n DEC iteration 10 130 cpugprtest cmd cpugprtest Description Run CPU GPR test Syntax cpugprtest Options r run rx_cpu only t run tx cpu only u run Address Up 10 131 dmashasta cmd dmashasta Description DMA Test Syntax dmashasta Options r Disable the read DMA test w Disable the write DMA test e Disable the chip reset execution before each DMA test l HEX Number of BD sot DMA on read 0x...

Page 120: ...se delete def 00000000 l HEX length def 00000000 p HEX pattern 0 Increment 1 Increment def 00000000 10 134 pmpd cmd 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 HEX 1 enables ACPI Packet Match def 00000000 c HEX 0 to add ...

Page 121: ...d intrctrl Description Control Interrupt Controller Syntax intrctrl u m u unmask current interrupt m mask current interrupt Example 1 Mask current interrupt 0 irq intrctrl m Masking Interrupt 10 2 Unmask current interrupt 0 irq intrctrl u Unmasking Interrupt 10 10 137 intt cmd intt Description Interrupt Tracer This is special function to monitor interrupt functions Syntax intt 10 138 mbuf cmd mbuf...

Page 122: ...le 1 Display MBUF chain 0 mbuf chain 143 144 145 146 147 148 149 14a 14b 14c 14d 14e 14f 150 151 152 153 154 155 156 157 158 159 15a 15b 15c 15d 15e 15f 160 161 162 163 164 165 166 167 168 169 16a 16b 16c 16d 16e 16f 170 171 172 173 174 175 176 177 178 179 17a 10 139 loaddrv cmd loaddrv Description Load Driver Syntax loaddrv Options 4 HEX Enable 4k aligned memory def 00000000 o HEX Allocate memory...

Page 123: ...cription Halt MAC controller Syntax machalt Example 0 machalt Halting MAC OK 10 142 ftq cmd ftq Description Dump FTQ Syntax ftq Example 0 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 0000...

Page 124: ...tiator FTQ 15 00000000 00000000 2000 00000000 S W Type 2 FTQ 17 00000000 00000000 2000 00000000 10 143 addmc cmd addmc Description Add Multicast MAC Syntax addmc xx xx xx xx xx xx Example 0 addmc FF FF 00 0A 00 00 10 144 delmc cmd delmc Description Delete Multicast MAC Syntax delmc xx xx xx xx xx xx Example 0 delmc FF FF 00 0A 00 00 10 145 txmacdes cmd txmacdes Description Program Destination addr...

Page 125: ...escription Display Clear vlanTag information Syntax vlantag Options c clear vlanTag info 10 149 reg cmd reg Description register wizard This command allows user to view edit registers Syntax reg pci mii offset 10 150 exit cmd exit Description Exit System Syntax exit 10 151 debug cmd debug Description Display debugs information Syntax debug n 1 Dump TX RX Stats 2 Dump Clock Scale info 3 Clear worst...

Page 126: ...Packets 0 Rx Unknown Packets 0 Rx Bad Packets 0 Rx Good Packets 0 10 152 gpiowrite cmd gpiowrite Description Write a Value into GPIO pin Syntax gpiowrite GPIO_num value Valid value for GPIO_num is 0 3 value is 0 or 1 Example 1 Write 1 to GPIO 1 Pin 0 gpiowrite 1 1 Writing 1 to GPIO 1 10 153 gpioread cmd gpioread Description Read GPIO Value Syntax gpioread Example 1 Read GPIO Pins 0 gpioread GPIO 0...

Page 127: ...tions n HEX Device Number def 00000000 r Remove all current devices and re scan available devices s Silent mode do not display devices 10 156 version cmd version Description Display Program Version Syntax version 10 157 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 t...

Page 128: ...16 means enter number in hex and 10 means in decimal Syntax radix 2 8 10 16 10 160 nolog cmd nolog Description Close the Current Logfile Syntax nolog 10 161 log cmd log Description Save all output to log file Syntax log Options f string filename for bcmediag compatibility only a Append to existing file 10 162 pciinit cmd pciinit Description Initialize PCI configuration registers Syntax pciinit 10 ...

Page 129: ... parameter is entered DOS shell is entered This command is not supported by EFI Syntax dos dos command 10 165 diagcfg cmd diagcfg Description Configure diagnostics parameter for Memory tests and Manufacturing test NIC test Syntax diagcfg Example 0 misc diagcfg Diagnostics Configuration Menu 1 Memory Test Configuration Menu 2 Test Configuration Menu 3 Driver Configuration Menu 4 Abort On Failure is...

Page 130: ...it 2 Test Configuration Menu A1 Indirect Register Enabled A2 Control Register Enabled A3 Interrupt Enabled A4 Built In Self Enabled A5 PCI Cfg Register Enabled B1 Scratch Pad Enabled B2 BD SRAM Enabled B3 DMA SRAM Enabled B4 MBUF SRAM Enabled B5 MBUF SRAM via DMA Enabled B6 External SRAM Disabled B7 CPU GPR Enabled C1 NVRAM Enabled C2 CPU Enabled C3 DMA Enabled C4 MII Enabled C5 VPD Enabled C6 ASF...

Page 131: ... 15 External Memory Exists Yes 1 No 0 0 16 MBUF Base 0x008000 17 MBUF Length 0x018000 18 Tx Flow Control Enable 1 Disable 2 Disable 19 Rx Flow Control Enable 1 Disable 2 Disable 20 Auto Link Speed Enable 1 Disable 2 Enable 21 Send Ring Size 32 64 128 256 512 512 22 Rx Ring Size 32 64 128 256 512 512 0 Exit to previous menu Enter your choice option paramter 0 Diagnostics Configuration Menu 1 Memory...

Page 132: ... a1 a2 Options s Run in slave mode 10 169 cls cmd cls Description Clear Screen Syntax cls 10 170 loop cmd loop Description loop on command Syntax loop iteration cmd parameter 10 171 dbmode cmd dbmode Description Set DEBUG Mode to On or Off Mode Syntax dbmode on off 10 172 asf cmd asf Description run asf monitor program with option to Load asf firmware image This routine loads firmware images into ...

Page 133: ...ax new n 10 174 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 Syntax asfprg init_img rx_img tx_img Options v HEX verbose level 0 1 2 def 00000001 10 175 sleep cmd sleep Description suspense process for Excute command from a file Syntax sleep miliseconds 10 176 fillpattern cmd...

Page 134: ...second block offset to be loaded def 00000000 10 177 inp cmd inp Description input port not supported for EFI Syntax inp addr Options l long word size w word size 10 178 outp cmd outp Description input port not supported for EFI Syntax outp addr value Options l long word size w word size 10 179 switch cmd switch Description Alternate device command If no parameter is entered it will display all de...

Page 135: ...o command p DEC pause between each command If a value is entered it delays for of ms def 0 10 181 txfill cmd txfill Description Fill tx buffer with pattern and packet length 14 9018 Syntax txfill f file x load length p pattern l packet length Options f string filename l DEC packet length in bytes 14 9018 def 1514 p DEC pattern selection 0 8 def 0 x DEC length to load in bytes default to EOF Patter...

Page 136: ... bistout bistex buffer Read tx rx bistin bistout bistex buffer with specified at offset with a specified length Only works with static buffer selection A Syntax rbuf tx rx bistin bistout bistex offset len 10 184 cpbuf cmd cpbuf Description Copy the content of rx buffer into tx buffer Only works with static buffer selection A Syntax cpbuf offset length 10 185 echo cmd echo Description echo string t...

Page 137: ...Description change verbose setting Syntax verbose Options c toggles CONSOLE e toggles ERROR i toggles IO d toggles DEBUG p toggles PRINTER w toggles WARNING r toggles Interrupt Verbose 10 189 beep cmd beep Description Create a beep sound The default to beep once If parameter n is entered it beeps n times Syntax beep n on off 10 190 var cmd var Description Display current variables ...

Page 138: ... Description Delete local variables Syntax delvar 10 193 regdump cmd regdump Description Dump register content to a file Syntax regdump Options c PCI Config Reg f string filename m MII Registers r DEC Mac Registers def 1 10 194 regcomp cmd regcomp Description Compare register content to a file his command may be used together with regdump to find out any register got changed Syntax regcomp filenam...

Page 139: ...sters r DEC Mac Registers def 1 10 196 nvsize cmd nvsize Description Programs the NVRAM and TPM size in Kbyte to NVRAM If NVRAM TPM options are entered they are programmed to NVRAM If NVRAM TPM options are NOT entered calculated values are programmed Use a zero value for NVRAM TPM to erase the programmed values Syntax nvsize NVRAM TPM Options d Display Present Size Programmed Into NVRAM D Specify ...

Page 140: ...cmd dids Description The feature outputs the following information PCI DID VID SDID 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 Syntax dids 10 199 serial cmd serial Description Compares the serial number to defaults or the provided values This PCI capability testing is only applicable to Shas...

Page 141: ...indbridge Description Find all bridges in the system Syntax findbridge 10 204 bridge cmd bridge Description Switch to specified bridge Syntax bridge 10 205 pere cmd pere Description Enable parity error response on a bridge Defaults to current bridge Syntax pere bridge 10 206 perd cmd perd Description Disable parity error response on a bridge Defaults to current bridge Syntax perd bridge 10 207 pec...

Page 142: ...programmed by default ISCSI CFG Block will be programmed if either there is no ISCSI CFG Block present in NVRAM or c option has been entered ISCSI CFG Program will be programmed only when p option has been entered Syntax iscsiprg f filename c p Options f filename ISCSI firmware file name c Forced to program ISCSI CFG FW p Forced to program ISCSI CFG Program 10 210 umpecho cmd umpecho Description E...

Page 143: ... previous menu 1 Enable Disable SetLink 2 Enable Disable RDIStallTimer 3 Set RDIStallTimerValue 4 DisableHostHashTable 5 Enable Disable HostEchoControl 6 Enable Disable Exceed_375ma_rule 7 Link Speed 0 Return to previous menu 1 Speed 10 100 default 2 Speed ALL 3 Speed 10 4 Speed 100 5 Speed 1000 6 Duplex 7 Auto Force Mode 8 Pause Capability 2 Save and Exit Description Saves the modified UMP Config...

Page 144: ... Device ID s SubSystem Vendor ID i SubSystem Device ID w Magic Packet WOL 1 Enable 2 Disable o Limit WOL Speed to 10 0 No 1 Yes l Design Type 0 NIC 1 LOM p Enable Phy Auto Power Down 0 No 1 Yes r Reversed Nway 0 No 1 Yes A Disable Power Saving 0 No 1 Yes B Led Mode 0 Mac 1 Phy1 2 Phy2 3 S Traffic 4 Shasta Mac 5 Wireless Combo C PCI Power Consumption Dissipate 1 Default 2 Custom define c PCI Power ...

Page 145: ...ype State Base Power Select Data 0 7 Pwr Rail 0 12V 1 3 3V 2 1 8V 7 Thermal 99 Invalidate Type 0 PME 1 Aux 2 Idle 3 Sustained 7 Max Pwr Mgt St 0 D0 1 D1 2 D2 3 D3 Base Power X in 0 1 Watt 10 215 secfgsb3 cmd secfgsb3 Description Configure Selfboot NVRAM Group 3 Syntax secfgsb3 Options E Product Name 1 Default 2 Custom define 10 216 secfghwsb1 cmd secfghwsb1 Description Configure Hardware Selfboot ...

Page 146: ...2 3 S Traffic G Super Airplane Mode 0 No 1 Yes H Clkreq 0 No 1 Yes I PCIE Link Polarity Fix Dis 0 No 1 Yes n Design Type 0 LOM 1 NIC l L1 PLL Powerdown Disable 0 No 1 Yes 10 217 secfghwsb2 cmd secfghwsb2 Description Configure Hardware Selfboot NVRAM Group 2 Syntax secfghwsb2 Options e Engineering Change s Serial Number m Manufacturing ID v Rd VPD Vendor Data V0 10 218 secfghwsb3 cmd secfghwsb2 Des...

Page 147: ...2 10FD 3 100HD 4 100FD 10 219 eswitch cmd eswitch Description Configure Eswitch on the device that support eswitch such as 5756 Syntax eswtich Options d Change the port to Docking mode l Change the port to Laptop mode e Enable E switch B57diag override the hardware manual switch f Forbid software E Switch but hardware eswitch works Without this option PHY loopback test external loopback test pktte...

Page 148: ...SIZE 22 Invalid CPU image size 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 cx 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 Unsup...

Page 149: ...72 Packets received with CRC error ERR_MII_ERR_BITS_SET 73 MII error bits set 04x ERR_INIT_MAC 74 CPU does not initialize MAC address register correctly ERR_FW_FILE_FORMAT 75 Invalid firmware file format ERR_RESET_TX_CPU 76 Resetting TX CPU Failed ERR_RESET_RX_CPU 77 Resetting RX CPU Failed ERR_INVALID_MAC_ADDR 78 Invalid MAC address ERR_MAC_REG 79 Mac address registers are not initialized correct...

Page 150: ...status d ERR_INVALID_HANDLE 131 Invalid Handle ERR_SOCKET 132 Socket open error d s ERR_SIOCGIFINDEX 133 ioctl SIOCGIFINDEX failed ERR_BIND 134 bind failed s ERR_SETSOCKOPT 135 setsockopt failed d s ERR_FCNTL 136 fcntl failed d s ERR_SEND 137 send failed cnt d d s ERR_RECEIVE 138 recvfrom failed cnt d d s ERR_FALSE_CARRIER 139 Error False Carrier Detected During The Test ERR_INV_OPT 140 Invalid Op...

Page 151: ...k plug ERR_DMA_SHASTA 175 nFailed Saw x x Exp x from x n ERR_SECFG_CONT 176 SECFG Config Error Line d ERR_SECFG_INVALID 177 Invalid Argument in SECFG Config File at Line d ERR_NV_SELFBOOT 178 NVRAM is SELFBOOT ERR_PART_NUM 179 Error Part Number Chick Failed ERR_UMPECHO 180 UMP Echo Debug Mode ERR_IMAGE_CHECKSUM 181 Firmware image checksum error ERR_INVALID_SMB 182 Invalid SMB Address ERR_LOM_CFG 1...

Reviews: