summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-ibm/conf/machine/p10bmc.conf2
-rw-r--r--meta-ibm/recipes-kernel/linux/linux-aspeed/p10bmc.cfg1
-rw-r--r--meta-phosphor/classes/obmc-phosphor-image.bbclass1
-rw-r--r--meta-phosphor/recipes-kernel/linux/linux-%.bbappend5
-rw-r--r--meta-phosphor/recipes-kernel/linux/mctp/mctp.cfg3
-rw-r--r--meta-phosphor/recipes-kernel/linux/mctp/mctp.scc3
-rw-r--r--meta-phosphor/recipes-phosphor/images/obmc-phosphor-image.bb1
-rw-r--r--meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb6
8 files changed, 20 insertions, 2 deletions
diff --git a/meta-ibm/conf/machine/p10bmc.conf b/meta-ibm/conf/machine/p10bmc.conf
index 4f23ec6e59..e42ec227f9 100644
--- a/meta-ibm/conf/machine/p10bmc.conf
+++ b/meta-ibm/conf/machine/p10bmc.conf
@@ -21,7 +21,7 @@ require conf/distro/include/openpower-hostfw-over-pldm.inc
require conf/distro/include/ibm-mpreboot.inc
require conf/distro/include/ibm-yaml.inc
include conf/distro/include/extra-dev-debug-tools.inc
-DISTRO_FEATURES += "ibm-service-account-policy"
+DISTRO_FEATURES += "ibm-service-account-policy mctp"
MACHINE_FEATURES += 'phal tpm2'
SERIAL_CONSOLES = "115200;ttyS4"
diff --git a/meta-ibm/recipes-kernel/linux/linux-aspeed/p10bmc.cfg b/meta-ibm/recipes-kernel/linux/linux-aspeed/p10bmc.cfg
index 74cee4de91..94bb5a358c 100644
--- a/meta-ibm/recipes-kernel/linux/linux-aspeed/p10bmc.cfg
+++ b/meta-ibm/recipes-kernel/linux/linux-aspeed/p10bmc.cfg
@@ -16,3 +16,4 @@ CONFIG_USB_UHCI_HCD=y
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_PL2303=y
CONFIG_IPMI_KCS_BMC_CDEV_RAW=y
+CONFIG_TUN=y
diff --git a/meta-phosphor/classes/obmc-phosphor-image.bbclass b/meta-phosphor/classes/obmc-phosphor-image.bbclass
index 4143f34eb8..9ecd14d394 100644
--- a/meta-phosphor/classes/obmc-phosphor-image.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-image.bbclass
@@ -66,6 +66,7 @@ FEATURE_PACKAGES_obmc-network-mgmt ?= "packagegroup-obmc-apps-network"
FEATURE_PACKAGES_obmc-telemetry ?= "packagegroup-obmc-apps-telemetry"
FEATURE_PACKAGES_obmc-user-mgmt ?= "packagegroup-obmc-apps-user-mgmt"
FEATURE_PACKAGES_obmc-user-mgmt-ldap ?= "packagegroup-obmc-apps-user-mgmt-ldap"
+FEATURE_PACKAGES_obmc-dmtf-pmci ?= "packagegroup-obmc-apps-dmtf-pmci"
# FIXME: phosphor-net-ipmi depends on phosphor-ipmi-host !?!? and
# cannot be built on core-qemu machines because of the dependency
diff --git a/meta-phosphor/recipes-kernel/linux/linux-%.bbappend b/meta-phosphor/recipes-kernel/linux/linux-%.bbappend
index 32876c413a..db375e4e85 100644
--- a/meta-phosphor/recipes-kernel/linux/linux-%.bbappend
+++ b/meta-phosphor/recipes-kernel/linux/linux-%.bbappend
@@ -1,2 +1,5 @@
FILESEXTRAPATHS:prepend := "${THISDIR}:"
-SRC_URI:append = " file://systemd-bootchart.cfg"
+SRC_URI:append = " \
+ file://systemd-bootchart.cfg \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'mctp', 'file://mctp/mctp.scc file://mctp/mctp.cfg', '', d)} \
+ "
diff --git a/meta-phosphor/recipes-kernel/linux/mctp/mctp.cfg b/meta-phosphor/recipes-kernel/linux/mctp/mctp.cfg
new file mode 100644
index 0000000000..26f3c4157e
--- /dev/null
+++ b/meta-phosphor/recipes-kernel/linux/mctp/mctp.cfg
@@ -0,0 +1,3 @@
+CONFIG_MCTP=y
+CONFIG_MCTP_SERIAL=y
+CONFIG_MCTP_TRANSPORT_I2C=y
diff --git a/meta-phosphor/recipes-kernel/linux/mctp/mctp.scc b/meta-phosphor/recipes-kernel/linux/mctp/mctp.scc
new file mode 100644
index 0000000000..d1fe804345
--- /dev/null
+++ b/meta-phosphor/recipes-kernel/linux/mctp/mctp.scc
@@ -0,0 +1,3 @@
+define KFEATURE_DESCRIPTION "Enable MCTP"
+
+kconf non-hardware mctp.cfg
diff --git a/meta-phosphor/recipes-phosphor/images/obmc-phosphor-image.bb b/meta-phosphor/recipes-phosphor/images/obmc-phosphor-image.bb
index 7759b7ef96..19e256c070 100644
--- a/meta-phosphor/recipes-phosphor/images/obmc-phosphor-image.bb
+++ b/meta-phosphor/recipes-phosphor/images/obmc-phosphor-image.bb
@@ -45,6 +45,7 @@ IMAGE_FEATURES += " \
obmc-network-mgmt \
obmc-settings-mgmt \
obmc-telemetry \
+ obmc-dmtf-pmci \
"
# The shadow recipe provides the binaries(like useradd, usermod) needed by the
# phosphor-user-manager.
diff --git a/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb b/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
index a1b4355be5..0247389ee0 100644
--- a/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
+++ b/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
@@ -31,6 +31,7 @@ PACKAGES = " \
${PN}-telemetry \
${PN}-user-mgmt \
${PN}-user-mgmt-ldap \
+ ${PN}-dmtf-pmci \
"
SUMMARY:${PN}-bmc-state-mgmt = "BMC state management"
@@ -201,3 +202,8 @@ RDEPENDS:${PN}-user-mgmt-ldap = " \
nss-pam-ldapd \
phosphor-ldap \
"
+
+SUMMARY:${PN}-dmtf-pmci = "DMTF PMCI Protocol Implementations"
+RDEPENDS:${PN}-dmtf-pmci = " \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'mctp', 'mctp', '', d)} \
+ "