| commit | 163226efd02b91994aaa474005979560965ac3d6 | [log] [tgz] |
|---|---|---|
| author | mohaimen.alsamarai@fii-na.corp-partner.google.com <mohaimen.alsamarai@fii-na.corp-partner.google.com> | Fri Apr 16 13:54:15 2021 -0500 |
| committer | mohaimen.alsamarai@fii-na.corp-partner.google.com <mohaimen.alsamarai@fii-na.com> | Fri Apr 16 14:48:18 2021 -0500 |
| tree | 7c7009bc84bb74a06047e29de997e8cd3a23ad6d | |
| parent | 38779e443611ebb60d16b8e73d4b40ed59df3cb0 [diff] |
Add Fii oem command Signed-off-by: mohaimen alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: I1b9113367f71d9484688b3d7fe4a923007fe31e2
There are and will be a variety of sys specific commands.
The PCIe bifurcation command checks the type of pcei adapter instailled in each slot.
Request
| Byte(s) | Value | Data |
|---|---|---|
| 0x00 | 0x03 | Subcommand |
Response
| Byte(s) | Value | Data |
|---|---|---|
| 0x00 | 0x03 | Subcommand |
| 0x01 | 0x-- | Bifurcation each bit identified the slot support x16(1b) or x8(0b) |
| 0x02 | 0x-- | Present bit each bit identified PCIe adapter installed(0b) or not(1b) |
Example |# |Command |Example |--------|-------|---- |1|Read the information|ipmitool 0x34 0x03
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) | Value | Data |
|---|---|---|
| 0x00 | 0x03 | Subcommand |
| 0x01 | 0x00/0x01 | read/write the boot counter register |
| 0x02 | 0x-- | Byte 0 |
| 0x03 | 0x-- | Byte 1 |
| 0x04 | 0x-- | Byte 2 |
| 0x05 | 0x-- | Byte 3 |
Response
| Byte(s) | Value | Data |
|---|---|---|
| 0x00 | 0x71 | Subcommand |
| 0x00 | 0x-- | Byte 0 |
| 0x01 | 0x-- | Byte 1 |
| 0x02 | 0x-- | Byte 2 |
| 0x03 | 0x-- | 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