diff options
Diffstat (limited to 'meta-quanta/meta-olympus-nuvoton/recipes-phosphor')
20 files changed, 2060 insertions, 12 deletions
diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config.bb b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config.bb new file mode 100644 index 000000000..c8b24cb61 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config.bb @@ -0,0 +1,31 @@ +SUMMARY = "YAML configuration for Olympus Nuvoton" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +inherit allarch + +SRC_URI_olympus-nuvoton = " \ + file://olympus-nuvoton-ipmi-fru.yaml \ + file://olympus-nuvoton-ipmi-fru-properties.yaml \ + file://olympus-nuvoton-ipmi-sensors.yaml \ + " + +S = "${WORKDIR}" + +do_install_olympus-nuvoton() { + install -m 0644 -D olympus-nuvoton-ipmi-fru-properties.yaml \ + ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml + install -m 0644 -D olympus-nuvoton-ipmi-fru.yaml \ + ${D}${datadir}/${BPN}/ipmi-fru-read.yaml + install -m 0644 -D olympus-nuvoton-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-sensors.yaml \ + " + +ALLOW_EMPTY_${PN} = "1" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-fru-properties.yaml b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-fru-properties.yaml new file mode 100644 index 000000000..b15ed5fd3 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-fru-properties.yaml @@ -0,0 +1,284 @@ +/system: + 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: + 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.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' +/system/chassis/motherboard/management_card/bmc: + 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/cpu0: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/cpu1: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_a0: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_a1: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_a2: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_a3: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_a4: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_a5: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_b0: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_b1: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_b2: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_b3: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_b4: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_b5: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_c0: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_c1: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_c2: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_c3: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_c4: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_c5: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_d0: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_d1: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_d2: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_d3: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_d4: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_d5: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/powersupply0: + 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/powersupply1: + 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/fan: + 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-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-fru.yaml b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-fru.yaml new file mode 100644 index 000000000..70bfbe2b3 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-fru.yaml @@ -0,0 +1,672 @@ +1: + /system: + entityID: 7 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + Model: + IPMIFruProperty: Custom Field 1 + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: Version + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.System: + /system/chassis/motherboard: + entityID: 7 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: FRU File ID + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Decorator.VendorInformation: + CustomField1: + IPMIFruProperty: Custom Field 1 + IPMIFruSection: Board + IPMIFruValueDelimiter: 58 + xyz.openbmc_project.Inventory.Item.Board: +2: + /system/chassis/motherboard/management_card/bmc: + entityID: 7 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: FRU File ID + IPMIFruSection: Board + xyz.openbmc_project.Common.UUID: + UUID: + IPMIFruProperty: Custom Field 1 + IPMIFruSection: Board + IPMIFruValueDelimiter: 58 + xyz.openbmc_project.Inventory.Item.Board: + xyz.openbmc_project.Inventory.Item.Bmc: + xyz.openbmc_project.Inventory.Item.NetworkInterface: + MACAddress: + IPMIFruProperty: Custom Field 2 + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item.Ethernet: +3: + /system/chassis/motherboard/cpu0: + entityID: 3 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item.Cpu: +4: + /system/chassis/motherboard/cpu1: + entityID: 3 + entityInstance: 2 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item.Cpu: +5: + /system/chassis/motherboard/dimm_a0: + entityID: 8 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +6: + /system/chassis/motherboard/dimm_a1: + entityID: 8 + entityInstance: 2 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +7: + /system/chassis/motherboard/dimm_a2: + entityID: 8 + entityInstance: 3 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +8: + /system/chassis/motherboard/dimm_a3: + entityID: 8 + entityInstance: 4 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +9: + /system/chassis/motherboard/dimm_a4: + entityID: 8 + entityInstance: 5 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +10: + /system/chassis/motherboard/dimm_a5: + entityID: 8 + entityInstance: 6 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +11: + /system/chassis/motherboard/dimm_b0: + entityID: 8 + entityInstance: 7 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +12: + /system/chassis/motherboard/dimm_b1: + entityID: 8 + entityInstance: 8 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +13: + /system/chassis/motherboard/dimm_b2: + entityID: 8 + entityInstance: 9 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +14: + /system/chassis/motherboard/dimm_b3: + entityID: 8 + entityInstance: 10 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +15: + /system/chassis/motherboard/dimm_b4: + entityID: 8 + entityInstance: 11 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +16: + /system/chassis/motherboard/dimm_b5: + entityID: 8 + entityInstance: 12 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +17: + /system/chassis/motherboard/dimm_c0: + entityID: 8 + entityInstance: 13 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +18: + /system/chassis/motherboard/dimm_c1: + entityID: 8 + entityInstance: 14 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +19: + /system/chassis/motherboard/dimm_c2: + entityID: 8 + entityInstance: 15 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +20: + /system/chassis/motherboard/dimm_c3: + entityID: 8 + entityInstance: 16 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +21: + /system/chassis/motherboard/dimm_c4: + entityID: 8 + entityInstance: 17 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +22: + /system/chassis/motherboard/dimm_c5: + entityID: 8 + entityInstance: 18 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +23: + /system/chassis/motherboard/dimm_d0: + entityID: 8 + entityInstance: 19 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +24: + /system/chassis/motherboard/dimm_d1: + entityID: 8 + entityInstance: 20 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +25: + /system/chassis/motherboard/dimm_d2: + entityID: 8 + entityInstance: 21 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +26: + /system/chassis/motherboard/dimm_d3: + entityID: 8 + entityInstance: 22 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +27: + /system/chassis/motherboard/dimm_d4: + entityID: 8 + entityInstance: 23 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +28: + /system/chassis/motherboard/dimm_d5: + entityID: 8 + entityInstance: 24 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +29: + /system/chassis/motherboard/powersupply0: + entityID: 10 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + Model: + IPMIFruProperty: Model Number + IPMIFruSection: Board + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item.PowerSupply: +30: + /system/chassis/motherboard/powersupply1: + entityID: 10 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + Model: + IPMIFruProperty: Model Number + IPMIFruSection: Board + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item.PowerSupply: +31: + /system/chassis/motherboard/fan: + entityID: 29 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Product Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Fan: + diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-sensors.yaml b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-sensors.yaml new file mode 100644 index 000000000..0635a8f6c --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-sensors.yaml @@ -0,0 +1,614 @@ +1: &temperature + entityID: 0x07 + entityInstance: 1 + sensorType: 0x01 + path: /xyz/openbmc_project/sensors/temperature/bmc_card + sensorReadingType: 0x01 + multiplierM: 1 + offsetB: 0 + bExp: 0 + rExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +2: + <<: *temperature + entityInstance: 2 + path: /xyz/openbmc_project/sensors/temperature/inlet + +3: + <<: *temperature + entityInstance: 3 + path: /xyz/openbmc_project/sensors/temperature/outlet + +4: + <<: *temperature + entityInstance: 4 + path: /xyz/openbmc_project/sensors/temperature/MB0_Temp + +5: + <<: *temperature + entityInstance: 5 + path: /xyz/openbmc_project/sensors/temperature/p0_vccin_vr_temp +6: + <<: *temperature + entityInstance: 6 + path: /xyz/openbmc_project/sensors/temperature/p0_vccio_vr_temp +7: + <<: *temperature + entityInstance: 7 + path: /xyz/openbmc_project/sensors/temperature/p1_vccin_vr_temp +8: + <<: *temperature + entityInstance: 8 + path: /xyz/openbmc_project/sensors/temperature/p1_vccio_vr_temp + +9: &voltage + entityID: 0x07 + entityInstance: 9 + sensorType: 0x02 + path: /xyz/openbmc_project/sensors/voltage/MB0_Vin + sensorReadingType: 0x01 + multiplierM: 8 + offsetB: 0 + bExp: 0 + rExp: -2 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +10: + <<: *voltage + entityInstance: 10 + path: /xyz/openbmc_project/sensors/voltage/MB0_Vout + +11: + <<: *voltage + entityInstance: 11 + path: /xyz/openbmc_project/sensors/voltage/p0_vccin_vr_voltage + +12: + <<: *voltage + entityInstance: 12 + path: /xyz/openbmc_project/sensors/voltage/p0_vccio_vr_voltage + +13: + <<: *voltage + entityInstance: 13 + path: /xyz/openbmc_project/sensors/voltage/p1_vccin_vr_voltage + +14: + <<: *voltage + entityInstance: 14 + path: /xyz/openbmc_project/sensors/voltage/p1_vccio_vr_voltage + +15: + <<: *voltage + entityInstance: 15 + path: /xyz/openbmc_project/sensors/voltage/P12V_STBY + +16: + <<: *voltage + entityInstance: 16 + path: /xyz/openbmc_project/sensors/voltage/P1V05_STBY_PCH + +17: + <<: *voltage + entityInstance: 17 + path: /xyz/openbmc_project/sensors/voltage/P3V3 + +18: + <<: *voltage + entityInstance: 18 + path: /xyz/openbmc_project/sensors/voltage/P3V3_STBY + +19: + <<: *voltage + entityInstance: 19 + path: /xyz/openbmc_project/sensors/voltage/P3V_BAT +20: + <<: *voltage + entityInstance: 20 + path: /xyz/openbmc_project/sensors/voltage/P5V +21: + <<: *voltage + entityInstance: 21 + path: /xyz/openbmc_project/sensors/voltage/P5V_STBY +22: + <<: *voltage + entityInstance: 22 + path: /xyz/openbmc_project/sensors/voltage/PVNN_STBY_PCH + +23: &power + entityID: 0x07 + entityInstance: 23 + sensorType: 0x08 + path: /xyz/openbmc_project/sensors/power/MB0_Pin + sensorReadingType: 0x01 + multiplierM: 48 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Watts + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double +24: + <<: *power + entityInstance: 24 + path: /xyz/openbmc_project/sensors/power/p0_vccin_vr_pin +25: + <<: *power + entityInstance: 25 + path: /xyz/openbmc_project/sensors/power/p0_vccin_vr_pout +26: + <<: *power + entityInstance: 26 + path: /xyz/openbmc_project/sensors/power/p0_vccio_vr_pin +27: + <<: *power + entityInstance: 27 + path: /xyz/openbmc_project/sensors/power/p0_vccio_vr_pout +28: + <<: *power + entityInstance: 28 + path: /xyz/openbmc_project/sensors/power/p1_vccin_vr_pin +29: + <<: *power + entityInstance: 29 + path: /xyz/openbmc_project/sensors/power/p1_vccin_vr_pout +30: + <<: *power + entityInstance: 30 + path: /xyz/openbmc_project/sensors/power/p1_vccio_vr_pin +31: + <<: *power + entityInstance: 31 + path: /xyz/openbmc_project/sensors/power/p1_vccio_vr_pout + +32: ¤t + entityID: 0x07 + entityInstance: 32 + sensorType: 0x03 + path: /xyz/openbmc_project/sensors/current/MB0_Iout + sensorReadingType: 0x01 + multiplierM: 40 + offsetB: 10 + bExp: 0 + rExp: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +33: + <<: *current + entityInstance: 33 + path: /xyz/openbmc_project/sensors/current/p0_vccin_vr_current +34: + <<: *current + entityInstance: 34 + path: /xyz/openbmc_project/sensors/current/p0_vccio_vr_current +35: + <<: *current + entityInstance: 35 + path: /xyz/openbmc_project/sensors/current/p1_vccin_vr_current +36: + <<: *current + entityInstance: 36 + path: /xyz/openbmc_project/sensors/current/p1_vccio_vr_current + +37: &temperature_dimm + entityID: 0x20 + entityInstance: 1 + sensorType: 0x01 + path: /xyz/openbmc_project/sensors/temperature/p0_dimm_vr0_temp + sensorReadingType: 0x01 + multiplierM: 1 + offsetB: 0 + bExp: 0 + rExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +38: + <<: *temperature_dimm + entityInstance: 2 + path: /xyz/openbmc_project/sensors/temperature/p0_dimm_vr1_temp + +39: + <<: *temperature_dimm + entityInstance: 3 + path: /xyz/openbmc_project/sensors/temperature/p1_dimm_vr0_temp + +40: + <<: *temperature_dimm + entityInstance: 4 + path: /xyz/openbmc_project/sensors/temperature/p1_dimm_vr1_temp + +41: &voltage_dimm + entityID: 0x20 + entityInstance: 5 + sensorType: 0x02 + path: /xyz/openbmc_project/sensors/voltage/p0_dimm_vr0_voltage + sensorReadingType: 0x01 + multiplierM: 8 + offsetB: 0 + bExp: 0 + rExp: -2 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double +42: + <<: *voltage_dimm + entityInstance: 6 + path: /xyz/openbmc_project/sensors/voltage/p0_dimm_vr1_voltage + +43: + <<: *voltage_dimm + entityInstance: 7 + path: /xyz/openbmc_project/sensors/voltage/p1_dimm_vr0_voltage + +44: + <<: *voltage_dimm + entityInstance: 8 + path: /xyz/openbmc_project/sensors/voltage/p1_dimm_vr1_voltage + +45: &power_dimm + entityID: 0x20 + entityInstance: 9 + sensorType: 0x08 + path: /xyz/openbmc_project/sensors/power/p0_dimm_vr0_pin + sensorReadingType: 0x01 + multiplierM: 48 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Watts + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double +46: + <<: *power_dimm + entityInstance: 10 + path: /xyz/openbmc_project/sensors/power/p0_dimm_vr0_pout + +47: + <<: *power_dimm + entityInstance: 11 + path: /xyz/openbmc_project/sensors/power/p0_dimm_vr1_pin + +48: + <<: *power_dimm + entityInstance: 12 + path: /xyz/openbmc_project/sensors/power/p0_dimm_vr1_pout + +49: + <<: *power_dimm + entityInstance: 13 + path: /xyz/openbmc_project/sensors/power/p1_dimm_vr0_pin + +50: + <<: *power_dimm + entityInstance: 14 + path: /xyz/openbmc_project/sensors/power/p1_dimm_vr0_pout + +51: + <<: *power_dimm + entityInstance: 15 + path: /xyz/openbmc_project/sensors/power/p1_dimm_vr1_pin + +52: + <<: *power_dimm + entityInstance: 16 + path: /xyz/openbmc_project/sensors/power/p1_dimm_vr1_pout + +53: ¤t_dimm + entityID: 0x20 + entityInstance: 17 + sensorType: 0x03 + path: /xyz/openbmc_project/sensors/current/p0_dimm_vr0_current + sensorReadingType: 0x01 + multiplierM: 40 + offsetB: 10 + bExp: 0 + rExp: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double +54: + <<: *current_dimm + entityInstance: 18 + path: /xyz/openbmc_project/sensors/current/p0_dimm_vr0_lin + +55: + <<: *current_dimm + entityInstance: 19 + path: /xyz/openbmc_project/sensors/current/p0_dimm_vr1_current + +56: + <<: *current_dimm + entityInstance: 20 + path: /xyz/openbmc_project/sensors/current/p0_dimm_vr1_lin + +57: + <<: *current_dimm + entityInstance: 21 + path: /xyz/openbmc_project/sensors/current/p1_dimm_vr0_current + +58: + <<: *current_dimm + entityInstance: 22 + path: /xyz/openbmc_project/sensors/current/p1_dimm_vr0_lin + +59: + <<: *current_dimm + entityInstance: 23 + path: /xyz/openbmc_project/sensors/current/p1_dimm_vr1_current + +60: + <<: *current_dimm + entityInstance: 24 + path: /xyz/openbmc_project/sensors/current/p1_dimm_vr1_lin + +61: + entityID: 0x13 + entityInstance: 1 + sensorType: 0x01 + path: /xyz/openbmc_project/sensors/temperature/ps0_tempture + sensorReadingType: 0x01 + multiplierM: 1 + offsetB: 0 + bExp: 0 + rExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double +62: + <<: *voltage + entityID: 0x0A + entityInstance: 2 + path: /xyz/openbmc_project/sensors/voltage/ps0_input_voltage + multiplierM: 2 + offsetB: 0 + bExp: 0 + rExp: 0 + +63: + <<: *voltage + entityID: 0x0A + entityInstance: 3 + path: /xyz/openbmc_project/sensors/voltage/ps0_output_voltage + multiplierM: 8 + offsetB: 0 + bExp: 0 + rExp: -2 + +64: + <<: *current + entityID: 0x0A + entityInstance: 4 + path: /xyz/openbmc_project/sensors/current/ps0_input_current +65: + <<: *current + entityID: 0x0A + entityInstance: 5 + path: /xyz/openbmc_project/sensors/current/ps0_output_current +66: + <<: *power + entityID: 0x0A + entityInstance: 6 + path: /xyz/openbmc_project/sensors/power/ps0_input_power + multiplierM: 6 + offsetB: 0 + bExp: 0 + rExp: 0 +67: + <<: *power + entityID: 0x0A + entityInstance: 7 + path: /xyz/openbmc_project/sensors/power/ps0_output_power + multiplierM: 6 + offsetB: 0 + bExp: 0 + rExp: 0 +68: &fan_tach + entityID: 0x0A + entityInstance: 8 + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/ps0_fan1 + sensorReadingType: 0x01 + multiplierM: 100 + offsetB: 0 + bExp: 0 + rExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double +69: + <<: *fan_tach + entityID: 0x0A + entityInstance: 9 + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/ps0_fan2 + +70: + <<: *fan_tach + entityID: 0x1D + entityInstance: 1 + path: /xyz/openbmc_project/sensors/fan_tach/fan1 +71: + <<: *fan_tach + entityID: 0x1D + entityInstance: 2 + path: /xyz/openbmc_project/sensors/fan_tach/fan2 +72: + <<: *fan_tach + entityID: 0x1D + entityInstance: 3 + path: /xyz/openbmc_project/sensors/fan_tach/fan3 +73: + <<: *fan_tach + entityID: 0x1D + entityInstance: 4 + path: /xyz/openbmc_project/sensors/fan_tach/fan4 +74: + <<: *fan_tach + entityID: 0x1D + entityInstance: 5 + path: /xyz/openbmc_project/sensors/fan_tach/fan5 +75: + <<: *fan_tach + entityID: 0x1D + entityInstance: 6 + path: /xyz/openbmc_project/sensors/fan_tach/fan6 + +76: + <<: *temperature + entityID: 0x03 + entityInstance: 1 + path: /xyz/openbmc_project/sensors/temperature/Core_0_CPU0 + +77: + <<: *temperature + entityID: 0x03 + entityInstance: 2 + path: /xyz/openbmc_project/sensors/temperature/Core_1_CPU0 + +78: + <<: *temperature + entityID: 0x03 + entityInstance: 3 + path: /xyz/openbmc_project/sensors/temperature/Core_2_CPU0 + +79: + <<: *temperature + entityID: 0x03 + entityInstance: 4 + path: /xyz/openbmc_project/sensors/temperature/Core_3_CPU0 +80: + <<: *temperature + entityID: 0x03 + entityInstance: 5 + path: /xyz/openbmc_project/sensors/temperature/Core_4_CPU0 +81: + <<: *temperature + entityID: 0x03 + entityInstance: 6 + path: /xyz/openbmc_project/sensors/temperature/Core_5_CPU0 +82: + <<: *temperature + entityID: 0x03 + entityInstance: 7 + path: /xyz/openbmc_project/sensors/temperature/Core_0_CPU1 +83: + <<: *temperature + entityID: 0x03 + entityInstance: 8 + path: /xyz/openbmc_project/sensors/temperature/Core_1_CPU1 + +84: + <<: *temperature + entityID: 0x03 + entityInstance: 9 + path: /xyz/openbmc_project/sensors/temperature/Core_2_CPU1 + +85: + <<: *temperature + entityID: 0x03 + entityInstance: 10 + path: /xyz/openbmc_project/sensors/temperature/Core_3_CPU1 +86: + <<: *temperature + entityID: 0x03 + entityInstance: 11 + path: /xyz/openbmc_project/sensors/temperature/Core_4_CPU1 +87: + <<: *temperature + entityID: 0x03 + entityInstance: 12 + path: /xyz/openbmc_project/sensors/temperature/Core_5_CPU1 +88: + <<: *temperature + entityID: 0x03 + entityInstance: 13 + path: /xyz/openbmc_project/sensors/temperature/DIMM_C1_CPU0 + diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console/80-olympus-nuvoton-sol.rules b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console/80-olympus-nuvoton-sol.rules new file mode 100644 index 000000000..0a73f0cfc --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console/80-olympus-nuvoton-sol.rules @@ -0,0 +1 @@ +SUBSYSTEM=="tty", ATTRS{iomem_base}=="0xF0003000", ENV{SYSTEMD_WANTS}="obmc-console@ttyS2" SYMLINK+="ttyS2", TAG+="systemd" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/files/obmc-console.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console/obmc-console.conf index f99eaff47..f99eaff47 100644 --- a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/files/obmc-console.conf +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console/obmc-console.conf diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend index 5967ce1bb..fe0e34672 100644 --- a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend @@ -1,12 +1,14 @@ -SUMMARY = "Nuvoton OpenBMC console daemon" -DESCRIPTION = "Nuvoton Daemon to handle UART console connections" -HOMEPAGE = "http://github.com/openbmc/obmc-console" -PR = "r1" +FILESEXTRAPATHS_prepend_olympus-nuvoton := "${THISDIR}/${PN}:" -FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +SRC_URI_append_olympus-nuvoton = " file://80-olympus-nuvoton-sol.rules" -OBMC_CONSOLE_HOST_TTY := "ttyS2" +do_install_append_olympus-nuvoton() { + install -m 0755 -d ${D}${sysconfdir}/${BPN} + rm -f ${D}${sysconfdir}/${BPN}/server.ttyVUART0.conf + install -m 0644 ${WORKDIR}/${BPN}.conf ${D}${sysconfdir}/ + ln -sr ${D}${sysconfdir}/${BPN}.conf ${D}${sysconfdir}/${BPN}/server.ttyS2.conf -do_build_append() { - install -m 0644 ${THISDIR}/files/${PN}.conf ${WORKDIR}/${PN}.conf + install -d ${D}/lib/udev/rules.d + rm -f ${D}/lib/udev/rules.d/80-obmc-console-uart.rules + install -m 0644 ${WORKDIR}/80-olympus-nuvoton-sol.rules ${D}/lib/udev/rules.d } diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/inventory/olympus-nuvoton-inventory-cleanup.bb b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/inventory/olympus-nuvoton-inventory-cleanup.bb new file mode 100644 index 000000000..5d52b9840 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/inventory/olympus-nuvoton-inventory-cleanup.bb @@ -0,0 +1,17 @@ +SUMMARY = "Copy the inventory cleanup yaml for inventory manager" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +inherit allarch +inherit phosphor-inventory-manager + +S = "${WORKDIR}" + +SRC_URI_olympus-nuvoton = "file://inventory-cleanup.yaml" + +do_install_olympus-nuvoton() { + install -D inventory-cleanup.yaml ${D}${base_datadir}/events.d/inventory-cleanup.yaml +} + +FILES_${PN}_olympus-nuvoton += "${base_datadir}/events.d/inventory-cleanup.yaml" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/inventory/olympus-nuvoton-inventory-cleanup/inventory-cleanup.yaml b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/inventory/olympus-nuvoton-inventory-cleanup/inventory-cleanup.yaml new file mode 100644 index 000000000..34d8e794b --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/inventory/olympus-nuvoton-inventory-cleanup/inventory-cleanup.yaml @@ -0,0 +1,16 @@ +description: > + RunBMC inventory fixups + +events: + - name: Add Chassis interface + description: > + Add the chassis interface on the chassis inventory path + type: startup + actions: + - name: createObjects + objs: + /system/chassis: + xyz.openbmc_project.Inventory.Item.Chassis: + Type: + value: "RackMount" + type: string diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json new file mode 100644 index 000000000..1119d68e5 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json @@ -0,0 +1,330 @@ +[ + { + "path": "system/chassis/motherboard/powersupply0", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/power/ps0_input_power", + "/xyz/openbmc_project/sensors/power/ps0_output_power", + "/xyz/openbmc_project/sensors/voltage/ps0_input_voltage", + "/xyz/openbmc_project/sensors/voltage/ps0_output_voltage", + "/xyz/openbmc_project/sensors/fan_tach/ps0_fan1", + "/xyz/openbmc_project/sensors/fan_tach/ps0_fan2", + "/xyz/openbmc_project/sensors/temperature/ps0_tempture" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/powersupply1", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/power/ps1_input_power", + "/xyz/openbmc_project/sensors/power/ps1_output_power", + "/xyz/openbmc_project/sensors/voltage/ps1_input_voltage", + "/xyz/openbmc_project/sensors/voltage/ps1_output_voltage", + "/xyz/openbmc_project/sensors/fan_tach/ps1_fan1", + "/xyz/openbmc_project/sensors/fan_tach/ps1_fan2", + "/xyz/openbmc_project/sensors/temperature/ps1_tempture" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/fan", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/fan_tach/fan1", + "/xyz/openbmc_project/sensors/fan_tach/fan2", + "/xyz/openbmc_project/sensors/fan_tach/fan3", + "/xyz/openbmc_project/sensors/fan_tach/fan4", + "/xyz/openbmc_project/sensors/fan_tach/fan5", + "/xyz/openbmc_project/sensors/fan_tach/fan6" + ] + } + ] + }, + { + "path": "/system/chassis/motherboard/management_card/bmc", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/bmc_card" + ] + }, + { + "types": + { + "rType": "inventory", + "fType": "leds" + }, + "paths": + [ + "/xyz/openbmc_project/led/physical/heartbeat" + ] + } + ] + }, + { + "path": "system/chassis/motherboard", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/inlet", + "/xyz/openbmc_project/sensors/temperature/outlet", + "/xyz/openbmc_project/sensors/temperature/p0_dimm_vr0_temp", + "/xyz/openbmc_project/sensors/temperature/p0_dimm_vr1_temp", + "/xyz/openbmc_project/sensors/temperature/p0_vccin_vr_temp", + "/xyz/openbmc_project/sensors/temperature/p0_vccio_vr_temp", + "/xyz/openbmc_project/sensors/temperature/p1_dimm_vr0_temp", + "/xyz/openbmc_project/sensors/temperature/p1_dimm_vr1_temp", + "/xyz/openbmc_project/sensors/temperature/p1_vccin_vr_temp", + "/xyz/openbmc_project/sensors/temperature/p1_vccio_vr_temp", + "/xyz/openbmc_project/sensors/voltage/P12V_STBY", + "/xyz/openbmc_project/sensors/voltage/P1V05_STBY_PCH", + "/xyz/openbmc_project/sensors/voltage/P3V3", + "/xyz/openbmc_project/sensors/voltage/P3V3_STBY", + "/xyz/openbmc_project/sensors/voltage/P3V_BAT", + "/xyz/openbmc_project/sensors/voltage/P5V", + "/xyz/openbmc_project/sensors/voltage/P5V_STBY", + "/xyz/openbmc_project/sensors/voltage/PVNN_STBY_PCH", + "/xyz/openbmc_project/sensors/voltage/p0_dimm_vr0_voltage", + "/xyz/openbmc_project/sensors/voltage/p0_dimm_vr1_voltage", + "/xyz/openbmc_project/sensors/voltage/p0_vccin_vr_voltage", + "/xyz/openbmc_project/sensors/voltage/p0_vccio_vr_voltage", + "/xyz/openbmc_project/sensors/voltage/p1_dimm_vr0_voltage", + "/xyz/openbmc_project/sensors/voltage/p1_dimm_vr1_voltage", + "/xyz/openbmc_project/sensors/voltage/p1_vccin_vr_voltage", + "/xyz/openbmc_project/sensors/voltage/p1_vccio_vr_voltage", + "/xyz/openbmc_project/sensors/power/p0_dimm_vr0_pin", + "/xyz/openbmc_project/sensors/power/p0_dimm_vr0_pout", + "/xyz/openbmc_project/sensors/power/p0_dimm_vr1_pin", + "/xyz/openbmc_project/sensors/power/p0_dimm_vr1_pout", + "/xyz/openbmc_project/sensors/power/p0_vccin_vr_pin", + "/xyz/openbmc_project/sensors/power/p0_vccin_vr_pout", + "/xyz/openbmc_project/sensors/power/p0_vccio_vr_pin", + "/xyz/openbmc_project/sensors/power/p0_vccio_vr_pout", + "/xyz/openbmc_project/sensors/power/p1_dimm_vr0_pin", + "/xyz/openbmc_project/sensors/power/p1_dimm_vr0_pout", + "/xyz/openbmc_project/sensors/power/p1_dimm_vr1_pin", + "/xyz/openbmc_project/sensors/power/p1_dimm_vr1_pout", + "/xyz/openbmc_project/sensors/power/p1_vccin_vr_pin", + "/xyz/openbmc_project/sensors/power/p1_vccin_vr_pout", + "/xyz/openbmc_project/sensors/power/p1_vccio_vr_pin", + "/xyz/openbmc_project/sensors/power/p1_vccio_vr_pout", + "/xyz/openbmc_project/sensors/power/total_power", + "/xyz/openbmc_project/sensors/power/cpu_power", + "/xyz/openbmc_project/sensors/power/memory_power", + "/xyz/openbmc_project/sensors/current/p0_dimm_vr0_current", + "/xyz/openbmc_project/sensors/current/p0_dimm_vr0_lin", + "/xyz/openbmc_project/sensors/current/p0_dimm_vr1_current", + "/xyz/openbmc_project/sensors/current/p0_dimm_vr1_lin", + "/xyz/openbmc_project/sensors/current/p0_vccin_vr_current", + "/xyz/openbmc_project/sensors/current/p0_vccio_vr_current", + "/xyz/openbmc_project/sensors/current/p1_dimm_vr0_current", + "/xyz/openbmc_project/sensors/current/p1_dimm_vr0_lin", + "/xyz/openbmc_project/sensors/current/p1_dimm_vr1_current", + "/xyz/openbmc_project/sensors/current/p1_dimm_vr1_lin", + "/xyz/openbmc_project/sensors/current/p1_vccin_vr_current", + "/xyz/openbmc_project/sensors/current/p1_vccio_vr_current" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu0", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/Core_0_CPU0", + "/xyz/openbmc_project/sensors/temperature/Core_1_CPU0", + "/xyz/openbmc_project/sensors/temperature/Core_2_CPU0", + "/xyz/openbmc_project/sensors/temperature/Core_3_CPU0", + "/xyz/openbmc_project/sensors/temperature/Core_4_CPU0", + "/xyz/openbmc_project/sensors/temperature/Core_5_CPU0", + "/xyz/openbmc_project/sensors/temperature/Die_CPU0" + ] + } + ] + }, + { + "path": "system/chassis/motherboard/cpu1", + "endpoints": + [ + { + "types": + { + "rType": "inventory", + "fType": "sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/Core_0_CPU1", + "/xyz/openbmc_project/sensors/temperature/Core_1_CPU1", + "/xyz/openbmc_project/sensors/temperature/Core_2_CPU1", + "/xyz/openbmc_project/sensors/temperature/Core_3_CPU1", + "/xyz/openbmc_project/sensors/temperature/Core_4_CPU1", + "/xyz/openbmc_project/sensors/temperature/Core_5_CPU1", + "/xyz/openbmc_project/sensors/temperature/Die_CPU0" + ] + } + ] + }, + { + "path": "system/chassis", + "endpoints": + [ + { + "types": + { + "rType": "chassis", + "fType": "all_sensors" + }, + "paths": + [ + "/xyz/openbmc_project/sensors/temperature/inlet", + "/xyz/openbmc_project/sensors/temperature/outlet", + "/xyz/openbmc_project/sensors/temperature/bmc_card", + "/xyz/openbmc_project/sensors/temperature/p0_dimm_vr0_temp", + "/xyz/openbmc_project/sensors/temperature/p0_dimm_vr1_temp", + "/xyz/openbmc_project/sensors/temperature/p0_vccin_vr_temp", + "/xyz/openbmc_project/sensors/temperature/p0_vccio_vr_temp", + "/xyz/openbmc_project/sensors/temperature/p1_dimm_vr0_temp", + "/xyz/openbmc_project/sensors/temperature/p1_dimm_vr1_temp", + "/xyz/openbmc_project/sensors/temperature/p1_vccin_vr_temp", + "/xyz/openbmc_project/sensors/temperature/p1_vccio_vr_temp", + "/xyz/openbmc_project/sensors/temperature/ps0_tempture", + "/xyz/openbmc_project/sensors/temperature/ps1_tempture", + "/xyz/openbmc_project/sensors/voltage/P12V_STBY", + "/xyz/openbmc_project/sensors/voltage/P1V05_STBY_PCH", + "/xyz/openbmc_project/sensors/voltage/P3V3", + "/xyz/openbmc_project/sensors/voltage/P3V3_STBY", + "/xyz/openbmc_project/sensors/voltage/P3V_BAT", + "/xyz/openbmc_project/sensors/voltage/P5V", + "/xyz/openbmc_project/sensors/voltage/P5V_STBY", + "/xyz/openbmc_project/sensors/voltage/PVNN_STBY_PCH", + "/xyz/openbmc_project/sensors/voltage/p0_dimm_vr0_voltage", + "/xyz/openbmc_project/sensors/voltage/p0_dimm_vr1_voltage", + "/xyz/openbmc_project/sensors/voltage/p0_vccin_vr_voltage", + "/xyz/openbmc_project/sensors/voltage/p0_vccio_vr_voltage", + "/xyz/openbmc_project/sensors/voltage/p1_dimm_vr0_voltage", + "/xyz/openbmc_project/sensors/voltage/p1_dimm_vr1_voltage", + "/xyz/openbmc_project/sensors/voltage/p1_vccin_vr_voltage", + "/xyz/openbmc_project/sensors/voltage/p1_vccio_vr_voltage", + "/xyz/openbmc_project/sensors/power/p0_dimm_vr0_pin", + "/xyz/openbmc_project/sensors/power/p0_dimm_vr0_pout", + "/xyz/openbmc_project/sensors/power/p0_dimm_vr1_pin", + "/xyz/openbmc_project/sensors/power/p0_dimm_vr1_pout", + "/xyz/openbmc_project/sensors/power/p0_vccin_vr_pin", + "/xyz/openbmc_project/sensors/power/p0_vccin_vr_pout", + "/xyz/openbmc_project/sensors/power/p0_vccio_vr_pin", + "/xyz/openbmc_project/sensors/power/p0_vccio_vr_pout", + "/xyz/openbmc_project/sensors/power/p1_dimm_vr0_pin", + "/xyz/openbmc_project/sensors/power/p1_dimm_vr0_pout", + "/xyz/openbmc_project/sensors/power/p1_dimm_vr1_pin", + "/xyz/openbmc_project/sensors/power/p1_dimm_vr1_pout", + "/xyz/openbmc_project/sensors/power/p1_vccin_vr_pin", + "/xyz/openbmc_project/sensors/power/p1_vccin_vr_pout", + "/xyz/openbmc_project/sensors/power/p1_vccio_vr_pin", + "/xyz/openbmc_project/sensors/power/p1_vccio_vr_pout", + "/xyz/openbmc_project/sensors/current/p0_dimm_vr0_current", + "/xyz/openbmc_project/sensors/current/p0_dimm_vr0_lin", + "/xyz/openbmc_project/sensors/current/p0_dimm_vr1_current", + "/xyz/openbmc_project/sensors/current/p0_dimm_vr1_lin", + "/xyz/openbmc_project/sensors/current/p0_vccin_vr_current", + "/xyz/openbmc_project/sensors/current/p0_vccio_vr_current", + "/xyz/openbmc_project/sensors/current/p1_dimm_vr0_current", + "/xyz/openbmc_project/sensors/current/p1_dimm_vr0_lin", + "/xyz/openbmc_project/sensors/current/p1_dimm_vr1_current", + "/xyz/openbmc_project/sensors/current/p1_dimm_vr1_lin", + "/xyz/openbmc_project/sensors/current/p1_vccin_vr_current", + "/xyz/openbmc_project/sensors/current/p1_vccio_vr_current", + "/xyz/openbmc_project/sensors/fan_tach/fan1", + "/xyz/openbmc_project/sensors/fan_tach/fan2", + "/xyz/openbmc_project/sensors/fan_tach/fan3", + "/xyz/openbmc_project/sensors/fan_tach/fan4", + "/xyz/openbmc_project/sensors/fan_tach/fan5", + "/xyz/openbmc_project/sensors/fan_tach/fan6", + "/xyz/openbmc_project/sensors/fan_tach/ps0_fan1", + "/xyz/openbmc_project/sensors/fan_tach/ps0_fan2", + "/xyz/openbmc_project/sensors/fan_tach/ps1_fan1", + "/xyz/openbmc_project/sensors/fan_tach/ps1_fan2", + "/xyz/openbmc_project/sensors/power/total_power", + "/xyz/openbmc_project/sensors/power/cpu_power", + "/xyz/openbmc_project/sensors/power/memory_power", + "/xyz/openbmc_project/sensors/voltage/ps0_input_voltage", + "/xyz/openbmc_project/sensors/voltage/ps0_output_voltage", + "/xyz/openbmc_project/sensors/power/ps0_input_power", + "/xyz/openbmc_project/sensors/power/ps0_output_power", + "/xyz/openbmc_project/sensors/current/ps0_input_current", + "/xyz/openbmc_project/sensors/current/ps0_output_current", + "/xyz/openbmc_project/sensors/power/ps1_input_power", + "/xyz/openbmc_project/sensors/power/ps1_output_power", + "/xyz/openbmc_project/sensors/current/ps1_input_current", + "/xyz/openbmc_project/sensors/voltage/ps1_input_voltage", + "/xyz/openbmc_project/sensors/current/ps1_output_current", + "/xyz/openbmc_project/sensors/voltage/ps1_output_voltage", + "/xyz/openbmc_project/sensors/temperature/Core_0_CPU1", + "/xyz/openbmc_project/sensors/temperature/Core_1_CPU1", + "/xyz/openbmc_project/sensors/temperature/Core_2_CPU1", + "/xyz/openbmc_project/sensors/temperature/Core_3_CPU1", + "/xyz/openbmc_project/sensors/temperature/Core_4_CPU1", + "/xyz/openbmc_project/sensors/temperature/Core_5_CPU1", + "/xyz/openbmc_project/sensors/temperature/Core_0_CPU0", + "/xyz/openbmc_project/sensors/temperature/Core_1_CPU0", + "/xyz/openbmc_project/sensors/temperature/Core_2_CPU0", + "/xyz/openbmc_project/sensors/temperature/Core_3_CPU0", + "/xyz/openbmc_project/sensors/temperature/Core_4_CPU0", + "/xyz/openbmc_project/sensors/temperature/Core_5_CPU0", + "/xyz/openbmc_project/sensors/temperature/DIMM_C1_CPU0", + "/xyz/openbmc_project/sensors/temperature/Die_CPU0", + "/xyz/openbmc_project/sensors/temperature/Die_CPU1" + ] + } + ] + } +] diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/inventory/phosphor-inventory-manager_%.bbappend b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/inventory/phosphor-inventory-manager_%.bbappend new file mode 100644 index 000000000..8ff6178a3 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/inventory/phosphor-inventory-manager_%.bbappend @@ -0,0 +1,10 @@ +FILESEXTRAPATHS_prepend_olympus-nuvoton := "${THISDIR}/${PN}:" +PACKAGECONFIG_append_olympus-nuvoton = " associations" +SRC_URI_append_olympus-nuvoton = " file://associations.json" + +DEPENDS_append_olympus-nuvoton = " olympus-nuvoton-inventory-cleanup" + +do_install_append_olympus-nuvoton() { + install -d ${D}${base_datadir} + install -m 0755 ${WORKDIR}/associations.json ${D}${base_datadir}/associations.json +} diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend index ba0862d3a..deec87d31 100644 --- a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend @@ -2,6 +2,13 @@ inherit obmc-phosphor-systemd FILESEXTRAPATHS_prepend_olympus-nuvoton := "${THISDIR}/${PN}:" +DEPENDS_append_olympus-nuvoton = " olympus-nuvoton-yaml-config" + +EXTRA_OECONF_olympus-nuvoton = " \ + YAML_GEN=${STAGING_DIR_HOST}${datadir}/olympus-nuvoton-yaml-config/ipmi-fru-read.yaml \ + PROP_YAML=${STAGING_DIR_HOST}${datadir}/olympus-nuvoton-yaml-config/ipmi-extra-properties.yaml \ + " + EEPROM_NAMES = "motherboard bmc" EEPROMFMT = "system/chassis/{0}" @@ -18,5 +25,3 @@ INSTFMT = "obmc-read-eeprom@{0}.service" FMT = "../${TMPL}:${TGT}.wants/${INSTFMT}" SYSTEMD_LINK_${PN}_append_olympus-nuvoton := " ${@compose_list(d, 'FMT', 'EEPROMS_ESCAPED')}" -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend new file mode 100644 index 000000000..7746e902f --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend @@ -0,0 +1,6 @@ +DEPENDS_append_olympus-nuvoton = " olympus-nuvoton-yaml-config" + +EXTRA_OECONF_olympus-nuvoton = " \ + SENSOR_YAML_GEN=${STAGING_DIR_HOST}${datadir}/olympus-nuvoton-yaml-config/ipmi-sensors.yaml \ + FRU_YAML_GEN=${STAGING_DIR_HOST}${datadir}/olympus-nuvoton-yaml-config/ipmi-fru-read.yaml \ + " diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-olympus-channels.json b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-olympus-channels.json index 45100bd1d..d355b5dc2 100644 --- a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-olympus-channels.json +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-olympus-channels.json @@ -3,7 +3,7 @@ { "type": "me", "master-path": "/dev/i2c-5", - "slave-path": "/sys/bus/i2c/devices/5-1010/slave-mqueue", + "slave-path": "/dev/ipmb-5", "bmc-addr": 32, "remote-addr": 44 } diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-kcs/99-ipmi-kcs.rules.rules b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-kcs/99-ipmi-kcs.rules.rules new file mode 100644 index 000000000..1de5562c3 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-kcs/99-ipmi-kcs.rules.rules @@ -0,0 +1 @@ +KERNEL=="ipmi-kcs1", SYMLINK+="ipmi_kcs1" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-kcs_%.bbappend b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-kcs_%.bbappend index f5b70c829..2db810195 100644 --- a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-kcs_%.bbappend +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-kcs_%.bbappend @@ -1,2 +1,10 @@ -KCS_DEVICE = "ipmi-kcs1" +FILESEXTRAPATHS_prepend_olympus-nuvoton := "${THISDIR}/${PN}:" +SRC_URI_append_olympus-nuvoton = " file://99-ipmi-kcs.rules.rules" + +KCS_DEVICE_olympus-nuvoton = "ipmi_kcs1" + +do_install_append_olympus-nuvoton() { + install -d ${D}/lib/udev/rules.d + install -m 0644 ${WORKDIR}/99-ipmi-kcs.rules.rules ${D}/lib/udev/rules.d +} diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/leds/olympus-nuvoton-led-manager-config-native.bb b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/leds/olympus-nuvoton-led-manager-config-native.bb new file mode 100644 index 000000000..926eab8be --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/leds/olympus-nuvoton-led-manager-config-native.bb @@ -0,0 +1,17 @@ +SUMMARY = "Phosphor LED Group Management Configuration" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +inherit native + +PROVIDES += "virtual/phosphor-led-manager-config-native" + +SRC_URI += "file://led.yaml" +S = "${WORKDIR}" + +do_install() { + SRC=${S} + DEST=${D}${datadir}/phosphor-led-manager + install -D ${SRC}/led.yaml ${DEST}/led.yaml +} diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/leds/olympus-nuvoton-led-manager-config/led.yaml b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/leds/olympus-nuvoton-led-manager-config/led.yaml new file mode 100644 index 000000000..3db5bc5b3 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/leds/olympus-nuvoton-led-manager-config/led.yaml @@ -0,0 +1,21 @@ +BmcBooted: + heartbeat: + Action: 'Blink' + DutyOn: 50 + Period: 1000 +PowerOn: + identify: + Action: 'On' + DutyOn: 50 + Period: 0 +EnclosureFault: + identify: + Action: 'On' + DutyOn: 50 + Period: 0 +EnclosureIdentify: + identify: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/settings/phosphor-settings-manager/sol-default.override.yml b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/settings/phosphor-settings-manager/sol-default.override.yml new file mode 100644 index 000000000..4a29d4205 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/settings/phosphor-settings-manager/sol-default.override.yml @@ -0,0 +1,10 @@ +--- +/xyz/openbmc_project/ipmi/sol/eth1: + - Interface: xyz.openbmc_project.Ipmi.SOL + Properties: + Privilege: + Default: 2 + Enable: + Default: 'true' + Progress: + Default: 0 diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend new file mode 100644 index 000000000..f89ecad46 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend_olympus-nuvoton := "${THISDIR}/${PN}:" + +SRC_URI_append_olympus-nuvoton = " file://sol-default.override.yml" |