diff options
Diffstat (limited to 'meta-ibm/meta-palmetto/recipes-phosphor')
22 files changed, 1489 insertions, 0 deletions
diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/console/obmc-console/obmc-console.conf b/meta-ibm/meta-palmetto/recipes-phosphor/console/obmc-console/obmc-console.conf new file mode 100644 index 000000000..a5ba3f328 --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/console/obmc-console/obmc-console.conf @@ -0,0 +1,4 @@ +lpc-address = 0x3f8 +sirq = 4 +local-tty = ttyS0 +local-tty-baud = 115200 diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/console/obmc-console_%.bbappend b/meta-ibm/meta-palmetto/recipes-phosphor/console/obmc-console_%.bbappend new file mode 100644 index 000000000..2d3355993 --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/console/obmc-console_%.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend_palmetto := "${THISDIR}/${PN}:" diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/host/checkstop-monitor.bbappend b/meta-ibm/meta-palmetto/recipes-phosphor/host/checkstop-monitor.bbappend new file mode 100644 index 000000000..72d991c7e --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/host/checkstop-monitor.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop b/meta-ibm/meta-palmetto/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop new file mode 100644 index 000000000..b47d0df77 --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop @@ -0,0 +1,4 @@ +DEVPATH=/dev/input/by-path/platform-gpio-keys-event +KEY=125 +POLARITY=1 +TARGET=obmc-host-crash@0.target diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/images/obmc-phosphor-image.bbappend b/meta-ibm/meta-palmetto/recipes-phosphor/images/obmc-phosphor-image.bbappend new file mode 100644 index 000000000..a25b65a0e --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/images/obmc-phosphor-image.bbappend @@ -0,0 +1 @@ +OBMC_IMAGE_EXTRA_INSTALL_append = " aspeed-lpc-ctrl" diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/palmetto-ipmi-inventory-map-native.bb b/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/palmetto-ipmi-inventory-map-native.bb new file mode 100644 index 000000000..2b5348a9f --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/palmetto-ipmi-inventory-map-native.bb @@ -0,0 +1,23 @@ +SUMMARY = "Palmetto IPMI to DBus Inventory mapping." +PR = "r1" + +inherit native +inherit obmc-phosphor-license +inherit phosphor-ipmi-fru + +SRC_URI += "file://config.yaml" + +PROVIDES += "virtual/phosphor-ipmi-fru-inventory" + +S = "${WORKDIR}" + +do_install() { + # TODO: install this to inventory_datadir + # after ipmi-fru-parser untangles the host + # firmware config from the machine inventory. + DEST=${D}${config_datadir} + + install -d ${DEST} + install config.yaml ${DEST} +} + diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/palmetto-ipmi-inventory-map/config.yaml b/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/palmetto-ipmi-inventory-map/config.yaml new file mode 100644 index 000000000..cade45ec8 --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/palmetto-ipmi-inventory-map/config.yaml @@ -0,0 +1,220 @@ +1: + /system/chassis/motherboard/cpu0: + entityID: 3 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: Custom Field 2 + IPMIFruSection: Board + IPMIFruValueDelimiter: 58 + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board +2: + /system/chassis: + entityID: 23 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Chassis + Model: + IPMIFruProperty: Part Number + IPMIFruSection: Chassis + + /system/chassis/motherboard/membuf: + entityID: 23 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board +3: + /system/chassis/motherboard/dimm0: + entityID: 32 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Decorator.Asset: + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Product + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Model: + IPMIFruProperty: Model Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: Version +4: + /system/chassis/motherboard/dimm1: + entityID: 32 + entityInstance: 2 + interfaces: + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Decorator.Asset: + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Product + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Model: + IPMIFruProperty: Model Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: Version +5: + /system/chassis/motherboard/dimm2: + entityID: 32 + entityInstance: 3 + interfaces: + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Decorator.Asset: + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Product + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Model: + IPMIFruProperty: Model Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: Version +6: + /system/chassis/motherboard/dimm3: + entityID: 32 + entityInstance: 4 + interfaces: + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Decorator.Asset: + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Product + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Model: + IPMIFruProperty: Model Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: Version +14: + /system/chassis/motherboard: + entityID: 7 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board +15: + /system: + entityID: 25 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: Version diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%.bbappend b/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%.bbappend new file mode 100644 index 000000000..72d991c7e --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%/extra-properties.yaml b/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%/extra-properties.yaml new file mode 100644 index 000000000..5caabf114 --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%/extra-properties.yaml @@ -0,0 +1,73 @@ +/system/chassis/motherboard/cpu0: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + +/system/chassis/motherboard: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + +/system/chassis: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + +/system: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + +/system/chassis/motherboard/membuf0: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + +/system/chassis/motherboard/dimm0: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + + +/system/chassis/motherboard/dimm1: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + +/system/chassis/motherboard/dimm2: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + +/system/chassis/motherboard/dimm3: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%.bbappend b/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%.bbappend new file mode 100644 index 000000000..72d991c7e --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml b/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml new file mode 100755 index 000000000..9880d0a1a --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml @@ -0,0 +1,561 @@ +0x05: + sensorType: 0x0F + path: /xyz/openbmc_project/state/host0 + sensorReadingType: 0x6F + serviceInterface: org.freedesktop.DBus.Properties + readingType: eventdata2 + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Boot.Progress: + BootProgress: + Offsets: + 0x13: + type: string + set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.OSStart + 0x00: + type: string + set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified + 0x01: + type: string + set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.MemoryInit + 0x07: + type: string + set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.PCIInit + 0x14: + type: string + set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.MotherboardInit + 0x03: + type: string + set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.SecondaryProcInit +0x08: + sensorType: 0x07 + path: /org/open_power/control/occ_3_0050 + sensorReadingType: 0x09 + serviceInterface: org.freedesktop.DBus.Properties + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + org.open_power.OCC.Status: + OccActive: + Offsets: + 0x00: + assert: false + deassert: true + type: bool + 0x01: + assert: true + deassert: false + type: bool +0x09: + sensorType: 0xC3 + path: /xyz/openbmc_project/state/host0 + sensorReadingType: 0x6F + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingAssertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.Control.Boot.RebootAttempts: + AttemptsLeft: + Offsets: + 0xFF: + type: uint32_t +0x1e: + sensorType: 0x0C + path: /system/chassis/motherboard/dimm0 + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x06: + assert: true + deassert: false + type: bool + Offsets: + 0x04: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x06: + assert: true + deassert: false + type: bool +0x1f: + sensorType: 0x0C + path: /system/chassis/motherboard/dimm1 + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x06: + assert: true + deassert: false + type: bool + Offsets: + 0x04: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x06: + assert: true + deassert: false + type: bool +0x20: + sensorType: 0x0C + path: /system/chassis/motherboard/dimm2 + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x06: + assert: true + deassert: false + type: bool + Offsets: + 0x04: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x06: + assert: true + deassert: false + type: bool +0x21: + sensorType: 0x0C + path: /system/chassis/motherboard/dimm3 + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x06: + assert: true + deassert: false + type: bool + Offsets: + 0x04: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x06: + assert: true + deassert: false + type: bool +0x22: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core0 + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x07: + assert: true + deassert: false + type: bool + Offsets: + 0x08: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x07: + assert: true + deassert: false + type: bool + skipOn: deassert +0x23: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core1 + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x07: + assert: true + deassert: false + type: bool + Offsets: + 0x08: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x07: + assert: true + deassert: false + type: bool + skipOn: deassert +0x24: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core2 + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x07: + assert: true + deassert: false + type: bool + Offsets: + 0x08: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x07: + assert: true + deassert: false + type: bool + skipOn: deassert +0x25: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core3 + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x07: + assert: true + deassert: false + type: bool + Offsets: + 0x08: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x07: + assert: true + deassert: false + type: bool + skipOn: deassert +0x26: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core4 + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x07: + assert: true + deassert: false + type: bool + Offsets: + 0x08: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x07: + assert: true + deassert: false + type: bool + skipOn: deassert +0x27: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core5 + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x07: + assert: true + deassert: false + type: bool + Offsets: + 0x08: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x07: + assert: true + deassert: false + type: bool + skipOn: deassert +0x28: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core6 + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x07: + assert: true + deassert: false + type: bool + Offsets: + 0x08: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x07: + assert: true + deassert: false + type: bool + skipOn: deassert +0x29: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core7 + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x07: + assert: true + deassert: false + type: bool + Offsets: + 0x08: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x07: + assert: true + deassert: false + type: bool + skipOn: deassert +0x2a: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core8 + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x07: + assert: true + deassert: false + type: bool + Offsets: + 0x08: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x07: + assert: true + deassert: false + type: bool + skipOn: deassert +0x2b: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core9 + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x07: + assert: true + deassert: false + type: bool + Offsets: + 0x08: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x07: + assert: true + deassert: false + type: bool + skipOn: deassert +0x2c: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core10 + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x07: + assert: true + deassert: false + type: bool + Offsets: + 0x08: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x07: + assert: true + deassert: false + type: bool + skipOn: deassert +0x2d: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu0/core11 + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x07: + assert: true + deassert: false + type: bool + Offsets: + 0x08: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x07: + assert: true + deassert: false + type: bool + skipOn: deassert +0x2f: + sensorType: 0x07 + path: /system/chassis/motherboard/cpu + sensorReadingType: 0x6F + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Prereqs: + 0x07: + assert: true + deassert: false + type: bool + Offsets: + 0x08: + assert: false + deassert: true + type: bool + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x07: + assert: true + deassert: false + type: bool +0x32: + sensorType: 0x1F + path: /xyz/openbmc_project/state/host0 + sensorReadingType: 0x6F + serviceInterface: org.freedesktop.DBus.Properties + readingType: assertion + mutability: Mutability::Write|Mutability::Read + interfaces: + xyz.openbmc_project.State.OperatingSystem.Status: + OperatingSystemState: + Offsets: + 0x02: + assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.PXEBoot + type: string + 0x06: + assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.BootComplete + type: string + 0x04: + assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.CDROMBoot + type: string + 0x01: + assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.CBoot + type: string + 0x03: + assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.DiagBoot + type: string + 0x05: + assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.ROMBoot + type: string diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/leds/palmetto-led-manager-config-native.bb b/meta-ibm/meta-palmetto/recipes-phosphor/leds/palmetto-led-manager-config-native.bb new file mode 100644 index 000000000..d633fd980 --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/leds/palmetto-led-manager-config-native.bb @@ -0,0 +1,17 @@ +SUMMARY = "Phosphor LED Group Management for Palmetto" +PR = "r1" + +inherit native +inherit obmc-phosphor-license + +PROVIDES += "virtual/phosphor-led-manager-config-native" + +SRC_URI += "file://led.yaml" +S = "${WORKDIR}" + +# Copies example led layout yaml file +do_install() { + SRC=${S} + DEST=${D}${datadir}/phosphor-led-manager + install -D ${SRC}/led.yaml ${DEST}/led.yaml +} diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/leds/palmetto-led-manager-config/led.yaml b/meta-ibm/meta-palmetto/recipes-phosphor/leds/palmetto-led-manager-config/led.yaml new file mode 100755 index 000000000..3b7d40456 --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/leds/palmetto-led-manager-config/led.yaml @@ -0,0 +1,33 @@ +BmcBooted: + heartbeat: + Action: 'Blink' + DutyOn: 50 + Period: 0 +PowerOn: + power: + Action: 'On' + DutyOn: 50 + Period: 0 +EnclosureFault: + identify: + Action: 'On' + DutyOn: 50 + Period: 0 +EnclosureIdentify: + identify: + Action: 'Blink' + DutyOn: 50 + Period: 1000 +LampTest: + heartbeat: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + identify: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + power: + Action: 'Blink' + DutyOn: 50 + Period: 1000 diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/mrw/mrw-native.bbappend b/meta-ibm/meta-palmetto/recipes-phosphor/mrw/mrw-native.bbappend new file mode 100644 index 000000000..836ef56aa --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/mrw/mrw-native.bbappend @@ -0,0 +1,2 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +SRC_URI += "file://palmetto.xml.patch.xml" diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/mrw/mrw-native/palmetto.xml.patch.xml b/meta-ibm/meta-palmetto/recipes-phosphor/mrw/mrw-native/palmetto.xml.patch.xml new file mode 100644 index 000000000..73293773a --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/mrw/mrw-native/palmetto.xml.patch.xml @@ -0,0 +1,473 @@ +<patches> + +<targetFile>palmetto.xml</targetFile> + +<!-- Add in the 5 fan and connector instances --> +<targetInstance xpath="/"> + <id>fanconn-0</id> + <type>connector-card-generic</type> + <library_target>false</library_target> + <instance_name>fanconn</instance_name> + <position>0</position> + <child_id>fan-0</child_id> + <attribute> + <id>CLASS</id> + <default>CONNECTOR</default> + </attribute> + <attribute> + <id>LOCATION_CODE</id> + <default></default> + </attribute> + <attribute> + <id>MODEL</id> + <default></default> + </attribute> + <attribute> + <id>MRW_TYPE</id> + <default>NA</default> + </attribute> + <attribute> + <id>POSITION</id> + <default>0</default> + </attribute> + <attribute> + <id>RESOURCE_IS_CRITICAL</id> + <default>0</default> + </attribute> + <attribute> + <id>TYPE</id> + <default>NA</default> + </attribute> +</targetInstance> +<targetInstance xpath="/"> + <id>fan-0</id> + <type>card-fan</type> + <library_target>false</library_target> + <instance_name>fan</instance_name> + <position>0</position> + <attribute> + <id>CLASS</id> + <default>CARD</default> + </attribute> + <attribute> + <id>FRU_ID</id> + <default></default> + </attribute> + <attribute> + <id>FRU_NAME</id> + <default>FAN</default> + </attribute> + <attribute> + <id>LOCATION_CODE</id> + <default></default> + </attribute> + <attribute> + <id>MODEL</id> + <default></default> + </attribute> + <attribute> + <id>MRW_TYPE</id> + <default>NA</default> + </attribute> + <attribute> + <id>POSITION</id> + <default>0</default> + </attribute> + <attribute> + <id>RESOURCE_IS_CRITICAL</id> + <default>0</default> + </attribute> + <attribute> + <id>TYPE</id> + <default>FAN</default> + </attribute> +</targetInstance> +<targetInstance xpath="/"> + <id>fanconn-1</id> + <type>connector-card-generic</type> + <library_target>false</library_target> + <instance_name>fanconn</instance_name> + <position>1</position> + <child_id>fan-1</child_id> + <attribute> + <id>CLASS</id> + <default>CONNECTOR</default> + </attribute> + <attribute> + <id>LOCATION_CODE</id> + <default></default> + </attribute> + <attribute> + <id>MODEL</id> + <default></default> + </attribute> + <attribute> + <id>MRW_TYPE</id> + <default>NA</default> + </attribute> + <attribute> + <id>POSITION</id> + <default>1</default> + </attribute> + <attribute> + <id>RESOURCE_IS_CRITICAL</id> + <default>0</default> + </attribute> + <attribute> + <id>TYPE</id> + <default>NA</default> + </attribute> +</targetInstance> +<targetInstance xpath="/"> + <id>fan-1</id> + <type>card-fan</type> + <library_target>false</library_target> + <instance_name>fan</instance_name> + <position>1</position> + <attribute> + <id>CLASS</id> + <default>CARD</default> + </attribute> + <attribute> + <id>FRU_ID</id> + <default></default> + </attribute> + <attribute> + <id>FRU_NAME</id> + <default>FAN</default> + </attribute> + <attribute> + <id>LOCATION_CODE</id> + <default></default> + </attribute> + <attribute> + <id>MODEL</id> + <default></default> + </attribute> + <attribute> + <id>MRW_TYPE</id> + <default>NA</default> + </attribute> + <attribute> + <id>POSITION</id> + <default>1</default> + </attribute> + <attribute> + <id>RESOURCE_IS_CRITICAL</id> + <default>0</default> + </attribute> + <attribute> + <id>TYPE</id> + <default>FAN</default> + </attribute> +</targetInstance> +<targetInstance xpath="/"> + <id>fanconn-2</id> + <type>connector-card-generic</type> + <library_target>false</library_target> + <instance_name>fanconn</instance_name> + <position>2</position> + <child_id>fan-2</child_id> + <attribute> + <id>CLASS</id> + <default>CONNECTOR</default> + </attribute> + <attribute> + <id>LOCATION_CODE</id> + <default></default> + </attribute> + <attribute> + <id>MODEL</id> + <default></default> + </attribute> + <attribute> + <id>MRW_TYPE</id> + <default>NA</default> + </attribute> + <attribute> + <id>POSITION</id> + <default>2</default> + </attribute> + <attribute> + <id>RESOURCE_IS_CRITICAL</id> + <default>0</default> + </attribute> + <attribute> + <id>TYPE</id> + <default>NA</default> + </attribute> +</targetInstance> +<targetInstance xpath="/"> + <id>fan-2</id> + <type>card-fan</type> + <library_target>false</library_target> + <instance_name>fan</instance_name> + <position>2</position> + <attribute> + <id>CLASS</id> + <default>CARD</default> + </attribute> + <attribute> + <id>FRU_ID</id> + <default></default> + </attribute> + <attribute> + <id>FRU_NAME</id> + <default>FAN</default> + </attribute> + <attribute> + <id>LOCATION_CODE</id> + <default></default> + </attribute> + <attribute> + <id>MODEL</id> + <default></default> + </attribute> + <attribute> + <id>MRW_TYPE</id> + <default>NA</default> + </attribute> + <attribute> + <id>POSITION</id> + <default>2</default> + </attribute> + <attribute> + <id>RESOURCE_IS_CRITICAL</id> + <default>0</default> + </attribute> + <attribute> + <id>TYPE</id> + <default>FAN</default> + </attribute> +</targetInstance> +<targetInstance xpath="/"> + <id>fanconn-3</id> + <type>connector-card-generic</type> + <library_target>false</library_target> + <instance_name>fanconn</instance_name> + <position>3</position> + <child_id>fan-3</child_id> + <attribute> + <id>CLASS</id> + <default>CONNECTOR</default> + </attribute> + <attribute> + <id>LOCATION_CODE</id> + <default></default> + </attribute> + <attribute> + <id>MODEL</id> + <default></default> + </attribute> + <attribute> + <id>MRW_TYPE</id> + <default>NA</default> + </attribute> + <attribute> + <id>POSITION</id> + <default>3</default> + </attribute> + <attribute> + <id>RESOURCE_IS_CRITICAL</id> + <default>0</default> + </attribute> + <attribute> + <id>TYPE</id> + <default>NA</default> + </attribute> +</targetInstance> +<targetInstance xpath="/"> + <id>fan-3</id> + <type>card-fan</type> + <library_target>false</library_target> + <instance_name>fan</instance_name> + <position>3</position> + <attribute> + <id>CLASS</id> + <default>CARD</default> + </attribute> + <attribute> + <id>FRU_ID</id> + <default></default> + </attribute> + <attribute> + <id>FRU_NAME</id> + <default>FAN</default> + </attribute> + <attribute> + <id>LOCATION_CODE</id> + <default></default> + </attribute> + <attribute> + <id>MODEL</id> + <default></default> + </attribute> + <attribute> + <id>MRW_TYPE</id> + <default>NA</default> + </attribute> + <attribute> + <id>POSITION</id> + <default>3</default> + </attribute> + <attribute> + <id>RESOURCE_IS_CRITICAL</id> + <default>0</default> + </attribute> + <attribute> + <id>TYPE</id> + <default>FAN</default> + </attribute> +</targetInstance> +<targetInstance xpath="/"> + <id>fanconn-4</id> + <type>connector-card-generic</type> + <library_target>false</library_target> + <instance_name>fanconn</instance_name> + <position>4</position> + <child_id>fan-4</child_id> + <attribute> + <id>CLASS</id> + <default>CONNECTOR</default> + </attribute> + <attribute> + <id>LOCATION_CODE</id> + <default></default> + </attribute> + <attribute> + <id>MODEL</id> + <default></default> + </attribute> + <attribute> + <id>MRW_TYPE</id> + <default>NA</default> + </attribute> + <attribute> + <id>POSITION</id> + <default>4</default> + </attribute> + <attribute> + <id>RESOURCE_IS_CRITICAL</id> + <default>0</default> + </attribute> + <attribute> + <id>TYPE</id> + <default>NA</default> + </attribute> +</targetInstance> +<targetInstance xpath="/"> + <id>fan-4</id> + <type>card-fan</type> + <library_target>false</library_target> + <instance_name>fan</instance_name> + <position>4</position> + <attribute> + <id>CLASS</id> + <default>CARD</default> + </attribute> + <attribute> + <id>FRU_ID</id> + <default></default> + </attribute> + <attribute> + <id>FRU_NAME</id> + <default>FAN</default> + </attribute> + <attribute> + <id>LOCATION_CODE</id> + <default></default> + </attribute> + <attribute> + <id>MODEL</id> + <default></default> + </attribute> + <attribute> + <id>MRW_TYPE</id> + <default>NA</default> + </attribute> + <attribute> + <id>POSITION</id> + <default>4</default> + </attribute> + <attribute> + <id>RESOURCE_IS_CRITICAL</id> + <default>0</default> + </attribute> + <attribute> + <id>TYPE</id> + <default>FAN</default> + </attribute> +</targetInstance> + +<!-- place the fan connectors on the motherboard --> +<targetInstance type="add-child" xpath="targetInstance[id='motherboard-0']"> + <child_id>fanconn-0</child_id> + <child_id>fanconn-1</child_id> + <child_id>fanconn-2</child_id> + <child_id>fanconn-3</child_id> + <child_id>fanconn-4</child_id> +</targetInstance> + +<!-- Add in the motherboard FRU name --> +<attribute type="add" xpath="targetInstance[id='motherboard-0']"> + <id>FRU_NAME</id> + <default>MOTHERBOARD</default> +</attribute> + +<!-- add in some new types --> +<enumerationType type="add-child" xpath="enumerationType[id='TYPE']"> + <enumerator> + <name>FAN</name> + <value>35</value> + </enumerator> + <enumerator> + <name>PCIE_CARD</name> + <value>36</value> + </enumerator> +</enumerationType> + + + +<!--fix up the other enums that come at the end of the list--> +<enumerationType type="replace-child" key="name" xpath="enumerationType[id='TYPE']"> + <enumerator> + <name>TEST_FAIL</name> + <value>37</value> + </enumerator> + <enumerator> + <name>LAST_IN_RANGE</name> + <value>38</value> + </enumerator> +</enumerationType> + +<!-- Fix the PCIE card's type --> +<attribute type="replace" xpath="targetInstance[id='pciecard_x8-0']/attribute[id='TYPE']"> + <id>TYPE</id> + <default>PCIE_CARD</default> +</attribute> + +<!-- Add the card's FRU name --> +<attribute type="add" xpath="targetInstance[id='pciecard_x8-0']"> + <id>FRU_NAME</id> + <default>PCIE_CARD</default> +</attribute> + +<!-- Fix the PCIE card's type --> +<attribute type="replace" xpath="targetInstance[id='pciecard_x16-0']/attribute[id='TYPE']"> + <id>TYPE</id> + <default>PCIE_CARD</default> +</attribute> + +<!-- Add the card's FRU name --> +<attribute type="add" xpath="targetInstance[id='pciecard_x16-0']"> + <id>FRU_NAME</id> + <default>PCIE_CARD</default> +</attribute> + +<!-- new parser requires FABRIC_GROUP_ID, though it's unused by the BMC --> +<attribute type="replace" xpath="targetInstance[id='proc_socket-0']/attribute[id='FABRIC_NODE_ID']"> + <id>FABRIC_GROUP_ID</id> + <default>0</default> +</attribute> + +</patches> diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend b/meta-ibm/meta-palmetto/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend new file mode 100644 index 000000000..e5b837abc --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend @@ -0,0 +1 @@ +RDEPENDS_${PN}-inventory += "openpower-occ-control" diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/packagegroups/packagegroup-op-apps.bbappend b/meta-ibm/meta-palmetto/recipes-phosphor/packagegroups/packagegroup-op-apps.bbappend new file mode 100644 index 000000000..c0b52cf48 --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/packagegroups/packagegroup-op-apps.bbappend @@ -0,0 +1,2 @@ +RDEPENDS_${PN}-chassis_remove += "obmc-button-reset" +RDEPENDS_${PN}-fans_remove += "obmc-control-fan" diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%.bbappend b/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%.bbappend new file mode 100644 index 000000000..e904dc0e1 --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%.bbappend @@ -0,0 +1,13 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +NAMES = " \ + i2c@1e78a000/i2c-bus@40/rtc@68 \ + i2c@1e78a000/i2c-bus@c0/tmp423@4c \ + i2c@1e78a000/i2c-bus@100/occ-hwmon@50 \ + " +ITEMSFMT = "ahb/apb/{0}.conf" + +ITEMS = "${@compose_list(d, 'ITEMSFMT', 'NAMES')}" + +ENVS = "obmc/hwmon/{0}" +SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ITEMS')}" diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/occ-hwmon@50.conf b/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/occ-hwmon@50.conf new file mode 100644 index 000000000..40c4d7866 --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/occ-hwmon@50.conf @@ -0,0 +1,40 @@ +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" +LABEL_temp13 = "cpu0" +LABEL_temp101 = "centaur0" +LABEL_temp102 = "dimm0" +LABEL_temp103 = "dimm1" +LABEL_temp104 = "dimm2" +LABEL_temp105 = "dimm3" +LABEL_temp106 = "core0" +LABEL_temp107 = "core1" +LABEL_temp108 = "core2" +LABEL_temp109 = "core3" +LABEL_temp110 = "core4" +LABEL_temp111 = "core5" +LABEL_temp112 = "core6" +LABEL_temp113 = "core7" +LABEL_temp114 = "core8" +LABEL_temp115 = "core9" +LABEL_temp116 = "core10" +LABEL_temp117 = "core11" +LABEL_power1 = "cpu0" +LABEL_power2 = "pcie" +LABEL_power3 = "io" +LABEL_power4 = "centaur0" diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@40/rtc@68.conf b/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@40/rtc@68.conf new file mode 100644 index 000000000..8b6053e33 --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@40/rtc@68.conf @@ -0,0 +1,3 @@ +LABEL_temp1=rtc +WARNLO_temp1=10000 +WARNHI_temp1=35000 diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@c0/tmp423@4c.conf b/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@c0/tmp423@4c.conf new file mode 100644 index 000000000..3166f32f1 --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@c0/tmp423@4c.conf @@ -0,0 +1,7 @@ +LABEL_temp1=ambient +WARNLO_temp1=10000 +WARNHI_temp1=40000 + +LABEL_temp2=cpu +WARNLO_temp2=10000 +WARNHI_temp2=80000 diff --git a/meta-ibm/meta-palmetto/recipes-phosphor/workbook/palmetto-config.bb b/meta-ibm/meta-palmetto/recipes-phosphor/workbook/palmetto-config.bb new file mode 100644 index 000000000..97d12de34 --- /dev/null +++ b/meta-ibm/meta-palmetto/recipes-phosphor/workbook/palmetto-config.bb @@ -0,0 +1,8 @@ +SUMMARY = "Palmetto board wiring" +DESCRIPTION = "Board wiring information for the Palmetto system." +PR = "r1" + +inherit config-in-skeleton + +PROVIDES_remove = "virtual/obmc-inventory-data" +RPROVIDES_${PN}_remove = "virtual-obmc-inventory-data" |