diff options
author | Deepak Kodihalli <dkodihal@in.ibm.com> | 2019-10-14 09:43:50 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-11-11 15:50:05 +0300 |
commit | 212dd9dc07d05ed94366437b11e5bffbcc0b27c7 (patch) | |
tree | d8d997e6d8ee6c93944ddbc7ae9217d8de579922 /meta-ibm | |
parent | 8b805bde5042f9342af59cd5c041968de5e908a7 (diff) | |
download | openbmc-212dd9dc07d05ed94366437b11e5bffbcc0b27c7.tar.xz |
pldm: add to witherspoon system
Add pldm to witherspoon system and install configs.
(From meta-ibm rev: 6f22923fcae11a46e1c21ac5eba23590d632ed7f)
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: I47cfd20eee48afaf4cf985678a0177044852372d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm')
6 files changed, 116 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend b/meta-ibm/meta-witherspoon/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend index 1173e103e6..090912ec11 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend @@ -9,4 +9,8 @@ RDEPENDS_${PN}-extras_remove_rainier = "obmc-ikvm liberation-fonts uart-render-c RDEPENDS_${PN}-extras_remove_swift = "obmc-ikvm" RDEPENDS_${PN}-extras_remove_witherspoon-tacoma = "obmc-ikvm liberation-fonts uart-render-controller" RDEPENDS_${PN}-logging_remove_rainier = "ibm-logging" +RDEPENDS_${PN}-extras_append_rainier = " pldm" +RDEPENDS_${PN}-extras_append_witherspoon-128 = " pldm" +RDEPENDS_${PN}-extras_append_witherspoon-tacoma = " pldm" + ${PN}-software-extras_append_ibm-ac-server = " phosphor-software-manager-sync" diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/pldm/pldm/11.json b/meta-ibm/meta-witherspoon/recipes-phosphor/pldm/pldm/11.json new file mode 100644 index 0000000000..26fdf5c098 --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/pldm/pldm/11.json @@ -0,0 +1,28 @@ +{ + "entries" : [{ + "type" : 33, + "instance" : 0, + "container" : 0, + "effecters" : [{ + "set" : { + "id" : 196, + "size" : 1, + "states" : [1,2] + }, + "dbus" : "/xyz/openbmc_project/state/host0" + }] + }, + { + "type" : 45, + "instance" : 0, + "container" : 0, + "effecters" : [{ + "set" : { + "id" : 260, + "size" : 2, + "states" : [9] + }, + "dbus" : "/xyz/openbmc_project/state/chassis0" + }] + }] +} diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/pldm/pldm/enum_attrs.json b/meta-ibm/meta-witherspoon/recipes-phosphor/pldm/pldm/enum_attrs.json new file mode 100755 index 0000000000..cf20e3e31a --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/pldm/pldm/enum_attrs.json @@ -0,0 +1,54 @@ +{ + "entries":[ + { + "attribute_name":"pvm-fw-boot-side", + "possible_values":[ + "Perm", + "Temp" + ], + "default_values":[ + "Perm" + ] + }, + { + "attribute_name":"pvm-os-boot-side", + "possible_values":[ + "Perm", + "Temp" + ], + "default_values":[ + "Perm" + ] + }, + { + "attribute_name":"pvm-inband-code-update", + "possible_values":[ + "Allowed", + "Not Allowed" + ], + "default_values":[ + "Allowed" + ] + }, + { + "attribute_name":"pvm-surveillance", + "possible_values":[ + "Disabled", + "Enabled" + ], + "default_values":[ + "Enabled" + ] + }, + { + "attribute_name":"pvm-pcie-error-inject", + "possible_values":[ + "Disabled", + "Enabled" + ], + "default_values":[ + "Enabled" + ] + } + ] +} diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/pldm/pldm/fileTable.json b/meta-ibm/meta-witherspoon/recipes-phosphor/pldm/pldm/fileTable.json new file mode 100755 index 0000000000..9d9750a58f --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/pldm/pldm/fileTable.json @@ -0,0 +1,10 @@ +[ + { + "path":"/var/lib/pldm/PHYP-NVRAM", + "file_traits":1 + }, + { + "path":"/var/lib/pldm/PHYP-NVRAM-CKSUM", + "file_traits":4 + } +] diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/pldm/pldm/host_eid b/meta-ibm/meta-witherspoon/recipes-phosphor/pldm/pldm/host_eid new file mode 100644 index 0000000000..ec635144f6 --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/pldm/pldm/host_eid @@ -0,0 +1 @@ +9 diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/pldm/pldm_%.bbappend b/meta-ibm/meta-witherspoon/recipes-phosphor/pldm/pldm_%.bbappend new file mode 100644 index 0000000000..335396bd7a --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/pldm/pldm_%.bbappend @@ -0,0 +1,19 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +EXTRA_OEMESON_append = " \ + -Doem-ibm=enabled \ + " + +SRC_URI += "file://fileTable.json" +SRC_URI += "file://enum_attrs.json" +SRC_URI += "file://11.json" +SRC_URI += "file://host_eid" + +do_install_append() { + install -d ${D}${datadir}/pldm/bios/ + install -d ${D}${datadir}/pldm/pdr/ + install -m 0644 ${WORKDIR}/fileTable.json ${D}${datadir}/pldm/ + install -m 0644 ${WORKDIR}/enum_attrs.json ${D}${datadir}/pldm/bios/ + install -m 0644 ${WORKDIR}/11.json ${D}${datadir}/pldm/pdr/ + install -m 0644 ${WORKDIR}/host_eid ${D}${datadir}/pldm/ +} |