Add Fii-oem-ipmi command

Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
Change-Id: I6026b28564ad9c689347aac19d41234c150ebb67
12 files changed
tree: 933c314cb684271e2eef8f78f2fc4e04e2623a32
  1. include/
  2. src/
  3. CMakeLists.txt
  4. CMakeLists.txt.in
  5. generate-whitelist.py
  6. ipmi-whitelist.conf
  7. LICENSE
  8. MAINTAINERS
  9. README.md
README.md

Fii IPMI OEM Commands (0x34)

There are and will be a variety of sys specific commands.

System Commands (0x h)

PCIe Bifurcation Command 0x03

The PCIe bifurcation command checks the type of pcei adapter instailled in each slot.

Request

Byte(s)ValueData
0x000x03Subcommand

Response

Byte(s)ValueData
0x000x03Subcommand
0x010x--Bifurcation each bit identified the slot support x16(1b) or x8(0b)
0x020x--Present bit each bit identified PCIe adapter installed(0b) or not(1b)

Example |# |Command |Example |--------|-------|---- |1|Read the information|ipmitool 0x34 0x03

BIOS Related Commands (7x h)

BIOS Boot Count 0x71

This is a 32 bits register that provides bios pushs the boot counter to BMC, or get the boot counter from BMC.

Request

Byte(s)ValueData
0x000x03Subcommand
0x010x00/0x01read/write the boot counter register
0x020x--Byte 0
0x030x--Byte 1
0x040x--Byte 2
0x050x--Byte 3

Response

Byte(s)ValueData
0x000x71Subcommand
0x000x--Byte 0
0x010x--Byte 1
0x020x--Byte 2
0x030x--Byte 3

Example |# |Command |Example |--------|-------|---- |1|Read the boot count|ipmitool raw 0x34 0x71 0x00 |2|Add the boot count by 1|ipmitool raw 0x34 0x71 0x01 |3|Add the boot count by index|ipmitool raw 0x34 0x71 0x01 byte0 byte1 byte2 byte3