commit | fa6e2092c1e7b5998f04df0ae695b2a9b0b5a5ed | [log] [tgz] |
---|---|---|
author | Kirill Pakhomov <k.pakhomov@yadro.com> | Fri Apr 24 18:57:15 2020 +0300 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Mon May 11 23:01:38 2020 +0000 |
tree | 63bcadced913dd2860dd4be004497004ac9fde7c | |
parent | b118c4b3cf5d446cf0f276dbe942d43d142c3532 [diff] |
Add FRU device presence check Resolves: openbmc/openbmc#3287 Check the FRU device's Present property upon a FRU device info reading request. Return 0xCB completion code for missing devices. Tested: Verified using ipmitool commands. Test case 1, request info about existing FRU device: Command: ipmitool -I lanplus -U root -P <password> -H <ip_addr> fru print <fru_id> Response: //Success, FRU data Test case 2, request info about missing FRU device: Command: ipmitool -I lanplus -U root -P <password> -H <ip_addr> fru print <fru_id> Response: Device not present (Requested sensor, data, or record not found) Change-Id: Iaf20f616858d5954ed2c5f5fe96363383aa943be Signed-off-by: Kirill Pakhomov <k.pakhomov@yadro.com>
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.