Clone this repo:

Branches

  1. 4055324 build: Migrate to meson and add clang-format by Willy Tu · 1 year, 5 months ago master
  2. 46f2ae1 Remove Foxconn owners to test Gerrit Owner plugins by Willy Tu · 1 year, 3 months ago
  3. 9d6c401 foxconn-ipmi-oem: Add Maintainers and OWNERS into foxconn-ipmi-oem by avenash.thambi · 2 years, 5 months ago
  4. da2cf0d Add boot count into motherboard eeprom and clear command by Avenash Asai Thambi · 2 years, 8 months ago
  5. 35c1ac4 Add Fii-oem-ipmi command by Mohaimen Alsamarai · 3 years ago

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

#CommandExample
1Read the informationipmitool 0x34 0x03

BIOS Related Commands (0x7X)

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)ValueDescription
0x000x71Subcommand
0x01Op valueOperation to be performed
0x02-0x05byte0 byte1 byte2 byte332-bit Count value for set operation
Op valueOperation to be performed
0x00Read boot count value
0x01Increment boot count value.
0x02Clear boot count value
0x03Set the boot count with given 4 byte value

Response

Byte(s)ValueDescription
0x00CCCompletion code returned
0x01--Byte 0 of boot count
0x02--Byte 1 of boot count
0x03--Byte 2 of boot count
0x04--Byte 3 of boot count

Completion Codes (CC)

CCDescription
0xC1Invalid Command
0x00Command Success
0xC7Data length Invalid

Example

#CommandExample
1Read the boot countipmitool raw 0x34 0x71 0x00
2Increment the boot count by 1ipmitool raw 0x34 0x71 0x01
3Clear the boot count to all 0'sipmitool raw 0x34 0x71 0x02
4Set the boot count to given valueipmitool raw 0x34 0x71 0x03 byte0 byte1 byte2 byte3