[ACCTON Diag.] How to test hardware function in the power pc platform

Steven_zhangCreated at:Dec 10, 2019 14:28:55Updated at:Dec 11, 2019 09:51:32

This SOP can use in AS5610-54X and AS5710-54X.
Since those models are different from the x86 and arm platforms, so create the SOP to record.

Step 1

Boot up the switch and hit any key to enter u-boot, then login to the Diagnostic mode.

Hit any key to stop autoboot: 0
LOADER=>
LOADER=>

Step 2

Execute 'test config' to show all test item.

BCM.0> test config

Item Num Name ON/OFF Description
------------------------------------------------------------------------
[10000000] Memory W/R ON data pattern 0x00000000
[10000010] Memory W/R ON data pattern 0xFFFFFFFF
[10000020] Memory W/R ON data pattern 0x55555555
[10000030] Memory W/R ON data pattern 0xAAAAAAAA
[10000040] Memory W/R ON data pattern #ADDR
[10010000] I2C Probe ON I2C walkthrough PCA9548A
[10010010] I2C Probe ON I2C walkthrough RTC8564JE
[10010020] I2C Probe ON I2C walkthrough POWER SUPPLY 1 (Right si
[10010030] I2C Probe ON I2C walkthrough POWER SUPPLY 1 (Right si
[10010040] I2C Probe ON I2C walkthrough POWER SUPPLY 2 (Left sid
[10010050] I2C Probe ON I2C walkthrough POWER SUPPLY 2 (Left sid
[10010060] I2C Probe OFF I2C walkthrough USB HUB
[10010070] I2C Probe ON I2C walkthrough USB-to-SMBus(VT1165M)
[10010080] I2C Probe ON I2C walkthrough HW Monitor(MAX6581)
[10010090] I2C Probe ON I2C walkthrough Thermal sensoe 1
[10010100] I2C Probe ON I2C walkthrough PCA9546A_1
[10010110] I2C Probe ON I2C walkthrough PCA9548A_1
[10010120] I2C Probe OFF I2C walkthrough SFP+0
[10010121] I2C Probe ON I2C walkthrough RX EQ0
[10010130] I2C Probe OFF I2C walkthrough SFP+1
[10010131] I2C Probe ON I2C walkthrough RX EQ1
[10010140] I2C Probe OFF I2C walkthrough SFP+2
[10010141] I2C Probe ON I2C walkthrough RX EQ2
[10010150] I2C Probe OFF I2C walkthrough SFP+3
[10010151] I2C Probe ON I2C walkthrough RX EQ3
[10010160] I2C Probe OFF I2C walkthrough SFP+4
[10010170] I2C Probe OFF I2C walkthrough SFP+5
[10010180] I2C Probe OFF I2C walkthrough SFP+6
[10010190] I2C Probe OFF I2C walkthrough SFP+7
[10010200] I2C Probe ON I2C walkthrough PCA9548A_2
[10010210] I2C Probe OFF I2C walkthrough SFP+8
[10010211] I2C Probe ON I2C walkthrough RX EQ4
[10010220] I2C Probe OFF I2C walkthrough SFP+9
[10010221] I2C Probe ON I2C walkthrough RX EQ5
[10010230] I2C Probe OFF I2C walkthrough SFP+10
[10010231] I2C Probe ON I2C walkthrough RX EQ6
[10010240] I2C Probe OFF I2C walkthrough SFP+11
[10010241] I2C Probe ON I2C walkthrough RX EQ7
[10010250] I2C Probe OFF I2C walkthrough SFP+12
[10010260] I2C Probe OFF I2C walkthrough SFP+13
[10010270] I2C Probe OFF I2C walkthrough SFP+14
[10010280] I2C Probe OFF I2C walkthrough SFP+15
[10010290] I2C Probe ON I2C walkthrough PCA9548A_3
[10010300] I2C Probe OFF I2C walkthrough SFP+16
[10010301] I2C Probe ON I2C walkthrough RX EQ8
[10010310] I2C Probe OFF I2C walkthrough SFP+17
[10010311] I2C Probe ON I2C walkthrough RX EQ9
[10010320] I2C Probe OFF I2C walkthrough SFP+18
[10010321] I2C Probe ON I2C walkthrough RX EQ10
[10010330] I2C Probe OFF I2C walkthrough SFP+19
[10010331] I2C Probe ON I2C walkthrough RX EQ11
[10010340] I2C Probe OFF I2C walkthrough SFP+20
[10010350] I2C Probe OFF I2C walkthrough SFP+21
[10010360] I2C Probe OFF I2C walkthrough SFP+22
[10010370] I2C Probe OFF I2C walkthrough SFP+23
[10010380] I2C Probe ON I2C walkthrough PCA9548A_4
[10010390] I2C Probe OFF I2C walkthrough SFP+24
[10010391] I2C Probe ON I2C walkthrough TX EQ0
[10010400] I2C Probe OFF I2C walkthrough SFP+25
[10010401] I2C Probe ON I2C walkthrough TX EQ1
[10010410] I2C Probe OFF I2C walkthrough SFP+26
[10010411] I2C Probe ON I2C walkthrough TX EQ2
[10010420] I2C Probe OFF I2C walkthrough SFP+27
[10010421] I2C Probe ON I2C walkthrough TX EQ3
[10010430] I2C Probe OFF I2C walkthrough SFP+28
[10010440] I2C Probe OFF I2C walkthrough SFP+29
[10010450] I2C Probe OFF I2C walkthrough SFP+30
[10010460] I2C Probe OFF I2C walkthrough SFP+31
[10010470] I2C Probe ON I2C walkthrough PCA9546A_2
[10010480] I2C Probe ON I2C walkthrough PCA9548A_5
[10010490] I2C Probe OFF I2C walkthrough SFP+32
[10010491] I2C Probe ON I2C walkthrough TX EQ4
[10010500] I2C Probe OFF I2C walkthrough SFP+33
[10010501] I2C Probe ON I2C walkthrough TX EQ5
[10010510] I2C Probe OFF I2C walkthrough SFP+34
[10010511] I2C Probe ON I2C walkthrough TX EQ6
[10010520] I2C Probe OFF I2C walkthrough SFP+35
[10010521] I2C Probe ON I2C walkthrough TX EQ7
[10010530] I2C Probe OFF I2C walkthrough SFP+36
[10010540] I2C Probe OFF I2C walkthrough SFP+37
[10010550] I2C Probe OFF I2C walkthrough SFP+38
[10010560] I2C Probe OFF I2C walkthrough SFP+39
[10010570] I2C Probe ON I2C walkthrough PCA9548A_6
[10010580] I2C Probe OFF I2C walkthrough SFP+40
[10010581] I2C Probe ON I2C walkthrough TX EQ8
[10010590] I2C Probe OFF I2C walkthrough SFP+41
[10010591] I2C Probe ON I2C walkthrough TX EQ9
[10010600] I2C Probe OFF I2C walkthrough SFP+42
[10010601] I2C Probe ON I2C walkthrough TX EQ10
[10010610] I2C Probe OFF I2C walkthrough SFP+43
[10010611] I2C Probe ON I2C walkthrough TX EQ11
[10010620] I2C Probe OFF I2C walkthrough SFP+44
[10010621] I2C Probe ON I2C walkthrough QSFP TX EQ0
[10010630] I2C Probe OFF I2C walkthrough SFP+45
[10010631] I2C Probe ON I2C walkthrough QSFP TX EQ1
[10010640] I2C Probe OFF I2C walkthrough SFP+46
[10010641] I2C Probe ON I2C walkthrough QSFP TX EQ2
[10010650] I2C Probe OFF I2C walkthrough SFP+47
[10010651] I2C Probe ON I2C walkthrough QSFP TX EQ3
[10010660] I2C Probe ON I2C walkthrough PCA9506_1
[10010670] I2C Probe ON I2C walkthrough PCA9506_2
[10010680] I2C Probe ON I2C walkthrough PCA9538_1
[10010690] I2C Probe ON I2C walkthrough PCA9538_2
[10010700] I2C Probe ON I2C walkthrough PCA9538_3
[10010710] I2C Probe ON I2C walkthrough PCA9538_4
[10010720] I2C Probe ON I2C walkthrough PCA9506_3
[10010730] I2C Probe ON I2C walkthrough PCA9506_5
[10010740] I2C Probe ON I2C walkthrough PCA9506_7
[10010750] I2C Probe ON I2C walkthrough PCA9506_4
[10010760] I2C Probe ON I2C walkthrough PCA9506_6
[10010770] I2C Probe ON I2C walkthrough PCA9546_A2
[10010780] I2C Probe OFF I2C walkthrough QSFP+0
[10010781] I2C Probe ON I2C walkthrough QSFP RX EQ0
[10010790] I2C Probe OFF I2C walkthrough QSFP+1
[10010791] I2C Probe ON I2C walkthrough QSFP RX EQ1
[10010800] I2C Probe OFF I2C walkthrough QSFP+2
[10010801] I2C Probe ON I2C walkthrough QSFP RX EQ2
[10010810] I2C Probe OFF I2C walkthrough QSFP+3
[10010811] I2C Probe ON I2C walkthrough QSFP RX EQ3
[10050000] CPLD ON CPLD Read
[10050010] CPLD ON CPLD Write
[10060000] System LEDs OFF System LEDs light green
[10060010] System LEDs OFF System LEDs light amber
[10060020] System LEDs OFF System LEDs light off
[10060030] System LEDs OFF System LEDs light default
[10070000] PCIE ON Check the Vender ID and Device ID
[10090000] USB ID ON USB ID test
[10100000] USB R/W ON USB Read Write test
[10140000] RTC ON RTC timer test
[10160000] PSU ON PSU-1 present test
[10160010] PSU ON PSU-2 present test
[10160020] PSU ON PSU-1 12V PG test
[10160030] PSU ON PSU-2 12V PG test
[10180000] FAN OFF FAN status test
[10180010] FAN OFF FAN airflow test
[10190000] Thermal ON Thermal Sensor test
[10200000] Port LED OFF LED light GREEN
[10200010] Port LED OFF LED light AMBER
[10200020] Port LED OFF LED light OFF
[10200030] Port LED OFF LED light default
[10250000] PHY Access Rea ON MII Control Register
[10250010] PHY Access Rea ON Auto-Negotation Advertisment Register
[10250020] PHY Access Rea ON Auxiliary Control Register
[10250030] PHY Access Rea ON Auxiliary Control Register
[10260000] Mgmt port OFF MGMT port LED light left.
[10260010] Mgmt port OFF MGMT port LED light right
[10260020] Mgmt port OFF MGMT port LED off left
[10260030] Mgmt port OFF MGMT port LED off right
[10260040] Mgmt port OFF MGMT port LED light default
[10260050] Mgmt port ON Mgmt port 1G traffic Test
[10260051] Mgmt port ON Mgmt port 100M traffic Test
[10260052] Mgmt port ON Mgmt port 10M traffic Test
[20000000] Ext LB OFF connect all SFP+ ports
[20010000] MAC IntLB OFF Port MAC loopback test.
[20020000] PHY IntLB OFF Port PHY loopback test.
[20090000] Stress OFF connect all SFP+ ports
[20090010] StressILB(PHY) ON Stress ILB(PHY) Test
[20090020] StressILB(MAC) ON Stress ILB(MAC)Test
[20090030] Stress OFF pkt size 1518 with 1 port loopback cable
[20090031] Stress OFF pkt size 64 with 1 port loopback cable
[20160100] PhisonUSB read OFF phison USB read test

Step 3

Execute 'test m item number' to test this item.

BCM.0> test m 10180000
BCM.0>
Test Starting...
Test in progress: FAN Test -fan control
Speed is 50 percentage about 5 seconds
Passed(29.0C 48.0C 33.0C 27.0C 28.0C 33.0C 33.0C 28.0C 27.0C 31.0C 02:27:54)

Test Completed