| commit | 07c15b7359bdadb2b2b6363dfa0096d8a3e0b865 | [log] [tgz] |
|---|---|---|
| author | Lei YU <yulei.sh@bytedance.com> | Sun Dec 06 15:08:06 2020 +0800 |
| committer | Tom Joseph <tomjoseph@in.ibm.com> | Fri Dec 18 03:51:52 2020 +0000 |
| tree | 045d5b07aafde1d27b9e28d67438047c35bab65d | |
| parent | 719a41cdf4cbcf5a46e6ed7f3da7f7852c665117 [diff] |
sel: Support regular SEL record
Support regular SEL record logged by phosphor-sel-logger.
Tested: Manually call IpmiSelAdd to add a SEL entry in logging, and
check the ipmi sel:
# Call IpmiSelAdd method
busctl call "xyz.openbmc_project.Logging.IPMI" "/xyz/openbmc_project/Logging/IPMI" xyz.openbmc_project.Logging.IPMI IpmiSelAdd ssaybq "Sensor message" "/xyz/openbmc_project/inventory/system/board/G220A" 3 0x01 0x02 0x03 true 0x2000
# Check SEL
$ ipmitool -C17 -I lanplus -H 127.0.0.1 -U root -P 0penBmc sel get 6
SEL Record ID : 0006
Record Type : 02
Timestamp : 01/01/1970 00:11:02
Generator ID : 2000
EvM Revision : 04
Sensor Type : System Event
Sensor Number : 90
Event Type : Sensor-specific Discrete
Event Direction : Assertion Event
Event Data : 010203
Description : OEM System boot event
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: Ifcbc4fbe8825e9624d9e7bb2419eabf707f51254
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.