diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2020-04-22 21:06:02 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-04-27 19:52:12 +0300 |
commit | e161514219e0dc8a957dabbb8529fb9fcac4e115 (patch) | |
tree | 5de46006517d690f5793eec41281d60611228ecd /meta-ibm/recipes-phosphor/pldm | |
parent | a3f54c8b8cbd50bc86efdc52cfb7d348d8c19d21 (diff) | |
download | openbmc-e161514219e0dc8a957dabbb8529fb9fcac4e115.tar.xz |
meta-ibm: move all meta-witherspoon metadata
The metadata common to all IBM systems is confusingly split between
meta-ibm and meta-witherspoon. Move everything to meta-ibm.
The meta-ibm README is re-written to more accurately reflect the scope
of the layer.
Allow the configuration samples (bblayers.conf.sample,
local.conf.sample) to be sourced from either meta-ibm or
meta-witherspoon until such a time that any workflows and tooling have
had the opportunity to move to meta-ibm.
(From meta-ibm rev: 6e05ef2e90b214eaf4e43ee7027bbbb1d8d09442)
Change-Id: I3ec890d5300f9649c974ea6b9dca93a2e8a889ab
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-ibm/recipes-phosphor/pldm')
-rw-r--r-- | meta-ibm/recipes-phosphor/pldm/pldm/11.json | 28 | ||||
-rwxr-xr-x | meta-ibm/recipes-phosphor/pldm/pldm/enum_attrs.json | 54 | ||||
-rwxr-xr-x | meta-ibm/recipes-phosphor/pldm/pldm/fileTable.json | 10 | ||||
-rw-r--r-- | meta-ibm/recipes-phosphor/pldm/pldm/host_eid | 1 | ||||
-rw-r--r-- | meta-ibm/recipes-phosphor/pldm/pldm_%.bbappend | 19 |
5 files changed, 112 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/pldm/pldm/11.json b/meta-ibm/recipes-phosphor/pldm/pldm/11.json new file mode 100644 index 000000000..26fdf5c09 --- /dev/null +++ b/meta-ibm/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/recipes-phosphor/pldm/pldm/enum_attrs.json b/meta-ibm/recipes-phosphor/pldm/pldm/enum_attrs.json new file mode 100755 index 000000000..cf20e3e31 --- /dev/null +++ b/meta-ibm/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/recipes-phosphor/pldm/pldm/fileTable.json b/meta-ibm/recipes-phosphor/pldm/pldm/fileTable.json new file mode 100755 index 000000000..9d9750a58 --- /dev/null +++ b/meta-ibm/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/recipes-phosphor/pldm/pldm/host_eid b/meta-ibm/recipes-phosphor/pldm/pldm/host_eid new file mode 100644 index 000000000..ec635144f --- /dev/null +++ b/meta-ibm/recipes-phosphor/pldm/pldm/host_eid @@ -0,0 +1 @@ +9 diff --git a/meta-ibm/recipes-phosphor/pldm/pldm_%.bbappend b/meta-ibm/recipes-phosphor/pldm/pldm_%.bbappend new file mode 100644 index 000000000..335396bd7 --- /dev/null +++ b/meta-ibm/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/ +} |