diff options
author | Peter Yin <peter.yin@quantatw.com> | 2023-12-19 18:50:46 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2024-01-04 18:42:06 +0300 |
commit | 309918cd167f16c95dd508ac5a6afd9701470737 (patch) | |
tree | 05829198778db3d1209a10cf93635b5bd09d9bc5 /poky/scripts/lib/recipetool/create_buildsys_python.py | |
parent | a5bb1b519246435f22a034f9040505ee7302bfdb (diff) | |
download | openbmc-309918cd167f16c95dd508ac5a6afd9701470737.tar.xz |
meta-facebook: harma: flash:bios
Support for BIOS update.
root@harma:/tmp# ./bios-update.sh F0M_1A02.BIN
Bios upgrade started at Tue Dec 19 07:06:04 PST 2023
Power off host server
Host server powered off
Set GPIO to access SPI flash from BMC used by host
switch bios GPIO to bmc
set_gpio: set bmc-spi-mux-select-0 = 1 success
bind aspeed-smc spi driver
Bios image is F0M_1A02.BIN
mtd6 is not a pnor device
mtd6 not available
Flashing bios image to mtd7...
Erasing block: 256/256 (100%)
Writing kb: 16384/16384 (100%)
Verifying kb: 16384/16384 (100%)
bios updated successfully...
Unbind aspeed-smc spi driver
Set GPIO back for host to access SPI flash
switch bios GPIO to CPU
set_gpio: set bmc-spi-mux-select-0 = 0 success
Please do sled cycle.
Change-Id: I9e1c8afca44abb1917fa342ee505ad38e845d192
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
Diffstat (limited to 'poky/scripts/lib/recipetool/create_buildsys_python.py')
0 files changed, 0 insertions, 0 deletions