[SPI] How to Upgrade SPI on Wedge100BF?

Steven_zhangCreated at:Jan 06, 2020 15:01:52

1.      Connection as blow

0015e12dac066d7faf81052923bd742

 

2.      Login OpenBmc by username “root”, password “0penBmc”(number 0)

0015e12daced55c3dedc686f27c89c9

 

3.      Use “sol.sh”console display will change to COMe

0015e12dad6cba10e4b744adbfaca2d

 

4.      Login the OS

 

5.      Configure the manage port IP address

 

6.      Copy the SPI file to the OS by SCP, such as software WinSCP

Such as SPI file U7_spi_20180416_gen2_sbusclk5.bin

Copy U7_spi_20180416_gen2_sbusclk5.bin to / root/

0015e12daf43aa3f5de8bd86901fa0a

 

 

 

 

7.       Run the bfshell

0015e12db12a7ad6b2989abee0493ca


8.       Type command “ucli” enter bf-sde

0015e12db22146d115bcd0953256619


9.      Type command ”bf_pltfm” enter bf_pltfm

0015e12db315f3d6a38e29a56acde9f


10.   Upgrade SPI file U7_spi_20180416_gen2_sbusclk5.bin to EEPROM

Command:”spi-wr 0 /root/U7_spi_20180416_gen2_sbusclk5.bin 0 22074”

0015e12db3c9a94b0758000f862ccca


11.   Type command “spi-rd 0 /root/spi_read.bin 0 22074” read SPI EEPROM

spi_read.bin will auto created.

0015e12db4caf7c11f71e7622216568


12.   Quit bfshellpower off and power on the Device

 

13.   After rebootenter bfshelltype command ucli enter bf-sde>, and the type “reg_rd 0 000400D8” check SPI version

Such as SPI file U7_spi_20180416_gen2_sbusclk5.bin

After upgrade SPI version should be 2018041

0015e12db58e6658e2b0c76209c316e