diff options
author | Lei YU <mine260309@gmail.com> | 2018-06-28 16:02:44 +0800 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-07-04 22:45:14 +0000 |
commit | 35e9c84f41971f0d5c5fa6cb3faf2c43815a4ac1 (patch) | |
tree | d64e7fe761927b4554d9c86ff755825763b94f79 /meta-openbmc-machines/meta-openpower | |
parent | d2f2ee6d40dd5fb44b36a5f006687e51b5188f9f (diff) | |
download | blackbird-openbmc-35e9c84f41971f0d5c5fa6cb3faf2c43815a4ac1.tar.gz blackbird-openbmc-35e9c84f41971f0d5c5fa6cb3faf2c43815a4ac1.zip |
meta-romulus: Add callouts yaml config
Romulus was using the exmaple callouts yaml and it is just a dummy one.
Provide the real callouts yaml config for Romulus.
Tested: With the following commit, verify CALLOUT_INVENTORY_PATH is
correctly set when CPU error is injected and the event is sent
to BMC.
Change-Id: I266c51cc52ebdd770dd332c50e26ed3e8cd65155
Signed-off-by: Lei YU <mine260309@gmail.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower')
3 files changed, 25 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/conf/machine/romulus.conf b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/conf/machine/romulus.conf index e0323dc50..d45211c0d 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/conf/machine/romulus.conf +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/conf/machine/romulus.conf @@ -16,3 +16,4 @@ PHOSPHOR_MRW_REV = "14b471fbf37f5fb60261de001df83caf5f96d81f" PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-inventory = "romulus-ipmi-inventory-map-native" PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "romulus-led-manager-config-native" PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-read-inventory = "romulus-ipmi-fru-read-inventory-native" +PREFERRED_PROVIDER_virtual/phosphor-logging-callouts = "romulus-phosphor-logging-callouts-native" diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/logging/files/callouts.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/logging/files/callouts.yaml new file mode 100644 index 000000000..02bb3d8bb --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/logging/files/callouts.yaml @@ -0,0 +1,5 @@ +# TODO: Add i2c devices like +# /sys/devices/platform/ahb/ahb:apb/ahb:apb:i2c@1e78a000/1e78a100.i2c-bus/i2c-3/3-0052: /system/chassis/motherboard +/sys/devices/platform/gpio-fsi/fsi0/slave@00:00/raw: /system/chassis/motherboard/cpu0 +/sys/devices/platform/gpio-fsi/fsi0/slave@00:00/00:00:00:0a/fsi1/slave@01:00/raw: /system/chassis/motherboard/cpu1 + diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/logging/romulus-phosphor-logging-callouts-native.bb b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/logging/romulus-phosphor-logging-callouts-native.bb new file mode 100644 index 000000000..375213957 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/logging/romulus-phosphor-logging-callouts-native.bb @@ -0,0 +1,19 @@ +SUMMARY = "Romulus inventory map for phosphor-ipmi-host" +PR = "r1" + +inherit native +inherit obmc-phosphor-license +inherit phosphor-logging + +SRC_URI += "file://callouts.yaml" + +PROVIDES += "virtual/phosphor-logging-callouts" + +S = "${WORKDIR}" + +do_install() { + DEST=${D}${callouts_datadir} + install -d ${DEST} + install callouts.yaml ${DEST} +} + |