From ae96d72d15b5b569ececa784145a47955799a692 Mon Sep 17 00:00:00 2001 From: Artem Senichev Date: Fri, 23 Aug 2019 10:43:57 +0300 Subject: meta-nicole: Add initial setup for OCC and FRU Ported from IBM Romulus layer. (From meta-yadro rev: b64a2eeade9e2ba61ad4103cef8efe300cffd4c0) Signed-off-by: Artem Senichev Change-Id: I717c8fda8e61ed0c824252ac85f68d58076e9246 Signed-off-by: Brad Bishop --- .../configuration/nicole-yaml-config.bb | 35 + .../nicole-ipmi-fru-properties.yaml | 45 ++ .../nicole-yaml-config/nicole-ipmi-fru.yaml | 165 +++++ .../nicole-ipmi-inventory-sensors.yaml | 340 ++++++++++ .../nicole-yaml-config/nicole-ipmi-sensors.yaml | 741 +++++++++++++++++++++ .../ipmi/openpower-ipmi-oem_%.bbappend | 5 + .../ipmi/phosphor-ipmi-fru_%.bbappend | 5 + .../ipmi/phosphor-ipmi-host_%.bbappend | 7 + .../recipes-phosphor/occ/files/occ_sensor.yaml | 6 + .../occ/nicole-occ-control-config-native.bb | 18 + .../packagegroups/packagegroup-obmc-apps.bbappend | 1 + .../00--00--00--06/sbefifo1-dev0/occ-hwmon.1.conf | 228 +++++++ .../01--01--00--06/sbefifo2-dev0/occ-hwmon.2.conf | 228 +++++++ .../sensors/phosphor-hwmon_%.bbappend | 14 + 14 files changed, 1838 insertions(+) create mode 100644 meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config.bb create mode 100644 meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-fru-properties.yaml create mode 100644 meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-fru.yaml create mode 100644 meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-inventory-sensors.yaml create mode 100644 meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-sensors.yaml create mode 100644 meta-yadro/meta-nicole/recipes-phosphor/ipmi/openpower-ipmi-oem_%.bbappend create mode 100644 meta-yadro/meta-nicole/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend create mode 100644 meta-yadro/meta-nicole/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend create mode 100644 meta-yadro/meta-nicole/recipes-phosphor/occ/files/occ_sensor.yaml create mode 100644 meta-yadro/meta-nicole/recipes-phosphor/occ/nicole-occ-control-config-native.bb create mode 100644 meta-yadro/meta-nicole/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend create mode 100644 meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/gpio-fsi/fsi0/slave@00--00/00--00--00--06/sbefifo1-dev0/occ-hwmon.1.conf create mode 100644 meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/gpio-fsi/fsi0/slave@00--00/00--00--00--0a/fsi1/slave@01--00/01--01--00--06/sbefifo2-dev0/occ-hwmon.2.conf create mode 100644 meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend diff --git a/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config.bb b/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config.bb new file mode 100644 index 000000000..4f77d85cb --- /dev/null +++ b/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config.bb @@ -0,0 +1,35 @@ +SUMMARY = "YAML configuration for Nicole" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${YADROBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" + +inherit allarch + +SRC_URI = " \ + file://nicole-ipmi-fru.yaml \ + file://nicole-ipmi-fru-properties.yaml \ + file://nicole-ipmi-inventory-sensors.yaml \ + file://nicole-ipmi-sensors.yaml \ + " + +S = "${WORKDIR}" + +do_install() { + install -m 0644 -D nicole-ipmi-fru-properties.yaml \ + ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml + install -m 0644 -D nicole-ipmi-fru.yaml \ + ${D}${datadir}/${BPN}/ipmi-fru-read.yaml + install -m 0644 -D nicole-ipmi-inventory-sensors.yaml \ + ${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml + install -m 0644 -D nicole-ipmi-sensors.yaml \ + ${D}${datadir}/${BPN}/ipmi-sensors.yaml +} + +FILES_${PN}-dev = " \ + ${datadir}/${BPN}/ipmi-extra-properties.yaml \ + ${datadir}/${BPN}/ipmi-fru-read.yaml \ + ${datadir}/${BPN}/ipmi-inventory-sensors.yaml \ + ${datadir}/${BPN}/ipmi-sensors.yaml \ + " + +ALLOW_EMPTY_${PN} = "1" diff --git a/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-fru-properties.yaml b/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-fru-properties.yaml new file mode 100644 index 000000000..ba2c91818 --- /dev/null +++ b/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-fru-properties.yaml @@ -0,0 +1,45 @@ +/system: &DEFAULTS + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' +/system/chassis/motherboard: + <<: *DEFAULTS +/system/chassis/motherboard/cpu0: + <<: *DEFAULTS +/system/chassis/motherboard/cpu1: + <<: *DEFAULTS +/system/chassis/motherboard/dimm0: + <<: *DEFAULTS +/system/chassis/motherboard/dimm1: + <<: *DEFAULTS +/system/chassis/motherboard/dimm2: + <<: *DEFAULTS +/system/chassis/motherboard/dimm3: + <<: *DEFAULTS +/system/chassis/motherboard/dimm4: + <<: *DEFAULTS +/system/chassis/motherboard/dimm5: + <<: *DEFAULTS +/system/chassis/motherboard/dimm6: + <<: *DEFAULTS +/system/chassis/motherboard/dimm7: + <<: *DEFAULTS +/system/chassis/motherboard/dimm8: + <<: *DEFAULTS +/system/chassis/motherboard/dimm9: + <<: *DEFAULTS +/system/chassis/motherboard/dimm10: + <<: *DEFAULTS +/system/chassis/motherboard/dimm11: + <<: *DEFAULTS +/system/chassis/motherboard/dimm12: + <<: *DEFAULTS +/system/chassis/motherboard/dimm13: + <<: *DEFAULTS +/system/chassis/motherboard/dimm14: + <<: *DEFAULTS +/system/chassis/motherboard/dimm15: + <<: *DEFAULTS diff --git a/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-fru.yaml b/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-fru.yaml new file mode 100644 index 000000000..9d0d95d58 --- /dev/null +++ b/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-fru.yaml @@ -0,0 +1,165 @@ +1: + /system/chassis/motherboard/cpu0: &CPU_DEFAULTS + entityID: 3 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: Custom Field 2 + IPMIFruSection: Board + IPMIFruValueDelimiter: 58 + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board +2: + /system/chassis/motherboard/cpu1: + <<: *CPU_DEFAULTS + entityInstance: 2 +3: + /system: + entityID: 7 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + Model: + IPMIFruProperty: Part Number + IPMIFruSection: Chassis + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Chassis + /system/chassis/motherboard: + entityID: 7 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board +4: + /system/chassis/motherboard/dimm0: &DIMM_DEFAULTS + entityID: 32 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + Model: + IPMIFruProperty: Model Number + IPMIFruSection: Product + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: Version + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product +5: + /system/chassis/motherboard/dimm1: + <<: *DIMM_DEFAULTS + entityInstance: 2 +6: + /system/chassis/motherboard/dimm2: + <<: *DIMM_DEFAULTS + entityInstance: 3 +7: + /system/chassis/motherboard/dimm3: + <<: *DIMM_DEFAULTS + entityInstance: 4 +8: + /system/chassis/motherboard/dimm4: + <<: *DIMM_DEFAULTS + entityInstance: 5 +9: + /system/chassis/motherboard/dimm5: + <<: *DIMM_DEFAULTS + entityInstance: 6 +10: + /system/chassis/motherboard/dimm6: + <<: *DIMM_DEFAULTS + entityInstance: 7 +11: + /system/chassis/motherboard/dimm7: + <<: *DIMM_DEFAULTS + entityInstance: 8 +12: + /system/chassis/motherboard/dimm8: + <<: *DIMM_DEFAULTS + entityInstance: 9 +13: + /system/chassis/motherboard/dimm9: + <<: *DIMM_DEFAULTS + entityInstance: 10 +14: + /system/chassis/motherboard/dimm10: + <<: *DIMM_DEFAULTS + entityInstance: 11 +15: + /system/chassis/motherboard/dimm11: + <<: *DIMM_DEFAULTS + entityInstance: 12 +16: + /system/chassis/motherboard/dimm12: + <<: *DIMM_DEFAULTS + entityInstance: 13 +17: + /system/chassis/motherboard/dimm13: + <<: *DIMM_DEFAULTS + entityInstance: 14 +18: + /system/chassis/motherboard/dimm14: + <<: *DIMM_DEFAULTS + entityInstance: 15 +19: + /system/chassis/motherboard/dimm15: + <<: *DIMM_DEFAULTS + entityInstance: 16 +28: + /system/chassis/motherboard/opfw: + entityID: 34 + entityInstance: 0 + interfaces: + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: Version + IPMIFruSection: Product diff --git a/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-inventory-sensors.yaml b/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-inventory-sensors.yaml new file mode 100644 index 000000000..5f96f87c1 --- /dev/null +++ b/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-inventory-sensors.yaml @@ -0,0 +1,340 @@ +/xyz/openbmc_project/inventory/system: + eventReadingType: 111 + offset: 2 + sensorID: 144 + sensorType: 18 +/xyz/openbmc_project/inventory/system/chassis/motherboard: + eventReadingType: 3 + offset: 0 + sensorID: 140 + sensorType: 199 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0: + eventReadingType: 111 + offset: 8 + sensorID: 8 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core0: + eventReadingType: 111 + offset: 8 + sensorID: 43 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core1: + eventReadingType: 111 + offset: 8 + sensorID: 44 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core10: + eventReadingType: 111 + offset: 8 + sensorID: 53 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core11: + eventReadingType: 111 + offset: 8 + sensorID: 54 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core12: + eventReadingType: 111 + offset: 8 + sensorID: 55 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core13: + eventReadingType: 111 + offset: 8 + sensorID: 56 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core14: + eventReadingType: 111 + offset: 8 + sensorID: 57 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core15: + eventReadingType: 111 + offset: 8 + sensorID: 58 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core16: + eventReadingType: 111 + offset: 8 + sensorID: 59 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core17: + eventReadingType: 111 + offset: 8 + sensorID: 60 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core18: + eventReadingType: 111 + offset: 8 + sensorID: 61 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core19: + eventReadingType: 111 + offset: 8 + sensorID: 62 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core2: + eventReadingType: 111 + offset: 8 + sensorID: 45 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core20: + eventReadingType: 111 + offset: 8 + sensorID: 63 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core21: + eventReadingType: 111 + offset: 8 + sensorID: 64 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core22: + eventReadingType: 111 + offset: 8 + sensorID: 65 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core23: + eventReadingType: 111 + offset: 8 + sensorID: 66 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core3: + eventReadingType: 111 + offset: 8 + sensorID: 46 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core4: + eventReadingType: 111 + offset: 8 + sensorID: 47 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core5: + eventReadingType: 111 + offset: 8 + sensorID: 48 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core6: + eventReadingType: 111 + offset: 8 + sensorID: 49 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core7: + eventReadingType: 111 + offset: 8 + sensorID: 50 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core8: + eventReadingType: 111 + offset: 8 + sensorID: 51 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core9: + eventReadingType: 111 + offset: 8 + sensorID: 52 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1: + eventReadingType: 111 + offset: 8 + sensorID: 9 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core0: + eventReadingType: 111 + offset: 8 + sensorID: 67 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core1: + eventReadingType: 111 + offset: 8 + sensorID: 68 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core10: + eventReadingType: 111 + offset: 8 + sensorID: 77 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core11: + eventReadingType: 111 + offset: 8 + sensorID: 78 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core12: + eventReadingType: 111 + offset: 8 + sensorID: 79 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core13: + eventReadingType: 111 + offset: 8 + sensorID: 80 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core14: + eventReadingType: 111 + offset: 8 + sensorID: 81 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core15: + eventReadingType: 111 + offset: 8 + sensorID: 82 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core16: + eventReadingType: 111 + offset: 8 + sensorID: 83 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core17: + eventReadingType: 111 + offset: 8 + sensorID: 84 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core18: + eventReadingType: 111 + offset: 8 + sensorID: 85 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core19: + eventReadingType: 111 + offset: 8 + sensorID: 86 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core2: + eventReadingType: 111 + offset: 8 + sensorID: 69 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core20: + eventReadingType: 111 + offset: 8 + sensorID: 87 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core21: + eventReadingType: 111 + offset: 8 + sensorID: 88 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core22: + eventReadingType: 111 + offset: 8 + sensorID: 89 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core23: + eventReadingType: 111 + offset: 8 + sensorID: 90 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core3: + eventReadingType: 111 + offset: 8 + sensorID: 70 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core4: + eventReadingType: 111 + offset: 8 + sensorID: 71 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core5: + eventReadingType: 111 + offset: 8 + sensorID: 72 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core6: + eventReadingType: 111 + offset: 8 + sensorID: 73 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core7: + eventReadingType: 111 + offset: 8 + sensorID: 74 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core8: + eventReadingType: 111 + offset: 8 + sensorID: 75 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core9: + eventReadingType: 111 + offset: 8 + sensorID: 76 + sensorType: 7 +/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm0: + eventReadingType: 111 + offset: 4 + sensorID: 11 + sensorType: 12 +/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm1: + eventReadingType: 111 + offset: 4 + sensorID: 12 + sensorType: 12 +/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm10: + eventReadingType: 111 + offset: 4 + sensorID: 21 + sensorType: 12 +/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm11: + eventReadingType: 111 + offset: 4 + sensorID: 22 + sensorType: 12 +/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm12: + eventReadingType: 111 + offset: 4 + sensorID: 23 + sensorType: 12 +/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm13: + eventReadingType: 111 + offset: 4 + sensorID: 24 + sensorType: 12 +/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm14: + eventReadingType: 111 + offset: 4 + sensorID: 25 + sensorType: 12 +/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm15: + eventReadingType: 111 + offset: 4 + sensorID: 26 + sensorType: 12 +/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm2: + eventReadingType: 111 + offset: 4 + sensorID: 13 + sensorType: 12 +/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm3: + eventReadingType: 111 + offset: 4 + sensorID: 14 + sensorType: 12 +/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm4: + eventReadingType: 111 + offset: 4 + sensorID: 15 + sensorType: 12 +/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm5: + eventReadingType: 111 + offset: 4 + sensorID: 16 + sensorType: 12 +/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm6: + eventReadingType: 111 + offset: 4 + sensorID: 17 + sensorType: 12 +/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm7: + eventReadingType: 111 + offset: 4 + sensorID: 18 + sensorType: 12 +/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm8: + eventReadingType: 111 + offset: 4 + sensorID: 19 + sensorType: 12 +/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm9: + eventReadingType: 111 + offset: 4 + sensorID: 20 + sensorType: 12 diff --git a/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-sensors.yaml b/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-sensors.yaml new file mode 100644 index 000000000..2c056f9a1 --- /dev/null +++ b/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-sensors.yaml @@ -0,0 +1,741 @@ +2: + entityID: 34 + entityInstance: 1 + interfaces: + xyz.openbmc_project.State.Boot.Progress: + BootProgress: + Offsets: + 0: + set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified + type: string + 1: + set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.MemoryInit + type: string + 3: + set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.SecondaryProcInit + type: string + 7: + set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.PCIInit + type: string + 19: + set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.OSStart + type: string + 20: + set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.MotherboardInit + type: string + mutability: Mutability::Write|Mutability::Read + path: /xyz/openbmc_project/state/host0 + readingType: eventdata2 + sensorNamePattern: nameProperty + sensorReadingType: 111 + sensorType: 15 + serviceInterface: org.freedesktop.DBus.Properties +3: &OCC_DEFAULTS + entityID: 210 + entityInstance: 1 + interfaces: + org.open_power.OCC.Status: + OccActive: + Offsets: + 0: + assert: false + deassert: true + type: bool + 1: + assert: true + deassert: false + type: bool + mutability: Mutability::Write|Mutability::Read + path: /org/open_power/control/occ0 + readingType: assertion + sensorNamePattern: nameLeaf + sensorReadingType: 9 + sensorType: 7 + serviceInterface: org.freedesktop.DBus.Properties +4: + <<: *OCC_DEFAULTS + entityInstance: 2 + path: /org/open_power/control/occ1 +8: &CPU_DEFAULTS + entityID: 3 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 7: + assert: true + deassert: false + type: bool + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Offsets: + 8: + assert: false + deassert: true + type: bool + Prereqs: + 7: + assert: true + deassert: false + type: bool + mutability: Mutability::Write|Mutability::Read + path: /system/chassis/motherboard/cpu0 + readingType: assertion + sensorNamePattern: nameLeaf + sensorReadingType: 111 + sensorType: 7 + serviceInterface: xyz.openbmc_project.Inventory.Manager +9: + <<: *CPU_DEFAULTS + entityInstance: 2 + path: /system/chassis/motherboard/cpu1 +11: &DIMM_FUNC_DEFAULTS + entityID: 32 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 6: + assert: true + deassert: false + type: bool + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Offsets: + 4: + assert: false + deassert: true + type: bool + Prereqs: + 6: + assert: true + deassert: false + type: bool + mutability: Mutability::Write|Mutability::Read + path: /system/chassis/motherboard/dimm0 + readingType: assertion + sensorNamePattern: nameLeaf + sensorReadingType: 111 + sensorType: 12 + serviceInterface: xyz.openbmc_project.Inventory.Manager +12: + <<: *DIMM_FUNC_DEFAULTS + entityInstance: 2 + path: /system/chassis/motherboard/dimm1 +13: + <<: *DIMM_FUNC_DEFAULTS + entityInstance: 3 + path: /system/chassis/motherboard/dimm2 +14: + <<: *DIMM_FUNC_DEFAULTS + entityInstance: 4 + path: /system/chassis/motherboard/dimm3 +15: + <<: *DIMM_FUNC_DEFAULTS + entityInstance: 5 + path: /system/chassis/motherboard/dimm4 +16: + <<: *DIMM_FUNC_DEFAULTS + entityInstance: 6 + path: /system/chassis/motherboard/dimm5 +17: + <<: *DIMM_FUNC_DEFAULTS + entityInstance: 7 + path: /system/chassis/motherboard/dimm6 +18: + <<: *DIMM_FUNC_DEFAULTS + entityInstance: 8 + path: /system/chassis/motherboard/dimm7 +19: + <<: *DIMM_FUNC_DEFAULTS + entityInstance: 9 + path: /system/chassis/motherboard/dimm8 +20: + <<: *DIMM_FUNC_DEFAULTS + entityInstance: 10 + path: /system/chassis/motherboard/dimm9 +21: + <<: *DIMM_FUNC_DEFAULTS + entityInstance: 11 + path: /system/chassis/motherboard/dimm10 +22: + <<: *DIMM_FUNC_DEFAULTS + entityInstance: 12 + path: /system/chassis/motherboard/dimm11 +23: + <<: *DIMM_FUNC_DEFAULTS + entityInstance: 13 + path: /system/chassis/motherboard/dimm12 +24: + <<: *DIMM_FUNC_DEFAULTS + entityInstance: 14 + path: /system/chassis/motherboard/dimm13 +25: + <<: *DIMM_FUNC_DEFAULTS + entityInstance: 15 + path: /system/chassis/motherboard/dimm14 +26: + <<: *DIMM_FUNC_DEFAULTS + entityInstance: 16 + path: /system/chassis/motherboard/dimm15 +27: &DIMM_TEMP_DEFAULTS + bExp: 0 + entityID: 32 + entityInstance: 17 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: int64_t + multiplierM: 5 + mutability: Mutability::Write|Mutability::Read + offsetB: 0 + path: /xyz/openbmc_project/sensors/temperature/dimm0_temp + rExp: -1 + readingType: readingData + scale: -3 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +28: + <<: *DIMM_TEMP_DEFAULTS + entityInstance: 18 + path: /xyz/openbmc_project/sensors/temperature/dimm1_temp +29: + <<: *DIMM_TEMP_DEFAULTS + entityInstance: 25 + path: /xyz/openbmc_project/sensors/temperature/dimm2_temp +30: + <<: *DIMM_TEMP_DEFAULTS + entityInstance: 26 + path: /xyz/openbmc_project/sensors/temperature/dimm3_temp +31: + <<: *DIMM_TEMP_DEFAULTS + entityInstance: 27 + path: /xyz/openbmc_project/sensors/temperature/dimm4_temp +32: + <<: *DIMM_TEMP_DEFAULTS + entityInstance: 28 + path: /xyz/openbmc_project/sensors/temperature/dimm5_temp +33: + <<: *DIMM_TEMP_DEFAULTS + entityInstance: 29 + path: /xyz/openbmc_project/sensors/temperature/dimm6_temp +34: + <<: *DIMM_TEMP_DEFAULTS + entityInstance: 30 + path: /xyz/openbmc_project/sensors/temperature/dimm7_temp +35: + <<: *DIMM_TEMP_DEFAULTS + entityInstance: 31 + path: /xyz/openbmc_project/sensors/temperature/dimm8_temp +36: + <<: *DIMM_TEMP_DEFAULTS + entityInstance: 32 + path: /xyz/openbmc_project/sensors/temperature/dimm9_temp +37: + <<: *DIMM_TEMP_DEFAULTS + entityInstance: 19 + path: /xyz/openbmc_project/sensors/temperature/dimm10_temp +38: + <<: *DIMM_TEMP_DEFAULTS + entityInstance: 20 + path: /xyz/openbmc_project/sensors/temperature/dimm11_temp +39: + <<: *DIMM_TEMP_DEFAULTS + entityInstance: 21 + path: /xyz/openbmc_project/sensors/temperature/dimm12_temp +40: + <<: *DIMM_TEMP_DEFAULTS + entityInstance: 22 + path: /xyz/openbmc_project/sensors/temperature/dimm13_temp +41: + <<: *DIMM_TEMP_DEFAULTS + entityInstance: 23 + path: /xyz/openbmc_project/sensors/temperature/dimm14_temp +42: + <<: *DIMM_TEMP_DEFAULTS + entityInstance: 24 + path: /xyz/openbmc_project/sensors/temperature/dimm15_temp +43: &CORE_FUNC_DEFAULTS + entityID: 208 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 7: + assert: true + deassert: false + skipOn: deassert + type: bool + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Offsets: + 8: + assert: false + deassert: true + type: bool + Prereqs: + 7: + assert: true + deassert: false + type: bool + mutability: Mutability::Write|Mutability::Read + path: /system/chassis/motherboard/cpu0/core0 + readingType: assertion + sensorNamePattern: nameParentLeaf + sensorReadingType: 111 + sensorType: 7 + serviceInterface: xyz.openbmc_project.Inventory.Manager +44: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 2 + path: /system/chassis/motherboard/cpu0/core1 +45: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 3 + path: /system/chassis/motherboard/cpu0/core2 +46: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 4 + path: /system/chassis/motherboard/cpu0/core3 +47: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 5 + path: /system/chassis/motherboard/cpu0/core4 +48: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 6 + path: /system/chassis/motherboard/cpu0/core5 +49: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 7 + path: /system/chassis/motherboard/cpu0/core6 +50: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 8 + path: /system/chassis/motherboard/cpu0/core7 +51: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 9 + path: /system/chassis/motherboard/cpu0/core8 +52: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 10 + path: /system/chassis/motherboard/cpu0/core9 +53: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 11 + path: /system/chassis/motherboard/cpu0/core10 +54: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 12 + path: /system/chassis/motherboard/cpu0/core11 +55: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 13 + path: /system/chassis/motherboard/cpu0/core12 +56: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 14 + path: /system/chassis/motherboard/cpu0/core13 +57: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 15 + path: /system/chassis/motherboard/cpu0/core14 +58: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 16 + path: /system/chassis/motherboard/cpu0/core15 +59: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 17 + path: /system/chassis/motherboard/cpu0/core16 +60: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 18 + path: /system/chassis/motherboard/cpu0/core17 +61: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 19 + path: /system/chassis/motherboard/cpu0/core18 +62: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 20 + path: /system/chassis/motherboard/cpu0/core19 +63: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 21 + path: /system/chassis/motherboard/cpu0/core20 +64: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 22 + path: /system/chassis/motherboard/cpu0/core21 +65: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 23 + path: /system/chassis/motherboard/cpu0/core22 +66: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 24 + path: /system/chassis/motherboard/cpu0/core23 +67: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 25 + path: /system/chassis/motherboard/cpu1/core0 +68: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 26 + path: /system/chassis/motherboard/cpu1/core1 +69: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 27 + path: /system/chassis/motherboard/cpu1/core2 +70: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 28 + path: /system/chassis/motherboard/cpu1/core3 +71: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 29 + path: /system/chassis/motherboard/cpu1/core4 +72: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 30 + path: /system/chassis/motherboard/cpu1/core5 +73: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 31 + path: /system/chassis/motherboard/cpu1/core6 +74: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 32 + path: /system/chassis/motherboard/cpu1/core7 +75: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 33 + path: /system/chassis/motherboard/cpu1/core8 +76: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 34 + path: /system/chassis/motherboard/cpu1/core9 +77: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 35 + path: /system/chassis/motherboard/cpu1/core10 +78: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 36 + path: /system/chassis/motherboard/cpu1/core11 +79: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 37 + path: /system/chassis/motherboard/cpu1/core12 +80: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 38 + path: /system/chassis/motherboard/cpu1/core13 +81: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 39 + path: /system/chassis/motherboard/cpu1/core14 +82: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 40 + path: /system/chassis/motherboard/cpu1/core15 +83: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 41 + path: /system/chassis/motherboard/cpu1/core16 +84: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 42 + path: /system/chassis/motherboard/cpu1/core17 +85: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 43 + path: /system/chassis/motherboard/cpu1/core18 +86: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 44 + path: /system/chassis/motherboard/cpu1/core19 +87: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 45 + path: /system/chassis/motherboard/cpu1/core20 +88: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 46 + path: /system/chassis/motherboard/cpu1/core21 +89: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 47 + path: /system/chassis/motherboard/cpu1/core22 +90: + <<: *CORE_FUNC_DEFAULTS + entityInstance: 48 + path: /system/chassis/motherboard/cpu1/core23 +91: &CORE_TEMP_DEFAULTS + bExp: 0 + entityID: 208 + entityInstance: 49 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: int64_t + multiplierM: 5 + mutability: Mutability::Write|Mutability::Read + offsetB: 0 + path: /xyz/openbmc_project/sensors/temperature/p0_core0_temp + rExp: -1 + readingType: readingData + scale: -3 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +92: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 50 + path: /xyz/openbmc_project/sensors/temperature/p0_core1_temp +93: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 51 + path: /xyz/openbmc_project/sensors/temperature/p0_core2_temp +94: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 52 + path: /xyz/openbmc_project/sensors/temperature/p0_core3_temp +95: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 53 + path: /xyz/openbmc_project/sensors/temperature/p0_core4_temp +96: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 54 + path: /xyz/openbmc_project/sensors/temperature/p0_core5_temp +97: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 55 + path: /xyz/openbmc_project/sensors/temperature/p0_core6_temp +98: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 56 + path: /xyz/openbmc_project/sensors/temperature/p0_core7_temp +99: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 57 + path: /xyz/openbmc_project/sensors/temperature/p0_core8_temp +100: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 58 + path: /xyz/openbmc_project/sensors/temperature/p0_core9_temp +101: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 59 + path: /xyz/openbmc_project/sensors/temperature/p0_core10_temp +102: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 60 + path: /xyz/openbmc_project/sensors/temperature/p0_core11_temp +103: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 61 + path: /xyz/openbmc_project/sensors/temperature/p0_core12_temp +104: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 62 + path: /xyz/openbmc_project/sensors/temperature/p0_core13_temp +105: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 63 + path: /xyz/openbmc_project/sensors/temperature/p0_core14_temp +106: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 64 + path: /xyz/openbmc_project/sensors/temperature/p0_core15_temp +107: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 65 + path: /xyz/openbmc_project/sensors/temperature/p0_core16_temp +108: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 66 + path: /xyz/openbmc_project/sensors/temperature/p0_core17_temp +109: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 67 + path: /xyz/openbmc_project/sensors/temperature/p0_core18_temp +110: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 68 + path: /xyz/openbmc_project/sensors/temperature/p0_core19_temp +111: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 69 + path: /xyz/openbmc_project/sensors/temperature/p0_core20_temp +112: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 70 + path: /xyz/openbmc_project/sensors/temperature/p0_core21_temp +113: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 71 + path: /xyz/openbmc_project/sensors/temperature/p0_core22_temp +114: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 72 + path: /xyz/openbmc_project/sensors/temperature/p0_core23_temp +115: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 73 + path: /xyz/openbmc_project/sensors/temperature/p1_core0_temp +116: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 74 + path: /xyz/openbmc_project/sensors/temperature/p1_core1_temp +117: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 75 + path: /xyz/openbmc_project/sensors/temperature/p1_core2_temp +118: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 76 + path: /xyz/openbmc_project/sensors/temperature/p1_core3_temp +119: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 77 + path: /xyz/openbmc_project/sensors/temperature/p1_core4_temp +120: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 78 + path: /xyz/openbmc_project/sensors/temperature/p1_core5_temp +121: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 79 + path: /xyz/openbmc_project/sensors/temperature/p1_core6_temp +122: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 80 + path: /xyz/openbmc_project/sensors/temperature/p1_core7_temp +123: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 81 + path: /xyz/openbmc_project/sensors/temperature/p1_core8_temp +124: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 82 + path: /xyz/openbmc_project/sensors/temperature/p1_core9_temp +125: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 83 + path: /xyz/openbmc_project/sensors/temperature/p1_core10_temp +126: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 84 + path: /xyz/openbmc_project/sensors/temperature/p1_core11_temp +127: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 85 + path: /xyz/openbmc_project/sensors/temperature/p1_core12_temp +128: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 86 + path: /xyz/openbmc_project/sensors/temperature/p1_core13_temp +129: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 87 + path: /xyz/openbmc_project/sensors/temperature/p1_core14_temp +130: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 88 + path: /xyz/openbmc_project/sensors/temperature/p1_core15_temp +131: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 89 + path: /xyz/openbmc_project/sensors/temperature/p1_core16_temp +132: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 90 + path: /xyz/openbmc_project/sensors/temperature/p1_core17_temp +133: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 91 + path: /xyz/openbmc_project/sensors/temperature/p1_core18_temp +134: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 92 + path: /xyz/openbmc_project/sensors/temperature/p1_core19_temp +135: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 93 + path: /xyz/openbmc_project/sensors/temperature/p1_core20_temp +136: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 94 + path: /xyz/openbmc_project/sensors/temperature/p1_core21_temp +137: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 95 + path: /xyz/openbmc_project/sensors/temperature/p1_core22_temp +138: + <<: *CORE_TEMP_DEFAULTS + entityInstance: 96 + path: /xyz/openbmc_project/sensors/temperature/p1_core23_temp +139: + entityID: 34 + entityInstance: 2 + interfaces: + xyz.openbmc_project.Control.Boot.RebootAttempts: + AttemptsLeft: + Offsets: + 255: + type: uint32_t + mutability: Mutability::Write|Mutability::Read + path: /xyz/openbmc_project/state/host0 + readingType: readingAssertion + sensorNamePattern: nameProperty + sensorReadingType: 111 + sensorType: 195 + serviceInterface: org.freedesktop.DBus.Properties +145: + entityID: 35 + entityInstance: 1 + interfaces: + xyz.openbmc_project.State.OperatingSystem.Status: + OperatingSystemState: + Offsets: + 1: + assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.CBoot + type: string + 2: + assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.PXEBoot + type: string + 3: + assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.DiagBoot + type: string + 4: + assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.CDROMBoot + type: string + 5: + assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.ROMBoot + type: string + 6: + assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.BootComplete + type: string + mutability: Mutability::Write|Mutability::Read + path: /xyz/openbmc_project/state/host0 + readingType: assertion + sensorNamePattern: nameProperty + sensorReadingType: 111 + sensorType: 31 + serviceInterface: org.freedesktop.DBus.Properties diff --git a/meta-yadro/meta-nicole/recipes-phosphor/ipmi/openpower-ipmi-oem_%.bbappend b/meta-yadro/meta-nicole/recipes-phosphor/ipmi/openpower-ipmi-oem_%.bbappend new file mode 100644 index 000000000..775119b54 --- /dev/null +++ b/meta-yadro/meta-nicole/recipes-phosphor/ipmi/openpower-ipmi-oem_%.bbappend @@ -0,0 +1,5 @@ +DEPENDS_append = " nicole-yaml-config" + +EXTRA_OECONF = " \ + INVSENSOR_YAML_GEN=${STAGING_DIR_HOST}${datadir}/nicole-yaml-config/ipmi-inventory-sensors.yaml \ + " diff --git a/meta-yadro/meta-nicole/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend b/meta-yadro/meta-nicole/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend new file mode 100644 index 000000000..5ac83a8c1 --- /dev/null +++ b/meta-yadro/meta-nicole/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend @@ -0,0 +1,5 @@ +DEPENDS_append = " nicole-yaml-config" + +EXTRA_OECONF = " \ + YAML_GEN=${STAGING_DIR_HOST}${datadir}/nicole-yaml-config/ipmi-fru-read.yaml \ + " diff --git a/meta-yadro/meta-nicole/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend b/meta-yadro/meta-nicole/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend new file mode 100644 index 000000000..7983e94bb --- /dev/null +++ b/meta-yadro/meta-nicole/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend @@ -0,0 +1,7 @@ +DEPENDS_append = " nicole-yaml-config" + +EXTRA_OECONF = " \ + SENSOR_YAML_GEN=${STAGING_DIR_HOST}${datadir}/nicole-yaml-config/ipmi-sensors.yaml \ + INVSENSOR_YAML_GEN=${STAGING_DIR_HOST}${datadir}/nicole-yaml-config/ipmi-inventory-sensors.yaml \ + FRU_YAML_GEN=${STAGING_DIR_HOST}${datadir}/nicole-yaml-config/ipmi-fru-read.yaml \ + " diff --git a/meta-yadro/meta-nicole/recipes-phosphor/occ/files/occ_sensor.yaml b/meta-yadro/meta-nicole/recipes-phosphor/occ/files/occ_sensor.yaml new file mode 100644 index 000000000..ebfaf763a --- /dev/null +++ b/meta-yadro/meta-nicole/recipes-phosphor/occ/files/occ_sensor.yaml @@ -0,0 +1,6 @@ +- Instance: 0 + SensorID: 0x03 + SensorName: occ0 +- Instance: 1 + SensorID: 0x04 + SensorName: occ1 diff --git a/meta-yadro/meta-nicole/recipes-phosphor/occ/nicole-occ-control-config-native.bb b/meta-yadro/meta-nicole/recipes-phosphor/occ/nicole-occ-control-config-native.bb new file mode 100644 index 000000000..8d959e7ff --- /dev/null +++ b/meta-yadro/meta-nicole/recipes-phosphor/occ/nicole-occ-control-config-native.bb @@ -0,0 +1,18 @@ +SUMMARY = "Nicole OCC Control sensor IDs" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${YADROBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" + +inherit native +inherit openpower-occ-control + +PROVIDES += "virtual/openpower-occ-control-config-native" + +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +SRC_URI += "file://occ_sensor.yaml" + +S = "${WORKDIR}" +do_install() { + install -d ${YAML_DEST}/ + install ${S}/occ_sensor.yaml ${YAML_DEST}/ +} diff --git a/meta-yadro/meta-nicole/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend b/meta-yadro/meta-nicole/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend new file mode 100644 index 000000000..93a93705b --- /dev/null +++ b/meta-yadro/meta-nicole/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend @@ -0,0 +1 @@ +RDEPENDS_${PN}-inventory_append = " openpower-occ-control" diff --git a/meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/gpio-fsi/fsi0/slave@00--00/00--00--00--06/sbefifo1-dev0/occ-hwmon.1.conf b/meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/gpio-fsi/fsi0/slave@00--00/00--00--00--06/sbefifo1-dev0/occ-hwmon.1.conf new file mode 100644 index 000000000..21a4eaa10 --- /dev/null +++ b/meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/gpio-fsi/fsi0/slave@00--00/00--00--00--06/sbefifo1-dev0/occ-hwmon.1.conf @@ -0,0 +1,228 @@ +MODE_temp1 = "label" +MODE_temp2 = "label" +MODE_temp3 = "label" +MODE_temp4 = "label" +MODE_temp5 = "label" +MODE_temp6 = "label" +MODE_temp7 = "label" +MODE_temp8 = "label" +MODE_temp9 = "label" +MODE_temp10 = "label" +MODE_temp11 = "label" +MODE_temp12 = "label" +MODE_temp13 = "label" +MODE_temp14 = "label" +MODE_temp15 = "label" +MODE_temp16 = "label" +MODE_temp17 = "label" +MODE_temp18 = "label" +MODE_temp19 = "label" +MODE_temp20 = "label" +MODE_temp21 = "label" +MODE_temp22 = "label" +MODE_temp23 = "label" +MODE_temp24 = "label" +MODE_temp25 = "label" +MODE_temp26 = "label" +MODE_temp27 = "label" +MODE_temp28 = "label" +MODE_temp29 = "label" +MODE_temp30 = "label" +MODE_temp31 = "label" +MODE_temp32 = "label" + +LABEL_temp91 = "p0_core0_temp" +WARNHI_temp91 = "78000" +WARNLO_temp91 = "0" +CRITHI_temp91 = "83000" +CRITLO_temp91 = "0" + +LABEL_temp92 = "p0_core1_temp" +WARNHI_temp92 = "78000" +WARNLO_temp92 = "0" +CRITHI_temp92 = "83000" +CRITLO_temp92 = "0" + +LABEL_temp93 = "p0_core2_temp" +WARNHI_temp93 = "78000" +WARNLO_temp93 = "0" +CRITHI_temp93 = "83000" +CRITLO_temp93 = "0" + +LABEL_temp94 = "p0_core3_temp" +WARNHI_temp94 = "78000" +WARNLO_temp94 = "0" +CRITHI_temp94 = "83000" +CRITLO_temp94 = "0" + +LABEL_temp95 = "p0_core4_temp" +WARNHI_temp95 = "78000" +WARNLO_temp95 = "0" +CRITHI_temp95 = "83000" +CRITLO_temp95 = "0" + +LABEL_temp96 = "p0_core5_temp" +WARNHI_temp96 = "78000" +WARNLO_temp96 = "0" +CRITHI_temp96 = "83000" +CRITLO_temp96 = "0" + +LABEL_temp97 = "p0_core6_temp" +WARNHI_temp97 = "78000" +WARNLO_temp97 = "0" +CRITHI_temp97 = "83000" +CRITLO_temp97 = "0" + +LABEL_temp98 = "p0_core7_temp" +WARNHI_temp98 = "78000" +WARNLO_temp98 = "0" +CRITHI_temp98 = "83000" +CRITLO_temp98 = "0" + +LABEL_temp99 = "p0_core8_temp" +WARNHI_temp99 = "78000" +WARNLO_temp99 = "0" +CRITHI_temp99 = "83000" +CRITLO_temp99 = "0" + +LABEL_temp100 = "p0_core9_temp" +WARNHI_temp100 = "78000" +WARNLO_temp100 = "0" +CRITHI_temp100 = "83000" +CRITLO_temp100 = "0" + +LABEL_temp101 = "p0_core10_temp" +WARNHI_temp101 = "78000" +WARNLO_temp101 = "0" +CRITHI_temp101 = "83000" +CRITLO_temp101 = "0" + +LABEL_temp102 = "p0_core11_temp" +WARNHI_temp102 = "78000" +WARNLO_temp102 = "0" +CRITHI_temp102 = "83000" +CRITLO_temp102 = "0" + +LABEL_temp103 = "p0_core12_temp" +WARNHI_temp103 = "78000" +WARNLO_temp103 = "0" +CRITHI_temp103 = "83000" +CRITLO_temp103 = "0" + +LABEL_temp104 = "p0_core13_temp" +WARNHI_temp104 = "78000" +WARNLO_temp104 = "0" +CRITHI_temp104 = "83000" +CRITLO_temp104 = "0" + +LABEL_temp105 = "p0_core14_temp" +WARNHI_temp105 = "78000" +WARNLO_temp105 = "0" +CRITHI_temp105 = "83000" +CRITLO_temp105 = "0" + +LABEL_temp106 = "p0_core15_temp" +WARNHI_temp106 = "78000" +WARNLO_temp106 = "0" +CRITHI_temp106 = "83000" +CRITLO_temp106 = "0" + +LABEL_temp107 = "p0_core16_temp" +WARNHI_temp107 = "78000" +WARNLO_temp107 = "0" +CRITHI_temp107 = "83000" +CRITLO_temp107 = "0" + +LABEL_temp108 = "p0_core17_temp" +WARNHI_temp108 = "78000" +WARNLO_temp108 = "0" +CRITHI_temp108 = "83000" +CRITLO_temp108 = "0" + +LABEL_temp109 = "p0_core18_temp" +WARNHI_temp109 = "78000" +WARNLO_temp109 = "0" +CRITHI_temp109 = "83000" +CRITLO_temp109 = "0" + +LABEL_temp110 = "p0_core19_temp" +WARNHI_temp110 = "78000" +WARNLO_temp110 = "0" +CRITHI_temp110 = "83000" +CRITLO_temp110 = "0" + +LABEL_temp111 = "p0_core20_temp" +WARNHI_temp111 = "78000" +WARNLO_temp111 = "0" +CRITHI_temp111 = "83000" +CRITLO_temp111 = "0" + +LABEL_temp112 = "p0_core21_temp" +WARNHI_temp112 = "78000" +WARNLO_temp112 = "0" +CRITHI_temp112 = "83000" +CRITLO_temp112 = "0" + +LABEL_temp113 = "p0_core22_temp" +WARNHI_temp113 = "78000" +WARNLO_temp113 = "0" +CRITHI_temp113 = "83000" +CRITLO_temp113 = "0" + +LABEL_temp114 = "p0_core23_temp" +WARNHI_temp114 = "78000" +WARNLO_temp114 = "0" +CRITHI_temp114 = "83000" +CRITLO_temp114 = "0" + +LABEL_temp27 = "dimm0_temp" +WARNHI_temp27 = "78000" +WARNLO_temp27 = "0" +CRITHI_temp27 = "83000" +CRITLO_temp27 = "0" + +LABEL_temp28 = "dimm1_temp" +WARNHI_temp28 = "78000" +WARNLO_temp28 = "0" +CRITHI_temp28 = "83000" +CRITLO_temp28 = "0" + +LABEL_temp29 = "dimm2_temp" +WARNHI_temp29 = "78000" +WARNLO_temp29 = "0" +CRITHI_temp29 = "83000" +CRITLO_temp29 = "0" + +LABEL_temp30 = "dimm3_temp" +WARNHI_temp30 = "78000" +WARNLO_temp30 = "0" +CRITHI_temp30 = "83000" +CRITLO_temp30 = "0" + +LABEL_temp31 = "dimm4_temp" +WARNHI_temp31 = "78000" +WARNLO_temp31 = "0" +CRITHI_temp31 = "83000" +CRITLO_temp31 = "0" + +LABEL_temp32 = "dimm5_temp" +WARNHI_temp32 = "78000" +WARNLO_temp32 = "0" +CRITHI_temp32 = "83000" +CRITLO_temp32 = "0" + +LABEL_temp33 = "dimm6_temp" +WARNHI_temp33 = "78000" +WARNLO_temp33 = "0" +CRITHI_temp33 = "83000" +CRITLO_temp33 = "0" + +LABEL_temp34 = "dimm7_temp" +WARNHI_temp34 = "78000" +WARNLO_temp34 = "0" +CRITHI_temp34 = "83000" +CRITLO_temp34 = "0" + +LABEL_power2 = "p0_power" +LABEL_power3 = "p0_vdd_power" +LABEL_power4 = "p0_vdn_power" diff --git a/meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/gpio-fsi/fsi0/slave@00--00/00--00--00--0a/fsi1/slave@01--00/01--01--00--06/sbefifo2-dev0/occ-hwmon.2.conf b/meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/gpio-fsi/fsi0/slave@00--00/00--00--00--0a/fsi1/slave@01--00/01--01--00--06/sbefifo2-dev0/occ-hwmon.2.conf new file mode 100644 index 000000000..096c5c5dc --- /dev/null +++ b/meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/gpio-fsi/fsi0/slave@00--00/00--00--00--0a/fsi1/slave@01--00/01--01--00--06/sbefifo2-dev0/occ-hwmon.2.conf @@ -0,0 +1,228 @@ +MODE_temp1 = "label" +MODE_temp2 = "label" +MODE_temp3 = "label" +MODE_temp4 = "label" +MODE_temp5 = "label" +MODE_temp6 = "label" +MODE_temp7 = "label" +MODE_temp8 = "label" +MODE_temp9 = "label" +MODE_temp10 = "label" +MODE_temp11 = "label" +MODE_temp12 = "label" +MODE_temp13 = "label" +MODE_temp14 = "label" +MODE_temp15 = "label" +MODE_temp16 = "label" +MODE_temp17 = "label" +MODE_temp18 = "label" +MODE_temp19 = "label" +MODE_temp20 = "label" +MODE_temp21 = "label" +MODE_temp22 = "label" +MODE_temp23 = "label" +MODE_temp24 = "label" +MODE_temp25 = "label" +MODE_temp26 = "label" +MODE_temp27 = "label" +MODE_temp28 = "label" +MODE_temp29 = "label" +MODE_temp30 = "label" +MODE_temp31 = "label" +MODE_temp32 = "label" + +LABEL_temp115 = "p1_core0_temp" +WARNHI_temp115 = "78000" +WARNLO_temp115 = "0" +CRITHI_temp115 = "83000" +CRITLO_temp115 = "0" + +LABEL_temp116 = "p1_core1_temp" +WARNHI_temp116 = "78000" +WARNLO_temp116 = "0" +CRITHI_temp116 = "83000" +CRITLO_temp116 = "0" + +LABEL_temp117 = "p1_core2_temp" +WARNHI_temp117 = "78000" +WARNLO_temp117 = "0" +CRITHI_temp117 = "83000" +CRITLO_temp117 = "0" + +LABEL_temp118 = "p1_core3_temp" +WARNHI_temp118 = "78000" +WARNLO_temp118 = "0" +CRITHI_temp118 = "83000" +CRITLO_temp118 = "0" + +LABEL_temp119 = "p1_core4_temp" +WARNHI_temp119 = "78000" +WARNLO_temp119 = "0" +CRITHI_temp119 = "83000" +CRITLO_temp119 = "0" + +LABEL_temp120 = "p1_core5_temp" +WARNHI_temp120 = "78000" +WARNLO_temp120 = "0" +CRITHI_temp120 = "83000" +CRITLO_temp120 = "0" + +LABEL_temp121 = "p1_core6_temp" +WARNHI_temp121 = "78000" +WARNLO_temp121 = "0" +CRITHI_temp121 = "83000" +CRITLO_temp121 = "0" + +LABEL_temp122 = "p1_core7_temp" +WARNHI_temp122 = "78000" +WARNLO_temp122 = "0" +CRITHI_temp122 = "83000" +CRITLO_temp122 = "0" + +LABEL_temp123 = "p1_core8_temp" +WARNHI_temp123 = "78000" +WARNLO_temp123 = "0" +CRITHI_temp123 = "83000" +CRITLO_temp123 = "0" + +LABEL_temp124 = "p1_core9_temp" +WARNHI_temp124 = "78000" +WARNLO_temp124 = "0" +CRITHI_temp124 = "83000" +CRITLO_temp124 = "0" + +LABEL_temp125 = "p1_core10_temp" +WARNHI_temp125 = "78000" +WARNLO_temp125 = "0" +CRITHI_temp125 = "83000" +CRITLO_temp125 = "0" + +LABEL_temp126 = "p1_core11_temp" +WARNHI_temp126 = "78000" +WARNLO_temp126 = "0" +CRITHI_temp126 = "83000" +CRITLO_temp126 = "0" + +LABEL_temp127 = "p1_core12_temp" +WARNHI_temp127 = "78000" +WARNLO_temp127 = "0" +CRITHI_temp127 = "83000" +CRITLO_temp127 = "0" + +LABEL_temp128 = "p1_core13_temp" +WARNHI_temp128 = "78000" +WARNLO_temp128 = "0" +CRITHI_temp128 = "83000" +CRITLO_temp128 = "0" + +LABEL_temp129 = "p1_core14_temp" +WARNHI_temp129 = "78000" +WARNLO_temp129 = "0" +CRITHI_temp129 = "83000" +CRITLO_temp129 = "0" + +LABEL_temp130 = "p1_core15_temp" +WARNHI_temp130 = "78000" +WARNLO_temp130 = "0" +CRITHI_temp130 = "83000" +CRITLO_temp130 = "0" + +LABEL_temp131 = "p1_core16_temp" +WARNHI_temp131 = "78000" +WARNLO_temp131 = "0" +CRITHI_temp131 = "83000" +CRITLO_temp131 = "0" + +LABEL_temp132 = "p1_core17_temp" +WARNHI_temp132 = "78000" +WARNLO_temp132 = "0" +CRITHI_temp132 = "83000" +CRITLO_temp132 = "0" + +LABEL_temp133 = "p1_core18_temp" +WARNHI_temp133 = "78000" +WARNLO_temp133 = "0" +CRITHI_temp133 = "83000" +CRITLO_temp133 = "0" + +LABEL_temp134 = "p1_core19_temp" +WARNHI_temp134 = "78000" +WARNLO_temp134 = "0" +CRITHI_temp134 = "83000" +CRITLO_temp134 = "0" + +LABEL_temp135 = "p1_core20_temp" +WARNHI_temp135 = "78000" +WARNLO_temp135 = "0" +CRITHI_temp135 = "83000" +CRITLO_temp135 = "0" + +LABEL_temp136 = "p1_core21_temp" +WARNHI_temp136 = "78000" +WARNLO_temp136 = "0" +CRITHI_temp136 = "83000" +CRITLO_temp136 = "0" + +LABEL_temp137 = "p1_core22_temp" +WARNHI_temp137 = "78000" +WARNLO_temp137 = "0" +CRITHI_temp137 = "83000" +CRITLO_temp137 = "0" + +LABEL_temp138 = "p1_core23_temp" +WARNHI_temp138 = "78000" +WARNLO_temp138 = "0" +CRITHI_temp138 = "83000" +CRITLO_temp138 = "0" + +LABEL_temp35 = "dimm8_temp" +WARNHI_temp35 = "78000" +WARNLO_temp35 = "0" +CRITHI_temp35 = "83000" +CRITLO_temp35 = "0" + +LABEL_temp36 = "dimm9_temp" +WARNHI_temp36 = "78000" +WARNLO_temp36 = "0" +CRITHI_temp36 = "83000" +CRITLO_temp36 = "0" + +LABEL_temp37 = "dimm10_temp" +WARNHI_temp37 = "78000" +WARNLO_temp37 = "0" +CRITHI_temp37 = "83000" +CRITLO_temp37 = "0" + +LABEL_temp38 = "dimm11_temp" +WARNHI_temp38 = "78000" +WARNLO_temp38 = "0" +CRITHI_temp38 = "83000" +CRITLO_temp38 = "0" + +LABEL_temp39 = "dimm12_temp" +WARNHI_temp39 = "78000" +WARNLO_temp39 = "0" +CRITHI_temp39 = "83000" +CRITLO_temp39 = "0" + +LABEL_temp40 = "dimm13_temp" +WARNHI_temp40 = "78000" +WARNLO_temp40 = "0" +CRITHI_temp40 = "83000" +CRITLO_temp40 = "0" + +LABEL_temp41 = "dimm14_temp" +WARNHI_temp41 = "78000" +WARNLO_temp41 = "0" +CRITHI_temp41 = "83000" +CRITLO_temp41 = "0" + +LABEL_temp42 = "dimm15_temp" +WARNHI_temp42 = "78000" +WARNLO_temp42 = "0" +CRITHI_temp42 = "83000" +CRITLO_temp42 = "0" + +LABEL_power2 = "p1_power" +LABEL_power3 = "p1_vdd_power" +LABEL_power4 = "p1_vdn_power" diff --git a/meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend new file mode 100644 index 000000000..ab8594170 --- /dev/null +++ b/meta-yadro/meta-nicole/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend @@ -0,0 +1,14 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +EXTRA_OECONF_append = " --enable-negative-errno-on-fail" + +OCCS = " \ + 00--00--00--06/sbefifo1-dev0/occ-hwmon.1 \ + 00--00--00--0a/fsi1/slave@01--00/01--01--00--06/sbefifo2-dev0/occ-hwmon.2 \ + " + +OCCSFMT = "devices/platform/gpio-fsi/fsi0/slave@00--00/{0}.conf" +OCCITEMS = "${@compose_list(d, 'OCCSFMT', 'OCCS')}" + +ENVS = "obmc/hwmon/{0}" +SYSTEMD_ENVIRONMENT_FILE_${PN}_append = " ${@compose_list(d, 'ENVS', 'OCCITEMS')}" -- cgit v1.2.3