diff options
author | Vivekanand Veeracholan <vveerach@google.com> | 2020-04-10 02:27:21 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-04-10 18:05:43 +0300 |
commit | d53dbace929fed2e5eea129d1834f3d0a0bb472c (patch) | |
tree | 82741d15a5e38dc9df74f4f7cdf079c2e0bf1b40 /meta-quanta/meta-gsj/recipes-phosphor | |
parent | 8c598f0b14459211a57570e36174b4c1885238dd (diff) | |
download | openbmc-d53dbace929fed2e5eea129d1834f3d0a0bb472c.tar.xz |
meta-quanta: gsj: Configure ipmi-net over usb0
gsj uses usb0 for RMCPP.
Add necessary channel config and access settings.
(From meta-quanta rev: 96620f6b11f72fd94c39a5472f7a97b81d66e541)
Signed-off-by: Vivekanand Veeracholan <vveerach@google.com>
Change-Id: I303b781572f0ef107839bc4f0ab435b781702b74
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-quanta/meta-gsj/recipes-phosphor')
4 files changed, 38 insertions, 0 deletions
diff --git a/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend new file mode 100644 index 000000000..5723801b2 --- /dev/null +++ b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend_gsj := "${THISDIR}/${PN}:" diff --git a/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-config/channel_access.json b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-config/channel_access.json new file mode 100644 index 000000000..fe64edc6c --- /dev/null +++ b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-config/channel_access.json @@ -0,0 +1,9 @@ +{ + "0" : { + "access_mode" : "always_available", + "user_auth_disabled" : false, + "per_msg_auth_disabled" : false, + "alerting_disabled" : false, + "priv_limit" : "priv-admin" + } +} diff --git a/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-config/channel_config.json b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-config/channel_config.json new file mode 100644 index 000000000..a2bb3bec8 --- /dev/null +++ b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-config/channel_config.json @@ -0,0 +1,25 @@ +{ + "0" : { + "name" : "usb0", + "is_valid" : true, + "active_sessions" : 0, + "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, + "channel_info" : { + "medium_type" : "oem", + "protocol_type" : "oem", + "session_supported" : "session-less", + "is_ipmi" : true + } + } +} + diff --git a/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-net_%.bbappend b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-net_%.bbappend new file mode 100644 index 000000000..ac2c0ba5e --- /dev/null +++ b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-net_%.bbappend @@ -0,0 +1,3 @@ +# In gsj, usb0 is the interface. +RMCPP_IFACE_gsj = "usb0" + |