Add wistron oem command to switch 250 soc image

(1)Switch to backup flash
    ipmitool raw 0x32 0x02 0x00
(2)Switch to default flash
    ipmitool raw 0x32 0x02 0x01

Change-Id: Ibe5d0f6869abc54a45f98c90bd9a87bf3d3aa9c8
Signed-off-by: Ben Pai <Ben_Pai@wistron.com>
2 files changed
tree: 2d4e4a7dfc1d0d6e9921780d93961462479a0c7e
  1. .clang-format
  2. bootstrap.sh
  3. configure.ac
  4. i2c.h
  5. LICENSE
  6. MAINTAINERS
  7. Makefile.am
  8. README.md
  9. smbus.cpp
  10. smbus.hpp
  11. wistronoem.cpp
  12. wistronoem.hpp
README.md

wistron-ipmi-oem

Supported Commands

  • Detect the presence of Riser-F

Command Documentation

Detect the presence of Riser-F

Netfun: 0x32 Command: 0x01

On the mihawk platform, different riser cards can be supported. In order to be able to distinguish the currently used riser cards, we design an ipmi-oem command to detect riser cards.

If the current riser-F is used, i2c command will get a data. If other riser cards are used, the i2c command will not get the data and will get a negative return value.