BCM570x • Diagnostic User’s Guide
10.52
GO
........................................................................................................................................... 75
10.53
SHOWGPR
................................................................................................................................ 75
10.54
PC
............................................................................................................................................ 75
10.55
BREAKPOINT
............................................................................................................................ 75
10.56
SELECT
.................................................................................................................................... 76
10.57
U
.............................................................................................................................................. 76
10.58
TRAP
........................................................................................................................................ 76
10.59
CPUINFO
.................................................................................................................................. 76
10.60
CPUGPRSTATUS
........................................................................................................................ 76
10.61
CPUGPRRESTART
...................................................................................................................... 76
10.62
CPUFETCH
................................................................................................................................ 77
10.63
DMAW
...................................................................................................................................... 77
10.64
DMAR
...................................................................................................................................... 78
10.65
DMA
_
H
.................................................................................................................................... 80
10.66
D
10.67
MACLPK
................................................................................................................................... 80
10.68
BLAST
...................................................................................................................................... 80
10.69
NICSTATS
................................................................................................................................. 82
10.70
RING
I
NDEX
.............................................................................................................................. 84
10.71
PHYCTRL
.................................................................................................................................. 85
10.72
TXPKT
...................................................................................................................................... 86
10.73
STATUSBLK
.............................................................................................................................. 87
10.74
STSBLK
.................................................................................................................................... 87
10.75
TXCFG
...................................................................................................................................... 88
10.76
RXCFG
..................................................................................................................................... 89
10.77
TPROT
...................................................................................................................................... 89
10.78
QSTAT
...................................................................................................................................... 90
10.79
DRVRCFG
................................................................................................................................. 90
10.80
IRT
........................................................................................................................................... 90
10.81
MACMRD
.................................................................................................................................. 91
10.82
MIIMRD
.................................................................................................................................... 91
10.83
PCIMRD
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
10.94
INITPHY
10.95
MEMSEARCH
............................................................................................................................ 95
10.96
READ
....................................................................................................................................... 95
10.97
WRITE
...................................................................................................................................... 96
10.98
POLL
........................................................................................................................................ 97
10.99
SETBIT
..................................................................................................................................... 97
10.100
CLEARBIT
................................................................................................................................ 98
10.101
READBIT
.................................................................................................................................. 99
10.102
CREAD
................................................................................................................................... 100
10.103
CWRITE
.................................................................................................................................. 100
10.104
VPDTEST
................................................................................................................................ 100
10.105
REGTEST
10.106
MIITEST
.................................................................................................................................. 101
page v
Broadcom Confidential and Proprietary
Страница 1: ...eme Ethernet Adapter Diagnostic User s Guide B57diag Version 10 52 Date 07 06 2007 Prepared by Tak Tomita Updated by Paul Nguyen Austin Hui Carlton Joseph Vanessa Jia Tony Hsiao Broadcom Confidential...
Страница 2: ...eserves 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 ac...
Страница 3: ...AM 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 2...
Страница 4: ...10 17 CHKPXE 64 10 18 DIR 64 10 19 ERASE 64 10 20 PXEPRG 65 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...
Страница 5: ...87 10 74 STSBLK 87 10 75 TXCFG 88 10 76 RXCFG 89 10 77 TPROT 89 10 78 QSTAT 90 10 79 DRVRCFG 90 10 80 IRT 90 10 81 MACMRD 91 10 82 MIIMRD 91 10 83 PCIMRD 91 10 84 MWRITE 92 10 85 MREAD 92 10 86 MDEV...
Страница 6: ...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 LOAD...
Страница 7: ...185 ECHO 127 10 186 PAUSE 128 10 187 Q 128 10 188 VERBOSE 128 10 189 BEEP 128 10 190 VAR 129 10 191 MEMINFO 129 10 192 DELVAR 129 10 193 REGDUMP 129 10 194 REGCOMP 130 10 195 REGRESTORE 130 10 196 NV...
Страница 8: ...BCM570x Diagnostic User s Guide 10 217 SECFGHWSB2 137 10 218 SECFGHWSB3 138 10 219 ESWITCH 138 11 ERROR MESSAGES 140 page viii Broadcom Confidential and Proprietary...
Страница 9: ...BCM570x Diagnostic User s Guide page ix Broadcom Confidential and Proprietary...
Страница 10: ...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 lin...
Страница 11: ...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 C...
Страница 12: ...rial 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...
Страница 13: ...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...
Страница 14: ...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...
Страница 15: ...bed 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 buffe...
Страница 16: ...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 volt...
Страница 17: ...d 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...
Страница 18: ...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 Cou...
Страница 19: ...tion 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...
Страница 20: ...nterrupt 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...
Страница 21: ...d 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...
Страница 22: ...siprg 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 b...
Страница 23: ...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 dev...
Страница 24: ...g 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...
Страница 25: ...te a field upgrade of entire NVRAM image The new NVRAM image is programmed into a the device s of a system if there is a match of the PCI DID VID SDID SVID of firmware and device Media Manufact Region...
Страница 26: ...bits s and 1 Gbit s the user would 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...
Страница 27: ...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...
Страница 28: ...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...
Страница 29: ...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 eepro...
Страница 30: ...tarts 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 i...
Страница 31: ...e 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...
Страница 32: ...hen 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...
Страница 33: ...switch 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 lapt...
Страница 34: ...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...
Страница 35: ...g 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...
Страница 36: ...he 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 selec...
Страница 37: ...E 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_S...
Страница 38: ...ues 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...
Страница 39: ...e 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 Ref...
Страница 40: ...t_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 Example 2 A Super airp...
Страница 41: ...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 a...
Страница 42: ...reak 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...
Страница 43: ...t 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 re...
Страница 44: ...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 Devic...
Страница 45: ...ystem 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...
Страница 46: ...onfigured 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...
Страница 47: ...evious 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 o...
Страница 48: ...ax 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...
Страница 49: ...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 0x...
Страница 50: ...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 S...
Страница 51: ...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 G...
Страница 52: ...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 u...
Страница 53: ...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 Conf...
Страница 54: ...specific to the 575x and 572x chips The link LED blinks only when traffic is for Shasta Wireless Combo 5 Reference 22 PHY ID Mode specific to the 575x and 572x chips When link is lost the LEDs are dri...
Страница 55: ...tocol 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 behav...
Страница 56: ...o 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 Descripti...
Страница 57: ...Setup entered via ctrl b Configure 41 Capacitive Coupling Description Enable Disable the PHY to operate with capacitors as line isolators for the 5705 family Disable 0 Disable capacitive coupling Enab...
Страница 58: ...il 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 Configure 47 Encoded Hot Plug Power 3 4 For NIC Description Encoded Hot plug pow...
Страница 59: ...able sense Configure 54 GPIO 0 Input Output Config 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...
Страница 60: ...c c Selfboot PCI Power Consumption Dissipate value 1 Use system 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...
Страница 61: ...of the secfg options for selfboot firmware 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...
Страница 62: ...IC GPIO 1 and 2 is used to switch between main and auxiliary power for wake on LAN functionality 8 Enable PHY Auto Powerdown Configure Description Enable GPHY auto power down when there is no link pre...
Страница 63: ...an be tied together with a pull up resistor to control a LED SharedTraffic 3 Mode specific to the 575x and 572x chips The link LED performs a dual role solid when there is a link and blinks when there...
Страница 64: ...an Enable 1 Enabled Disabled VLan ID 2 VLan ID MBA Hide Banner 3 Enabled Disabled Ctrl B Ctrl S MBA Hot Key 4 PXE RPL BOOTP ISCSI MBA Protocol 5 MBA Config Timeout 6 MBA Config Timeout value MBA Boots...
Страница 65: ...elfboot 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 E...
Страница 66: ...ce 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 Descriptio...
Страница 67: ...rt Number Engineering Change 2 VPD Engineering Change Serial Number 3 VPD Serial Number Manufacturing ID 4 VPD Manufacturing ID Read only VPD Data 5 VPD Read only V0 Data Product Name 6 VPD Product Na...
Страница 68: ...ed to be found in the same location as b57diag 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...
Страница 69: ...ase 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 th...
Страница 70: ...edump cmd sedump Description Dump NVRAM content to a file The value stored at location 0xC in the NVRAM is the starting address of the code that the chip loads and executes The code starting address i...
Страница 71: ...ent 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 re...
Страница 72: ...lly 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 AS...
Страница 73: ...Configure ASF in NVRAM Syntax flshmode auto passthru legacy new 10 16 flshread cmd flshread Description Same as seread Syntax flshread start end len 10 17 chkpxe cmd chkpxe Description Check PXE code...
Страница 74: ...on 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...
Страница 75: ...i DEC do not restore NVRAM clock default 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 seprot...
Страница 76: ...isable WOL Syntax setwol e d Options 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...
Страница 77: ...length def 00000000 o HEX offset def 00000000 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...
Страница 78: ...Description Configure 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...
Страница 79: ...ecfg3 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 MB...
Страница 80: ...es c Clock Run 0 Disable 1 Enable p Enable Phy Auto 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 Capacitiv...
Страница 81: ...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 f L1ASPM_Debounce_En 0 Dis 1 En PCIE Mobile devices...
Страница 82: ...0000 00000000 00000000 00000000 00000000 002 t00000000 00000000 00000000 00000000 00000000 00000000 003 t00000000 00000000 00000000 00000000 00000000 00000000 004 t00000000 00000000 00000000 00000000...
Страница 83: ...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 0000...
Страница 84: ...ddress line 10 51 step cmd step Description Step MIP instructions Syntax step 10 52 go cmd go Description start CPU Syntax go 10 53 showgpr cmd showgpr Description toggles showing cpu gpr mode Syntax...
Страница 85: ...ess line 10 58 trap cmd trap Description trap cpu memory Syntax trap low high off 10 59 cpuinfo cmd cpuinfo Description display cpu information Syntax cpuinfo r t 10 60 cpugprstatus cmd cpugprstatus D...
Страница 86: ...data d HEX delay poll dma done polling def 00000000 f string filename h Use high priority DMA Write l HEX Length of DATA in bytes to DMA def 00000100 n DEC iteration o HEX Buffer offset def 00000000...
Страница 87: ...e to abosolute address and hang the system def 00000000 Example 1 Setup DMA NIC Memory to HOST memory Using low priority DMA Read and disable byte swap and enable detail display 1 dmaw a 0 l 10 Device...
Страница 88: ...FFFFF 8 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 0000000000000 9 00000000000000000000000000000000 FFFFFFFFFFFFF a Word Increment b Dword Increment c Word Decrement d Dword Decrement def 00000000 q HEX low 32...
Страница 89: ...disable otherwise enable MAC loopback Syntax maclpk n 0 to disable Otherwise enable Example 1 Driver must be loaded before configure 0 loaddrv 2 Enable MAC loop back 0 mcaclpb 1 Enabling MAC loopback...
Страница 90: ...k mode k Applies CRC 32 check on Rx path l DEC Length of Tx packet def 60 m Generate TPROT packets n DEC Number of packets to be transmitted def 0 o DEC Number of Rx Rings def 1 p Send protocol packet...
Страница 91: ...ets Ring 3 0 0 Tx Packets Enqed Ring 0 0 0 Tx Packets Enqed Ring 1 0 0 Tx Packets Enqed Ring 2 0 0 Tx Packets Enqed Ring 3 0 0 Rxed Packets Ring 00 0 0 Rxed Packets Ring 01 0 0 Rxed Packets Ring 02 0...
Страница 92: ...0 0 Rxed Packets Ring 15 0 0 Rxed CRC 32 Errors 0 0 Out of Memory 0 0 Too Many Frag Pkt 0 0 PageUP PageDN to scroll Ins Del toggles refresh ESC to exit CHIP Statistics ifHCInOctets 0 etherStatsFragmen...
Страница 93: ...Pkts 11 0 COSIfHCInPkts 12 0 COSIfHCInPkts 13 0 COSIfHCInPkts 14 0 COSIfHCInPkts 15 0 COSFrmsDxDueToFilters 0 nicDmaWriteQueueFull 0 nicDmaWrHiPQFull 0 nicNoMoreRxBDs 0 PageUP PageDN to scroll Ins Del...
Страница 94: ...dPidx 100 100 100 100 RxStdCidx 000 000 000 RetRPidx 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...
Страница 95: ...g HEX Tx Flags def txcfg h DEC Specifies IP total length Default correct IP length I Incremental length j Random number of fragments k Use random packet length l DEC Start packet length def txcfg m Us...
Страница 96: ...andard CIdx 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 Se...
Страница 97: ...s 0 d3Collided12Times 0 d3Collided13Times 0 d3Collided14Times 0 d3Collided15Times 0 ifHCOutUcastPkts 0 d3StatsCarSenseErrors 0 ifOutDiscards 0 COSIfHCInPkts 00 0 COSIfHCInPkts 01 0 COSIfHCInPkts 02 0...
Страница 98: ...um Only YES 1 NO 0 NO 15 Insert VLAN Tag YES 1 NO 0 NO 16 VLAN Tag 1 17 Random IP header field YES 1 NO 0 NO 18 Random TCP UDP header field YES 1 NO 0 NO 0 Exit Enter your choice option paramter 10 76...
Страница 99: ...d drvrcfg Description 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...
Страница 100: ...def 1 r string 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...
Страница 101: ...gister 2 0 mwrite 2 15 10 85 mread cmd mread Description Read PHY registers via MII Management interface Syntax mread begin end len Address range 0x00 0x1F Example 1 Read MII register 0 0 mread 0 00 1...
Страница 102: ...e of MII Access 0 disable 1 enable Syntax miimode 1 0 Example 0 miimode 0 Setting MII auto mode to OFF 0 miimode 1 Setting MII auto mode to ON 0 miimode 10 88 lbertram Command lbertram Description Loa...
Страница 103: ...mand rm Description 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...
Страница 104: ...cmd read Description 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 reg...
Страница 105: ...Write Memory Syntax write lImSsxX address 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 V...
Страница 106: ...X addr lImSsxX addr 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 ho...
Страница 107: ...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 10 100 clear...
Страница 108: ...t cmd readbit Description Read the bit specified by bit Syntax readbit lImSsxX addr bit Configuration space 32 S Configuration space 16 X Configuration space 8 Registers 32 default SRAM 32 NVRAM SEEPR...
Страница 109: ...n end len data 10 104 vpdtest cmd vpdtest Description Run VPD Memory Test Write designed pattern toVPD storage Then read back and compare with designed pattern Syntax vpdtest Options d Force destructi...
Страница 110: ...msi Description Run MSI Test Manually Syntax msi Options c HEX message count 2 to powered of c def 00000003 d option removed kept for bcmediag compatibility I initializing MSI block o DEC offset def...
Страница 111: ...tensive test d HEX ending offset with e option def FFFFFFFF n DEC iteration q quiet mode r read only test s HEX start offset with e option def 00000000 10 110 bist cmd bist Description Run BIST The de...
Страница 112: ...also n DEC iteration 10 112 intrtest cmd intrtest Description Interrupt Test Syntax intrtest iteration Options n DEC iteration The default iteration is 1 0 means run forever 10 113 pkttest Command pk...
Страница 113: ...10 115 dmatest cmd dmatest Description DMA Test Syntax dmatest iteration Options 4 Allocate 4k aligned buffers a HEX NIC address def 00002100 d Display DMA info f Force to use 32 bit bus l HEX Length...
Страница 114: ...sts in that group are disabled Syntax testd tests tests Example testd a12bc Disable test a1 a2 and all tests in group b and c testd ab cd Disables all tests testd Display disabled tests 10 118 asftest...
Страница 115: ...es which are described as follows Test case Pattern 0 ffffffff ffffffff 00000000 00000000 1 ffffffff fffffffe 00000000 00000000 2 ffffffff fffffffd 00000000 00000000 64 7fffffff ffffffff 00000000 0000...
Страница 116: ...ons 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 10 120 sramte...
Страница 117: ...pudiag 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 DEC Iterati...
Страница 118: ...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...
Страница 119: ...ption Run MII Misc Tests Syntax miimisctest 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 Ad...
Страница 120: ...Options a HEX 0 to add a pattern otherwise 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...
Страница 121: ...20 0x0e Worst Intr Latency 54476 CPU clocks 50 uS 10 136 intrctrl cmd intrctrl Description Control Interrupt Controller Syntax intrctrl u m u unmask current interrupt m mask current interrupt Example...
Страница 122: ...def 00000000 n DEC MBUF number to display decode def 256 w MBUF workaround Example 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...
Страница 123: ...ing BCM54xx Done Determining Link Speed 1000Base T Full Duplex 10 140 unloaddrv cmd unloaddrv Description Unload NIC driver Syntax unloaddrv Example 0 unloaddrv Unloading MAC driver OK 10 141 machalt...
Страница 124: ...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 00000...
Страница 125: ...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 ex...
Страница 126: ...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 Exam...
Страница 127: ...dev Options 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 Vers...
Страница 128: ...2 16 Radix used for number entry 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 lo...
Страница 129: ...00 00000000 00000000 0 0 14 0 12AE 0003 02 00 00 00000000 F4000004 10 1 0 0 1002 4742 03 00 00 00009001 F5000000 11 10 164 dos cmd dos Description Execute DOS command If no parameter is entered DOS sh...
Страница 130: ...ption paramter 0 Diagnostics Configuration Menu 1 Memory Test Configuration Menu 2 Test Configuration Menu 3 Driver Configuration Menu 4 Abort On Failure is enabled 5 Save Configuration Enter your cho...
Страница 131: ...le Mini Ring Yes 1 No 0 1 14 Mini Ring Packet Size 64 512 64 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 Fl...
Страница 132: ...the parameter a1 and a2 are one byte value to specify the NIC SMBus Addresses It sets to 0 by default Syntax smbus a1 a2 Options s Run in slave mode 10 169 cls cmd cls Description Clear Screen Syntax...
Страница 133: ...d firmware only m Enter asf mode only w Simulate warm boot 10 173 new cmd new Description Display new command available The default parameter for n is 10 Syntax new n 10 174 asfprg cmd asfprg Descript...
Страница 134: ...name which contains data pattern o HEX sram first block offset to be loaded def 00000000 s HEX sram second block offset to be loaded def 00000000 10 177 inp cmd inp Description input port not supporte...
Страница 135: ...mmands from a file Syntax do filename with parameter1 Options c continue on error e echo command p DEC pause between each command If a value is entered it delays for of ms def 0 10 181 txfill cmd txfi...
Страница 136: ...n A Syntax wbuf tx rx offset data 10 183 rbuf cmd rbuf Description Read tx rx bistin bistout bistex buffer Read tx rx bistin bistout bistex buffer with specified at offset with a specified length Only...
Страница 137: ...tax pause message 10 187 q cmd q Description Exit System Syntax q 10 188 verbose cmd verbose Description change verbose setting Syntax verbose Options c toggles CONSOLE e toggles ERROR i toggles IO d...
Страница 138: ...Display current variables Syntax var 10 191 meminfo cmd meminfo Description report the memory infomation Syntax meminfo 10 192 delvar cmd delvar Description Delete local variables Syntax delvar 10 193...
Страница 139: ...ore register content from a file This command may be used together with regdump to restore register got changed Syntax regrestore filename Options c PCI Config Reg f string filename m MII Registers r...
Страница 140: ...endpoint Broadcom device dut x DEC 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 10 198 dids cmd dids...
Страница 141: ...egister address Syntax readbr register address 10 202 writebr cmd writebr Description Write a 32 bit value to bridge s configuration space register address Syntax writebr register address value 10 203...
Страница 142: ...VRAM This command reads ISCSI code from a file and program into NVRAM There are 2 types of ISCSI firmware image One only contains ISCSI Boot Firmware The other also contains ISCSI CFG Block and ISCSI...
Страница 143: ...r CPU code loading e Enable New UMP Echo Test in UMP Firmware d Disable New UMP Echo Test in UMP Firmware 10 211 umpcfg cmd umpcfg Description Configure UMP in NVRAM Syntax umpcfg 1 UMP Settings Descr...
Страница 144: ...scription Enable Disable UMP Syntax setump Options d Disable UMP e Enable UMP 10 213 secfgsb1 cmd secfgsb1 Description Configure Selfboot NVRAM Group 1 Syntax secfgsb1 Options m Mac address xx xx xx x...
Страница 145: ...Configure Selfboot NVRAM Group 2 Syntax secfgsb2 Options D PCIE Pwr Consumption Dissipate 1 Default 2 Custom define d PCIE Pwr Consumption Dissipate Data Data Pwr Rail Type State Base Power Select Da...
Страница 146: ...No 1 Yes a Wol Auto 0 Dis 1 Magic 2 Interest 3 Magic Interest B Led Mode 0 Mac 1 Phy1 2 Phy2 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...
Страница 147: ...0 Ctrl S 1 Ctrl B m MBA Boot Protocol 0 PXE 1 RPL 2 BOOTP 3 iSCSI v Rd VPD Vendor Data V0 b MBA Bootstrap Type 0 Auto 1 BBS 2 Int18 3 Int19 t MBA Delay Time 0 15 e VLan 0 Dis 1 En i VLAN ID s MBA Lin...
Страница 148: ...re E Switch but hardware eswitch works 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...
Страница 149: ...annot 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 N...
Страница 150: ...ITS_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...
Страница 151: ...RR_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...
Страница 152: ...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 Chi...