diff options
author | kfting <kfting@nuvoton.com> | 2019-09-17 12:41:18 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-10-04 13:40:01 +0300 |
commit | 7c80c512d6c55d28c5d3a3e3e3aa2d51d8a283a9 (patch) | |
tree | d311ef334c98dab0dcde6538c81081f639f94885 /meta-quanta/meta-runbmc-nuvoton/recipes-phosphor | |
parent | 55e35cc54f51416bba190bb9c6e472fc941ae393 (diff) | |
download | openbmc-7c80c512d6c55d28c5d3a3e3e3aa2d51d8a283a9.tar.xz |
meta-quanta: runbmc-nuvoton: ipmb: configure IPMB channel
The IPMB channel communicates with ME from the host.
(From meta-quanta rev: 34964359eca0e4e924b4c7191aea411e3aa7f3e4)
Signed-off-by: kfting <kfting@nuvoton.com>
Change-Id: Iac56c5feb455c66b7ae322ba33806b575972495b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-quanta/meta-runbmc-nuvoton/recipes-phosphor')
2 files changed, 22 insertions, 0 deletions
diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-runbmc-channels.json b/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-runbmc-channels.json new file mode 100644 index 000000000..45100bd1d --- /dev/null +++ b/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-runbmc-channels.json @@ -0,0 +1,11 @@ +{ + "channels": [ + { + "type": "me", + "master-path": "/dev/i2c-5", + "slave-path": "/sys/bus/i2c/devices/5-1010/slave-mqueue", + "bmc-addr": 32, + "remote-addr": 44 + } + ] +} diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend b/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend new file mode 100644 index 000000000..ef0838e10 --- /dev/null +++ b/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend @@ -0,0 +1,11 @@ +FILESEXTRAPATHS_prepend_runbmc-nuvoton := "${THISDIR}/${PN}:" + +SRC_URI_append_runbmc-nuvoton = " file://ipmb-runbmc-channels.json" +FILES_${PN}_append_runbmc-nuvoton = " ${datadir}/ipmbbridge/ipmb-channels.json" + +do_install_append_runbmc-nuvoton() { + install -d ${D}${datadir}/ipmbbridge + install -m 0644 -D ${WORKDIR}/ipmb-runbmc-channels.json \ + ${D}${datadir}/ipmbbridge/ipmb-channels.json +} + |