diff options
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | 2018-01-09 03:44:39 -0600 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-01-26 01:33:37 +0000 |
commit | 7a37ba10e82311d5cfb30e7e26a33a57a368a5a6 (patch) | |
tree | bf2595dec87d3855fc9dcc67d2ad20638d825945 | |
parent | 1e848820607be7206cfebd7fa46a68f97b6d4046 (diff) | |
download | talos-openbmc-7a37ba10e82311d5cfb30e7e26a33a57a368a5a6.tar.gz talos-openbmc-7a37ba10e82311d5cfb30e7e26a33a57a368a5a6.zip |
JSON file with DCMI capabilities.
This JSON file is containing the DCMI capabilities, this can
be overriden for individual systems based on the capabilities.
Change-Id: I67231fc8ea6da4e13856da296fc7c24e3122c559
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb | 4 | ||||
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/dcmi_cap.json | 17 |
2 files changed, 21 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb index 583c0b12c..eb3f90289 100644 --- a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb +++ b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb @@ -58,6 +58,7 @@ S = "${WORKDIR}/git" SRC_URI += "file://merge_yamls.py \ file://dev_id.json \ + file://dcmi_cap.json \ " HOSTIPMI_PROVIDER_LIBRARY += "libapphandler.so" @@ -69,6 +70,7 @@ FILES_${PN}_append = " ${libdir}/host-ipmid/lib*${SOLIBS}" FILES_${PN}_append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" FILES_${PN}_append = " ${libdir}/net-ipmid/lib*${SOLIBS}" FILES_${PN}_append = " ${datadir}/ipmi-providers/dev_id.json" +FILES_${PN}_append = " ${datadir}/ipmi-providers/dcmi_cap.json" FILES_${PN}-dev_append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV} ${libdir}/ipmid-providers/*.la" # Soft Power Off @@ -110,6 +112,8 @@ do_install_append(){ install -d ${D}${datadir}/ipmi-providers install -m 0644 -D ${WORKDIR}/dev_id.json \ ${D}${datadir}/ipmi-providers/dev_id.json + install -m 0644 -D ${WORKDIR}/dcmi_cap.json \ + ${D}${datadir}/ipmi-providers/dcmi_cap.json } # python-pyyaml-native is installed by do_configure, so put this task after addtask merge_sensors after do_configure before do_compile diff --git a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/dcmi_cap.json b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/dcmi_cap.json new file mode 100644 index 000000000..0f3dc3399 --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/dcmi_cap.json @@ -0,0 +1,17 @@ +{ + "PowerManagement": 1, + "OOBSecondaryLan": 1, + "SerialTMODE": 1, + "InBandSystemInterfaceChannel": 1, + "SELAutoRollOver": 1, + "FlushEntireSELUponRollOver": 0, + "RecordLevelSELFlushUponRollOver": 0, + "NumberOfSELEntries": 200, + "TempMonitoringSamplingFreq":0, + "PowerMgmtDeviceSlaveAddress": 0, + "BMCChannelNumber": 0, + "DeviceRivision": 0, + "MandatoryPrimaryLanOOBSupport": 255, + "OptionalSecondaryLanOOBSupport": 255, + "OptionalSerialOOBMTMODECapability": 255 +} |