diff options
author | Chen Yugang <yugang.chen@linux.intel.com> | 2020-05-18 04:13:50 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-05-21 22:53:23 +0300 |
commit | b4327da97665d176708679e2cdeca7613b90c2bf (patch) | |
tree | 82f2e91c0bf20151135640f48d1939bdfc65a871 /meta-intel/meta-common/recipes-phosphor | |
parent | 9920b68afaa87aa3a6cb0829717f5357a76bdf98 (diff) | |
download | openbmc-b4327da97665d176708679e2cdeca7613b90c2bf.tar.xz |
meta-intel: Add ipmb config
Added configuration file for IPMB channels used for Intel platform
Tested:
It shows the change configuration on intel platform.
(From meta-intel rev: 68d62520d4d3e6cf8c5452de52692f68f9d9ad7e)
Signed-off-by: Chen Yugang <yugang.chen@linux.intel.com>
Change-Id: I017b6dca75f470b09c1761ceea491c665fd3a333
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-intel/meta-common/recipes-phosphor')
-rw-r--r-- | meta-intel/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-channels.json | 16 | ||||
-rw-r--r-- | meta-intel/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend | 8 |
2 files changed, 24 insertions, 0 deletions
diff --git a/meta-intel/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-channels.json b/meta-intel/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-channels.json new file mode 100644 index 000000000..cf5a28303 --- /dev/null +++ b/meta-intel/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-channels.json @@ -0,0 +1,16 @@ +{ + "channels": [ + { + "type": "me", + "slave-path": "/dev/ipmb-5", + "bmc-addr": 32, + "remote-addr": 44 + }, + { + "type": "ipmb", + "slave-path": "/dev/ipmb-13", + "bmc-addr": 32, + "remote-addr": 56 + } + ] +} diff --git a/meta-intel/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend b/meta-intel/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend new file mode 100644 index 000000000..e8cbbe928 --- /dev/null +++ b/meta-intel/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend @@ -0,0 +1,8 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI_append = " file://ipmb-channels.json" + +do_install_append(){ + install -m 0644 -D ${WORKDIR}/ipmb-channels.json \ + ${D}/usr/share/ipmbbridge +} |