diff options
author | Vijay Khemka <vijaykhemka@fb.com> | 2020-03-04 22:29:09 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-03-05 04:44:19 +0300 |
commit | 001348a18193180988f6d1715be66f98e71b7f62 (patch) | |
tree | 702d3c812318e62954f1a49f12bbe53d01abd8dc /meta-facebook/recipes-phosphor/ipmi | |
parent | 60329ae7948afad0113799469efa212bba60b9b7 (diff) | |
download | openbmc-001348a18193180988f6d1715be66f98e71b7f62.tar.xz |
meta-facebook: Move recipes-phosphor to facebook layer
Moved recipe-phosphor to meta-facebook to support multiple
facebook platform and make use of common code across platforms.
(From meta-facebook rev: 2b00ba0327fcef6ae98243bc48367b395460805f)
Change-Id: If3b847b60c60d1d93c3c26be0018eb8408e4f93e
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-facebook/recipes-phosphor/ipmi')
5 files changed, 65 insertions, 0 deletions
diff --git a/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend b/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend new file mode 100644 index 000000000..8a58a2da2 --- /dev/null +++ b/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend_tiogapass := "${THISDIR}/${PN}:" diff --git a/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-config/channel_config.json b/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-config/channel_config.json new file mode 100644 index 000000000..eea3b4e20 --- /dev/null +++ b/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-config/channel_config.json @@ -0,0 +1,38 @@ +{ + "0" : { + "name" : "IPMB", + "is_valid" : true, + "active_sessions" : 0, + "max_transfer_size" : 256, + "channel_info" : { + "medium_type" : "ipmb", + "protocol_type" : "ipmb-1.0", + "session_supported" : "session-less", + "is_ipmi" : true + } + }, + "1" : { + "name" : "eth0", + "is_valid" : true, + "active_sessions" : 0, + "max_transfer_size" : 256, + "channel_info" : { + "medium_type" : "lan-802.3", + "protocol_type" : "ipmb-1.0", + "session_supported" : "multi-session", + "is_ipmi" : true + } + }, + "8" : { + "name" : "INTRABMC", + "is_valid" : true, + "active_sessions" : 0, + "max_transfer_size" : 256, + "channel_info" : { + "medium_type" : "oem", + "protocol_type" : "oem", + "session_supported" : "session-less", + "is_ipmi" : true + } + } +} diff --git a/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-config/dev_id.json b/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-config/dev_id.json new file mode 100644 index 000000000..f079091d6 --- /dev/null +++ b/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-config/dev_id.json @@ -0,0 +1,2 @@ +{"id": 32, "revision": 129, "addn_dev_support": 191, + "manuf_id": 40981, "prod_id": 12614, "aux": 0} diff --git a/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-channels.json b/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-channels.json new file mode 100644 index 000000000..690f9e733 --- /dev/null +++ b/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-channels.json @@ -0,0 +1,16 @@ +{ + "channels": [ + { + "type": "me", + "slave-path": "/dev/ipmb-4", + "bmc-addr": 32, + "remote-addr": 44 + }, + { + "type": "ipmb", + "slave-path": "/dev/ipmb-9", + "bmc-addr": 32, + "remote-addr": 96 + } + ] +} diff --git a/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend b/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend new file mode 100644 index 000000000..b3205affa --- /dev/null +++ b/meta-facebook/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend @@ -0,0 +1,8 @@ +FILESEXTRAPATHS_prepend_tiogapass := "${THISDIR}/${PN}:" + +SRC_URI_append_tiogapass = " file://ipmb-channels.json" + +do_install_append_tiogapass(){ + install -m 0644 -D ${WORKDIR}/ipmb-channels.json \ + ${D}/usr/share/ipmbbridge +} |