Initial commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
require conf/distro/openbmc-openpower.conf
|
||||
require conf/distro/include/inspur-distrovars.inc
|
||||
@@ -0,0 +1,10 @@
|
||||
# We have a conf and classes directory, add to BBPATH
|
||||
BBPATH .= ":${LAYERDIR}"
|
||||
|
||||
# We have recipes-* directories, add to BBFILES
|
||||
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
||||
${LAYERDIR}/recipes-*/*/*.bbappend"
|
||||
|
||||
BBFILE_COLLECTIONS += "fp5280g2-layer"
|
||||
BBFILE_PATTERN_fp5280g2-layer := "^${LAYERDIR}/"
|
||||
LAYERSERIES_COMPAT_fp5280g2-layer = "langdale mickledore"
|
||||
@@ -0,0 +1,23 @@
|
||||
KMACHINE = "aspeed"
|
||||
KERNEL_DEVICETREE = "${KMACHINE}-bmc-inspur-${MACHINE}.dtb"
|
||||
|
||||
UBOOT_MACHINE = "evb-ast2500_defconfig"
|
||||
UBOOT_DEVICETREE = "ast2500-evb"
|
||||
|
||||
FLASH_SIZE = "65536"
|
||||
|
||||
OBMC_POWER_SUPPLY_INSTANCES = "0 1"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/openpower-fru-vpd-layout = "fp5280g2-openpower-fru-vpd-layout-native"
|
||||
PREFERRED_PROVIDER_virtual/openpower-fru-inventory = "fp5280g2-openpower-fru-inventory-native"
|
||||
|
||||
require conf/machine/include/ast2500.inc
|
||||
require conf/machine/include/obmc-bsp-common.inc
|
||||
require conf/machine/include/openpower.inc
|
||||
require conf/machine/include/p9.inc
|
||||
|
||||
require conf/distro/include/phosphor-aspeednic-use-mac2.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-aspeed-sdk"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-aspeed-sdk"
|
||||
PREFERRED_PROVIDER_u-boot-fw-utils = "u-boot-fw-utils-aspeed-sdk"
|
||||
@@ -0,0 +1,19 @@
|
||||
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
|
||||
# changes incompatibly
|
||||
LCONF_VERSION = "8"
|
||||
|
||||
BBPATH = "${TOPDIR}"
|
||||
BBFILES ?= ""
|
||||
|
||||
BBLAYERS ?= " \
|
||||
##OEROOT##/meta \
|
||||
##OEROOT##/meta-openembedded/meta-oe \
|
||||
##OEROOT##/meta-openembedded/meta-networking \
|
||||
##OEROOT##/meta-openembedded/meta-perl \
|
||||
##OEROOT##/meta-openembedded/meta-python \
|
||||
##OEROOT##/meta-phosphor \
|
||||
##OEROOT##/meta-aspeed \
|
||||
##OEROOT##/meta-openpower \
|
||||
##OEROOT##/meta-inspur \
|
||||
##OEROOT##/meta-inspur/meta-fp5280g2\
|
||||
"
|
||||
@@ -0,0 +1,2 @@
|
||||
Common targets are:
|
||||
obmc-phosphor-image
|
||||
@@ -0,0 +1,17 @@
|
||||
MACHINE ??= "fp5280g2"
|
||||
DISTRO ?= "openbmc-fp5280g2"
|
||||
PACKAGE_CLASSES ?= "package_ipk"
|
||||
SANITY_TESTED_DISTROS:append ?= " *"
|
||||
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
|
||||
USER_CLASSES ?= "buildstats"
|
||||
PATCHRESOLVE = "noop"
|
||||
BB_DISKMON_DIRS ??= "\
|
||||
STOPTASKS,${TMPDIR},1G,100K \
|
||||
STOPTASKS,${DL_DIR},1G,100K \
|
||||
STOPTASKS,${SSTATE_DIR},1G,100K \
|
||||
STOPTASKS,/tmp,100M,100K \
|
||||
HALT,${TMPDIR},100M,1K \
|
||||
HALT,${DL_DIR},100M,1K \
|
||||
HALT,${SSTATE_DIR},100M,1K \
|
||||
HALT,/tmp,10M,1K"
|
||||
CONF_VERSION = "2"
|
||||
@@ -0,0 +1,5 @@
|
||||
CONFIG_SENSORS_TMP421=y
|
||||
CONFIG_SENSORS_EMC1403=y
|
||||
CONFIG_RTC_DRV_DS3232=y
|
||||
CONFIG_GPIO_PCA953X=y
|
||||
CONFIG_SENSORS_INSPUR_IPSPS=y
|
||||
@@ -0,0 +1,3 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
SRC_URI:append:fp5280g2 = " file://fp5280g2.cfg"
|
||||
@@ -0,0 +1,3 @@
|
||||
EXTRA_OEMESON:append = " \
|
||||
-Dinsecure-tftp-update=enabled \
|
||||
"
|
||||
@@ -0,0 +1,38 @@
|
||||
SUMMARY = "YAML configuration for FP5280G2"
|
||||
PR = "r1"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
||||
|
||||
inherit allarch
|
||||
|
||||
SRC_URI = " \
|
||||
file://fp5280g2-ipmi-fru.yaml \
|
||||
file://fp5280g2-ipmi-fru-bmc.yaml \
|
||||
file://fp5280g2-ipmi-fru-properties.yaml \
|
||||
file://fp5280g2-ipmi-inventory-sensors.yaml \
|
||||
file://fp5280g2-ipmi-sensors.yaml \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
cat fp5280g2-ipmi-fru.yaml fp5280g2-ipmi-fru-bmc.yaml > fru-read.yaml
|
||||
|
||||
install -m 0644 -D fp5280g2-ipmi-fru-properties.yaml \
|
||||
${D}${datadir}/${BPN}/ipmi-extra-properties.yaml
|
||||
install -m 0644 -D fru-read.yaml \
|
||||
${D}${datadir}/${BPN}/ipmi-fru-read.yaml
|
||||
install -m 0644 -D fp5280g2-ipmi-inventory-sensors.yaml \
|
||||
${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml
|
||||
install -m 0644 -D fp5280g2-ipmi-sensors.yaml \
|
||||
${D}${datadir}/${BPN}/ipmi-sensors.yaml
|
||||
}
|
||||
|
||||
FILES:${PN}-dev = " \
|
||||
${datadir}/${BPN}/ipmi-extra-properties.yaml \
|
||||
${datadir}/${BPN}/ipmi-fru-read.yaml \
|
||||
${datadir}/${BPN}/ipmi-inventory-sensors.yaml \
|
||||
${datadir}/${BPN}/ipmi-sensors.yaml \
|
||||
"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
50:
|
||||
/system/chassis/motherboard/fan0:
|
||||
entityID: 29
|
||||
entityInstance: 1
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Product Name
|
||||
IPMIFruSection: Product
|
||||
51:
|
||||
/system/chassis/motherboard/fan1:
|
||||
entityID: 29
|
||||
entityInstance: 2
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Product Name
|
||||
IPMIFruSection: Product
|
||||
52:
|
||||
/system/chassis/motherboard/fan2:
|
||||
entityID: 29
|
||||
entityInstance: 3
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Product Name
|
||||
IPMIFruSection: Product
|
||||
53:
|
||||
/system/chassis/motherboard/fan3:
|
||||
entityID: 29
|
||||
entityInstance: 4
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Product Name
|
||||
IPMIFruSection: Product
|
||||
|
||||
+154
@@ -0,0 +1,154 @@
|
||||
/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/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/cpu0:
|
||||
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/cpu1:
|
||||
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/dimm0:
|
||||
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/dimm1:
|
||||
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/dimm10:
|
||||
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/dimm11:
|
||||
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/dimm12:
|
||||
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/dimm13:
|
||||
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/dimm14:
|
||||
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/dimm15:
|
||||
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/dimm2:
|
||||
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/dimm3:
|
||||
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/dimm4:
|
||||
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/dimm5:
|
||||
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/dimm6:
|
||||
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/dimm7:
|
||||
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/dimm8:
|
||||
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/dimm9:
|
||||
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/powersupply0:
|
||||
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/powersupply1:
|
||||
xyz.openbmc_project.Inventory.Decorator.Cacheable:
|
||||
Cached: 'true'
|
||||
xyz.openbmc_project.Inventory.Decorator.Replaceable:
|
||||
FieldReplaceable: 'true'
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
Present: 'true'
|
||||
+653
@@ -0,0 +1,653 @@
|
||||
0:
|
||||
/system:
|
||||
entityID: 6
|
||||
entityInstance: 1
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.System:
|
||||
/system/chassis/motherboard/bmc:
|
||||
entityID: 7
|
||||
entityInstance: 1
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Board
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Board
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Board
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Board
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Board
|
||||
/system/chassis:
|
||||
entityID: 7
|
||||
entityInstance: 2
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Chassis
|
||||
PartNumber:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Chassis
|
||||
Model:
|
||||
IPMIFruProperty: Type
|
||||
IPMIFruSection: Chassis
|
||||
1:
|
||||
/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
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Board
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Board
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Custom Field 2
|
||||
IPMIFruSection: Board
|
||||
IPMIFruValueDelimiter: 58
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Board
|
||||
xyz.openbmc_project.Inventory.Item.Cpu:
|
||||
2:
|
||||
/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
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Board
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Board
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Custom Field 2
|
||||
IPMIFruSection: Board
|
||||
IPMIFruValueDelimiter: 58
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Board
|
||||
Value: false
|
||||
xyz.openbmc_project.Inventory.Item.Cpu:
|
||||
3:
|
||||
/system/chassis/motherboard/dimm0:
|
||||
entityID: 32
|
||||
entityInstance: 1
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Dimm:
|
||||
4:
|
||||
/system/chassis/motherboard/dimm1:
|
||||
entityID: 32
|
||||
entityInstance: 2
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Dimm:
|
||||
5:
|
||||
/system/chassis/motherboard/dimm2:
|
||||
entityID: 32
|
||||
entityInstance: 3
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Dimm:
|
||||
6:
|
||||
/system/chassis/motherboard/dimm3:
|
||||
entityID: 32
|
||||
entityInstance: 4
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Dimm:
|
||||
7:
|
||||
/system/chassis/motherboard/dimm4:
|
||||
entityID: 32
|
||||
entityInstance: 5
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Dimm:
|
||||
8:
|
||||
/system/chassis/motherboard/dimm5:
|
||||
entityID: 32
|
||||
entityInstance: 6
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Dimm:
|
||||
9:
|
||||
/system/chassis/motherboard/dimm6:
|
||||
entityID: 32
|
||||
entityInstance: 7
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Dimm:
|
||||
10:
|
||||
/system/chassis/motherboard/dimm7:
|
||||
entityID: 32
|
||||
entityInstance: 8
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Dimm:
|
||||
11:
|
||||
/system/chassis/motherboard/dimm8:
|
||||
entityID: 32
|
||||
entityInstance: 9
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Dimm:
|
||||
12:
|
||||
/system/chassis/motherboard/dimm9:
|
||||
entityID: 32
|
||||
entityInstance: 10
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Dimm:
|
||||
13:
|
||||
/system/chassis/motherboard/dimm10:
|
||||
entityID: 32
|
||||
entityInstance: 11
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Dimm:
|
||||
14:
|
||||
/system/chassis/motherboard/dimm11:
|
||||
entityID: 32
|
||||
entityInstance: 12
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Dimm:
|
||||
15:
|
||||
/system/chassis/motherboard/dimm12:
|
||||
entityID: 32
|
||||
entityInstance: 13
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Dimm:
|
||||
16:
|
||||
/system/chassis/motherboard/dimm13:
|
||||
entityID: 32
|
||||
entityInstance: 14
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Dimm:
|
||||
17:
|
||||
/system/chassis/motherboard/dimm14:
|
||||
entityID: 32
|
||||
entityInstance: 15
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Dimm:
|
||||
18:
|
||||
/system/chassis/motherboard/dimm15:
|
||||
entityID: 32
|
||||
entityInstance: 16
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Dimm:
|
||||
19:
|
||||
/system/chassis/motherboard/bmc/ethernet:
|
||||
entityID: 7
|
||||
entityInstance: 2
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Item.NetworkInterface:
|
||||
MACAddress:
|
||||
IPMIFruProperty: MACAddress
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.Ethernet:
|
||||
20:
|
||||
/system/chassis/motherboard/powersupply0:
|
||||
entityID: 19
|
||||
entityInstance: 1
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.PowerSupply:
|
||||
21:
|
||||
/system/chassis/motherboard/powersupply1:
|
||||
entityID: 19
|
||||
entityInstance: 2
|
||||
interfaces:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
BuildDate:
|
||||
IPMIFruProperty: Mfg Date
|
||||
IPMIFruSection: Product
|
||||
Manufacturer:
|
||||
IPMIFruProperty: Manufacturer
|
||||
IPMIFruSection: Product
|
||||
Model:
|
||||
IPMIFruProperty: Model Number
|
||||
IPMIFruSection: Product
|
||||
PartNumber:
|
||||
IPMIFruProperty: Part Number
|
||||
IPMIFruSection: Product
|
||||
SerialNumber:
|
||||
IPMIFruProperty: Serial Number
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Decorator.Revision:
|
||||
Version:
|
||||
IPMIFruProperty: Version
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
PrettyName:
|
||||
IPMIFruProperty: Name
|
||||
IPMIFruSection: Product
|
||||
xyz.openbmc_project.Inventory.Item.PowerSupply:
|
||||
+340
@@ -0,0 +1,340 @@
|
||||
/xyz/openbmc_project/inventory/system:
|
||||
eventReadingType: 111
|
||||
offset: 2
|
||||
sensorID: 144
|
||||
sensorType: 18
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard:
|
||||
eventReadingType: 3
|
||||
offset: 0
|
||||
sensorID: 140
|
||||
sensorType: 199
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 8
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core0:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 43
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core1:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 44
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core10:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 53
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core11:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 54
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core12:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 55
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core13:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 56
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core14:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 57
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core15:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 58
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core16:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 59
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core17:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 60
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core18:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 61
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core19:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 62
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core2:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 45
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core20:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 63
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core21:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 64
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core22:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 65
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core23:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 66
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core3:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 46
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core4:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 47
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core5:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 48
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core6:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 49
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core7:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 50
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core8:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 51
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core9:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 52
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 9
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core0:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 67
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core1:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 68
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core10:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 77
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core11:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 78
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core12:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 79
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core13:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 80
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core14:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 81
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core15:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 82
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core16:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 83
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core17:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 84
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core18:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 85
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core19:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 86
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core2:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 69
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core20:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 87
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core21:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 88
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core22:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 89
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core23:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 90
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core3:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 70
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core4:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 71
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core5:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 72
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core6:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 73
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core7:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 74
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core8:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 75
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core9:
|
||||
eventReadingType: 111
|
||||
offset: 8
|
||||
sensorID: 76
|
||||
sensorType: 7
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm0:
|
||||
eventReadingType: 111
|
||||
offset: 4
|
||||
sensorID: 11
|
||||
sensorType: 12
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm1:
|
||||
eventReadingType: 111
|
||||
offset: 4
|
||||
sensorID: 12
|
||||
sensorType: 12
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm10:
|
||||
eventReadingType: 111
|
||||
offset: 4
|
||||
sensorID: 21
|
||||
sensorType: 12
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm11:
|
||||
eventReadingType: 111
|
||||
offset: 4
|
||||
sensorID: 22
|
||||
sensorType: 12
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm12:
|
||||
eventReadingType: 111
|
||||
offset: 4
|
||||
sensorID: 23
|
||||
sensorType: 12
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm13:
|
||||
eventReadingType: 111
|
||||
offset: 4
|
||||
sensorID: 24
|
||||
sensorType: 12
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm14:
|
||||
eventReadingType: 111
|
||||
offset: 4
|
||||
sensorID: 25
|
||||
sensorType: 12
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm15:
|
||||
eventReadingType: 111
|
||||
offset: 4
|
||||
sensorID: 26
|
||||
sensorType: 12
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm2:
|
||||
eventReadingType: 111
|
||||
offset: 4
|
||||
sensorID: 13
|
||||
sensorType: 12
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm3:
|
||||
eventReadingType: 111
|
||||
offset: 4
|
||||
sensorID: 14
|
||||
sensorType: 12
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm4:
|
||||
eventReadingType: 111
|
||||
offset: 4
|
||||
sensorID: 15
|
||||
sensorType: 12
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm5:
|
||||
eventReadingType: 111
|
||||
offset: 4
|
||||
sensorID: 16
|
||||
sensorType: 12
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm6:
|
||||
eventReadingType: 111
|
||||
offset: 4
|
||||
sensorID: 17
|
||||
sensorType: 12
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm7:
|
||||
eventReadingType: 111
|
||||
offset: 4
|
||||
sensorID: 18
|
||||
sensorType: 12
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm8:
|
||||
eventReadingType: 111
|
||||
offset: 4
|
||||
sensorID: 19
|
||||
sensorType: 12
|
||||
/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm9:
|
||||
eventReadingType: 111
|
||||
offset: 4
|
||||
sensorID: 20
|
||||
sensorType: 12
|
||||
+4391
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,5 @@
|
||||
lpc-address = 0x3f8
|
||||
sirq = 4
|
||||
local-tty = ttyS0
|
||||
local-tty-baud = 115200
|
||||
logsize = 256k
|
||||
@@ -0,0 +1 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
@@ -0,0 +1,17 @@
|
||||
SUMMARY = "Event policy configuration for meta-fp5280g2 machines"
|
||||
PR = "r1"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
||||
|
||||
inherit allarch
|
||||
inherit phosphor-dbus-monitor
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
|
||||
|
||||
SRC_URI += "file://config.yaml"
|
||||
|
||||
do_install() {
|
||||
install -D ${WORKDIR}/config.yaml ${D}${config_dir}/config.yaml
|
||||
}
|
||||
|
||||
FILES:${PN} += "${config_dir}/config.yaml"
|
||||
@@ -0,0 +1,133 @@
|
||||
- name: occpath group
|
||||
class: group
|
||||
group: path
|
||||
members:
|
||||
- meta: PATH
|
||||
path: /org/open_power/control/occ0
|
||||
|
||||
- name: occproctemp property
|
||||
class: group
|
||||
group: property
|
||||
type: boolean
|
||||
members:
|
||||
- interface: org.open_power.OCC.Status
|
||||
meta: PROPERTY
|
||||
property: ThrottleProcTemp
|
||||
|
||||
- name: occprocpower property
|
||||
class: group
|
||||
group: property
|
||||
type: boolean
|
||||
members:
|
||||
- interface: org.open_power.OCC.Status
|
||||
meta: PROPERTY
|
||||
property: ThrottleProcPower
|
||||
|
||||
- name: occmemtemp property
|
||||
class: group
|
||||
group: property
|
||||
type: boolean
|
||||
members:
|
||||
- interface: org.open_power.OCC.Status
|
||||
meta: PROPERTY
|
||||
property: ThrottleMemTemp
|
||||
|
||||
- name: watch occproctemp
|
||||
class: watch
|
||||
watch: property
|
||||
paths: occpath group
|
||||
properties: occproctemp property
|
||||
callback: check occproctemp
|
||||
|
||||
- name: watch occprocpower
|
||||
class: watch
|
||||
watch: property
|
||||
paths: occpath group
|
||||
properties: occprocpower property
|
||||
callback: check occprocpower
|
||||
|
||||
- name: watch occmemtemp
|
||||
class: watch
|
||||
watch: property
|
||||
paths: occpath group
|
||||
properties: occmemtemp property
|
||||
callback: check occmemtemp
|
||||
|
||||
- name: check occproctemp
|
||||
class: condition
|
||||
condition: count
|
||||
paths: occpath group
|
||||
properties: occproctemp property
|
||||
defer: 1000us
|
||||
callback: create occproctemp event
|
||||
countop: '=='
|
||||
countbound: 1
|
||||
op: '=='
|
||||
bound: true
|
||||
|
||||
- name: check occprocpower
|
||||
class: condition
|
||||
condition: count
|
||||
paths: occpath group
|
||||
properties: occprocpower property
|
||||
defer: 1000us
|
||||
callback: create occprocpower event
|
||||
countop: '=='
|
||||
countbound: 1
|
||||
op: '=='
|
||||
bound: true
|
||||
|
||||
- name: check occmemtemp
|
||||
class: condition
|
||||
condition: count
|
||||
paths: occpath group
|
||||
properties: occmemtemp property
|
||||
defer: 1000us
|
||||
callback: create occmemtemp event
|
||||
countop: '=='
|
||||
countbound: 1
|
||||
op: '=='
|
||||
bound: true
|
||||
|
||||
- name: create occproctemp event
|
||||
class: callback
|
||||
callback: event
|
||||
paths: occpath group
|
||||
properties: occproctemp property
|
||||
eventName: occ
|
||||
eventMessage: "Processor throttled due to an over temperature condition."
|
||||
|
||||
- name: create occprocpower event
|
||||
class: callback
|
||||
callback: event
|
||||
paths: occpath group
|
||||
properties: occprocpower property
|
||||
eventName: occ
|
||||
eventMessage: "Processor throttled due to reaching the power cap limit."
|
||||
|
||||
- name: create occmemtemp event
|
||||
class: callback
|
||||
callback: event
|
||||
paths: occpath group
|
||||
properties: occmemtemp property
|
||||
eventName: occ
|
||||
eventMessage: "Memory throttled due to an over temperature condition."
|
||||
|
||||
- name: errorlog path group
|
||||
class: group
|
||||
group: path
|
||||
members:
|
||||
- meta: PATH
|
||||
path: /xyz/openbmc_project/logging
|
||||
|
||||
- name: pathwatch errorlog
|
||||
class: pathwatch
|
||||
pathwatch: path
|
||||
paths: errorlog path group
|
||||
pathcallback: create errorlog trap
|
||||
|
||||
- name: create errorlog trap
|
||||
class: pathcallback
|
||||
pathcallback: eventpath
|
||||
paths: errorlog path group
|
||||
eventType: ErrorTrap
|
||||
@@ -0,0 +1 @@
|
||||
PHOSPHOR_DBUS_MONITOR_CONFIGS:append:fp5280g2 = " events-policy"
|
||||
+1
@@ -0,0 +1 @@
|
||||
FILESEXTRAPATHS:prepend:fp5280g2 := "${THISDIR}/${BPN}:"
|
||||
+464
@@ -0,0 +1,464 @@
|
||||
groups:
|
||||
- name: air_cooled_zone0_fans
|
||||
description: Group of fan inventory objects for air cooled zone 0
|
||||
type: /xyz/openbmc_project/inventory
|
||||
members:
|
||||
- /system/chassis/motherboard/fan0
|
||||
- /system/chassis/motherboard/fan1
|
||||
- /system/chassis/motherboard/fan2
|
||||
- /system/chassis/motherboard/fan3
|
||||
- name: zone0_ambient
|
||||
description: Group of ambient temperature sensors for zone 0
|
||||
type: /xyz/openbmc_project/sensors
|
||||
members:
|
||||
- /temperature/inlet
|
||||
- name: occ0_object
|
||||
description: Dbus object containing OCC0 properties
|
||||
type: /org/open_power/control
|
||||
members:
|
||||
- /occ0
|
||||
- name: occ1_object
|
||||
description: Dbus object containing OCC1 properties
|
||||
type: /org/open_power/control
|
||||
members:
|
||||
- /occ1
|
||||
- name: zone0_cores
|
||||
description: Group of core temperature sensors for zone 0
|
||||
type: /xyz/openbmc_project/sensors
|
||||
members:
|
||||
- /temperature/p0_core0_temp
|
||||
- /temperature/p0_core1_temp
|
||||
- /temperature/p0_core2_temp
|
||||
- /temperature/p0_core3_temp
|
||||
- /temperature/p0_core4_temp
|
||||
- /temperature/p0_core5_temp
|
||||
- /temperature/p0_core6_temp
|
||||
- /temperature/p0_core7_temp
|
||||
- /temperature/p0_core8_temp
|
||||
- /temperature/p0_core9_temp
|
||||
- /temperature/p0_core10_temp
|
||||
- /temperature/p0_core11_temp
|
||||
- /temperature/p0_core12_temp
|
||||
- /temperature/p0_core13_temp
|
||||
- /temperature/p0_core14_temp
|
||||
- /temperature/p0_core15_temp
|
||||
- /temperature/p0_core16_temp
|
||||
- /temperature/p0_core17_temp
|
||||
- /temperature/p0_core18_temp
|
||||
- /temperature/p0_core19_temp
|
||||
- /temperature/p0_core20_temp
|
||||
- /temperature/p0_core21_temp
|
||||
- /temperature/p0_core22_temp
|
||||
- /temperature/p0_core23_temp
|
||||
- /temperature/p1_core0_temp
|
||||
- /temperature/p1_core1_temp
|
||||
- /temperature/p1_core2_temp
|
||||
- /temperature/p1_core3_temp
|
||||
- /temperature/p1_core4_temp
|
||||
- /temperature/p1_core5_temp
|
||||
- /temperature/p1_core6_temp
|
||||
- /temperature/p1_core7_temp
|
||||
- /temperature/p1_core8_temp
|
||||
- /temperature/p1_core9_temp
|
||||
- /temperature/p1_core10_temp
|
||||
- /temperature/p1_core11_temp
|
||||
- /temperature/p1_core12_temp
|
||||
- /temperature/p1_core13_temp
|
||||
- /temperature/p1_core14_temp
|
||||
- /temperature/p1_core15_temp
|
||||
- /temperature/p1_core16_temp
|
||||
- /temperature/p1_core17_temp
|
||||
- /temperature/p1_core18_temp
|
||||
- /temperature/p1_core19_temp
|
||||
- /temperature/p1_core20_temp
|
||||
- /temperature/p1_core21_temp
|
||||
- /temperature/p1_core22_temp
|
||||
- /temperature/p1_core23_temp
|
||||
- name: zone0_dimms
|
||||
description: Group of dimm temperature sensors for zone 0
|
||||
type: /xyz/openbmc_project/sensors
|
||||
members:
|
||||
- /temperature/dimm0_temp
|
||||
- /temperature/dimm1_temp
|
||||
- /temperature/dimm2_temp
|
||||
- /temperature/dimm3_temp
|
||||
- /temperature/dimm4_temp
|
||||
- /temperature/dimm5_temp
|
||||
- /temperature/dimm6_temp
|
||||
- /temperature/dimm7_temp
|
||||
- /temperature/dimm8_temp
|
||||
- /temperature/dimm9_temp
|
||||
- /temperature/dimm10_temp
|
||||
- /temperature/dimm11_temp
|
||||
- /temperature/dimm12_temp
|
||||
- /temperature/dimm13_temp
|
||||
- /temperature/dimm14_temp
|
||||
- /temperature/dimm15_temp
|
||||
|
||||
matches:
|
||||
- name: propertiesChanged
|
||||
parameters:
|
||||
- object
|
||||
- interface
|
||||
- name: interfacesAdded
|
||||
parameters:
|
||||
- object
|
||||
- name: nameOwnerChanged
|
||||
parameters:
|
||||
- object
|
||||
- interface
|
||||
|
||||
signals:
|
||||
- name: propertiesChanged
|
||||
description: >
|
||||
A property changed match
|
||||
parameters:
|
||||
- type
|
||||
- object
|
||||
- interface
|
||||
- property
|
||||
match: propertiesChanged
|
||||
- name: interfacesAdded
|
||||
description: >
|
||||
An interfaces added match
|
||||
parameters:
|
||||
- type
|
||||
- object
|
||||
- interface
|
||||
- property
|
||||
match: interfacesAdded
|
||||
- name: nameOwnerChanged
|
||||
description: >
|
||||
A name owner changed match
|
||||
parameters:
|
||||
match: nameOwnerChanged
|
||||
|
||||
methods:
|
||||
- name: getProperties
|
||||
description: >
|
||||
Get the property values of the given group members
|
||||
by performing a `GetProperty` method call on each
|
||||
parameters:
|
||||
- type
|
||||
- name: nameHasOwner
|
||||
description: >
|
||||
A NameHasOwner method call to be performed on all event group members
|
||||
parameters:
|
||||
|
||||
handlers:
|
||||
- name: setProperty
|
||||
description: >
|
||||
Sets a value for the given object/interface/property
|
||||
parameters:
|
||||
- type
|
||||
- name: setService
|
||||
description: >
|
||||
Sets the service name and ownership status for the given group
|
||||
parameters:
|
||||
- group
|
||||
|
||||
preconditions:
|
||||
- name: property_states_match
|
||||
description: >
|
||||
All defined properties must match the values given to
|
||||
enable a set speed event otherwise fan speeds are set to full
|
||||
parameters:
|
||||
- groups
|
||||
- name: services_missing_owner
|
||||
description: >
|
||||
Any services missing an owner enable the events given otherwise
|
||||
the events are removed/disabled
|
||||
parameters:
|
||||
|
||||
actions:
|
||||
- name: call_actions_based_on_timer
|
||||
description: >
|
||||
Sets up a list of actions to be invoked when the defined timer
|
||||
expires (or for each expiration of a repeating timer)
|
||||
parameters:
|
||||
- timer
|
||||
- actions
|
||||
- name: default_floor_on_missing_owner
|
||||
description: >
|
||||
Set the fan floor to the default floor
|
||||
- name: set_speed_on_missing_owner
|
||||
description: >
|
||||
Set fans to the given speed when any service within the group
|
||||
no longer exists
|
||||
parameters:
|
||||
- speed
|
||||
- name: set_request_speed_base_with_max
|
||||
description: >
|
||||
Set the base request speed of a zone to the max value of a group for
|
||||
calculating a new target speed
|
||||
- name: count_state_before_speed
|
||||
description: Set the speed when a number of properties at a state
|
||||
parameters:
|
||||
- count
|
||||
- property
|
||||
- speed
|
||||
- name: set_floor_from_average_sensor_value
|
||||
description: Set floor speed from first entry with average less than key
|
||||
parameters:
|
||||
- map
|
||||
- name: set_ceiling_from_average_sensor_value
|
||||
description: Set ceiling speed based on key transition values with average
|
||||
parameters:
|
||||
- map
|
||||
- name: set_net_increase_speed
|
||||
description: >
|
||||
Set the speed increase delta based on a factor applied to
|
||||
the delta increase size times the given value and property's
|
||||
value difference
|
||||
parameters:
|
||||
- property
|
||||
- factor
|
||||
- delta
|
||||
- name: set_net_decrease_speed
|
||||
description: >
|
||||
Set the speed decrease delta based on a factor applied to
|
||||
the delta decrease size times the given value and property's
|
||||
value difference
|
||||
parameters:
|
||||
- property
|
||||
- factor
|
||||
- delta
|
||||
|
||||
events:
|
||||
- name: default_fan_floor_on_service_fail
|
||||
precondition:
|
||||
name: services_missing_owner
|
||||
groups:
|
||||
- name: zone0_ambient
|
||||
interface: xyz.openbmc_project.Sensor.Value
|
||||
property:
|
||||
name: Value
|
||||
type: int64_t
|
||||
triggers:
|
||||
- name: init
|
||||
method: nameHasOwner
|
||||
handler: setService
|
||||
- name: signal
|
||||
signal: nameOwnerChanged
|
||||
handler: setService
|
||||
events:
|
||||
- name: default_fan_floor
|
||||
groups:
|
||||
- name: zone0_ambient
|
||||
interface: xyz.openbmc_project.Sensor.Value
|
||||
property:
|
||||
name: Value
|
||||
type: int64_t
|
||||
triggers:
|
||||
- name: timer
|
||||
interval: 5000000
|
||||
type: oneshot
|
||||
actions:
|
||||
- name: default_floor_on_missing_owner
|
||||
- name: high_speed_on_occ_service_fail
|
||||
groups:
|
||||
- name: occ0_object
|
||||
interface: org.open_power.OCC.Status
|
||||
property:
|
||||
name: OccActive
|
||||
type: bool
|
||||
- name: occ1_object
|
||||
interface: org.open_power.OCC.Status
|
||||
property:
|
||||
name: OccActive
|
||||
type: bool
|
||||
triggers:
|
||||
- name: init
|
||||
method: nameHasOwner
|
||||
handler: setService
|
||||
- name: signal
|
||||
signal: nameOwnerChanged
|
||||
handler: setService
|
||||
actions:
|
||||
- name: call_actions_based_on_timer
|
||||
timer:
|
||||
interval: 5000000
|
||||
type: oneshot
|
||||
actions:
|
||||
- name: set_speed_on_missing_owner
|
||||
speed:
|
||||
value: 255
|
||||
type: uint64_t
|
||||
- name: missing_or_fails_before_high_speed_air
|
||||
groups:
|
||||
- name: air_cooled_zone0_fans
|
||||
interface: xyz.openbmc_project.Inventory.Item
|
||||
property:
|
||||
name: Present
|
||||
type: bool
|
||||
- name: air_cooled_zone0_fans
|
||||
interface: xyz.openbmc_project.State.Decorator.OperationalStatus
|
||||
property:
|
||||
name: Functional
|
||||
type: bool
|
||||
triggers:
|
||||
- name: init
|
||||
method: getProperties
|
||||
handler: setProperty
|
||||
- name: signal
|
||||
signal: propertiesChanged
|
||||
handler: setProperty
|
||||
actions:
|
||||
- name: count_state_before_speed
|
||||
count: 1
|
||||
property:
|
||||
value: false
|
||||
type: bool
|
||||
speed:
|
||||
value: 255
|
||||
type: uint64_t
|
||||
- name: set_air_cooled_speed_boundaries_based_on_ambient
|
||||
groups:
|
||||
- name: zone0_ambient
|
||||
interface: xyz.openbmc_project.Sensor.Value
|
||||
property:
|
||||
name: Value
|
||||
type: int64_t
|
||||
triggers:
|
||||
- name: init
|
||||
method: getProperties
|
||||
handler: setProperty
|
||||
- name: signal
|
||||
signal: propertiesChanged
|
||||
handler: setProperty
|
||||
actions:
|
||||
- name: set_floor_from_average_sensor_value
|
||||
map:
|
||||
value:
|
||||
- 27000: 85
|
||||
- 32000: 112
|
||||
- 37000: 126
|
||||
- 40000: 141
|
||||
type: std::map<int64_t, uint64_t>
|
||||
- name: set_ceiling_from_average_sensor_value
|
||||
map:
|
||||
value:
|
||||
- 25000: 175
|
||||
- 27000: 255
|
||||
type: std::map<int64_t, uint64_t>
|
||||
- name: occ_active_speed_changes
|
||||
precondition:
|
||||
name: property_states_match
|
||||
groups:
|
||||
- name: occ0_object
|
||||
interface: org.open_power.OCC.Status
|
||||
property:
|
||||
name: OccActive
|
||||
type: bool
|
||||
value: true
|
||||
- name: occ1_object
|
||||
interface: org.open_power.OCC.Status
|
||||
property:
|
||||
name: OccActive
|
||||
type: bool
|
||||
value: true
|
||||
triggers:
|
||||
- name: init
|
||||
method: getProperties
|
||||
handler: setProperty
|
||||
- name: signal
|
||||
signal: interfacesAdded
|
||||
handler: setProperty
|
||||
- name: signal
|
||||
signal: propertiesChanged
|
||||
handler: setProperty
|
||||
events:
|
||||
- name: speed_control_sensors
|
||||
groups:
|
||||
- name: zone0_cores
|
||||
interface: xyz.openbmc_project.Sensor.Value
|
||||
property:
|
||||
name: Value
|
||||
type: int64_t
|
||||
- name: zone0_dimms
|
||||
interface: xyz.openbmc_project.Sensor.Value
|
||||
property:
|
||||
name: Value
|
||||
type: int64_t
|
||||
triggers:
|
||||
- name: init
|
||||
method: getProperties
|
||||
handler: setProperty
|
||||
- name: signal
|
||||
signal: interfacesAdded
|
||||
handler: setProperty
|
||||
- name: signal
|
||||
signal: propertiesChanged
|
||||
handler: setProperty
|
||||
- name: 1sec_speed_change_request_sampling
|
||||
triggers:
|
||||
- name: timer
|
||||
interval: 1000000
|
||||
type: repeating
|
||||
actions:
|
||||
# Speed changes based on core temps
|
||||
- name: set_net_increase_speed
|
||||
groups:
|
||||
- name: zone0_cores
|
||||
interface: xyz.openbmc_project.Sensor.Value
|
||||
property:
|
||||
name: Value
|
||||
type: int64_t
|
||||
property:
|
||||
value: 73000
|
||||
type: int64_t
|
||||
factor:
|
||||
value: 1000
|
||||
type: int64_t
|
||||
delta:
|
||||
value: 11
|
||||
type: uint64_t
|
||||
- name: set_net_decrease_speed
|
||||
groups:
|
||||
- name: zone0_cores
|
||||
interface: xyz.openbmc_project.Sensor.Value
|
||||
property:
|
||||
name: Value
|
||||
type: int64_t
|
||||
property:
|
||||
value: 70000
|
||||
type: int64_t
|
||||
factor:
|
||||
value: 1000
|
||||
type: int64_t
|
||||
delta:
|
||||
value: 11
|
||||
type: uint64_t
|
||||
# Speed changes based on dimm temps
|
||||
- name: set_net_increase_speed
|
||||
groups:
|
||||
- name: zone0_dimms
|
||||
interface: xyz.openbmc_project.Sensor.Value
|
||||
property:
|
||||
name: Value
|
||||
type: int64_t
|
||||
property:
|
||||
value: 64000
|
||||
type: int64_t
|
||||
factor:
|
||||
value: 1000
|
||||
type: int64_t
|
||||
delta:
|
||||
value: 6
|
||||
type: uint64_t
|
||||
- name: set_net_decrease_speed
|
||||
groups:
|
||||
- name: zone0_dimms
|
||||
interface: xyz.openbmc_project.Sensor.Value
|
||||
property:
|
||||
name: Value
|
||||
type: int64_t
|
||||
property:
|
||||
value: 61000
|
||||
type: int64_t
|
||||
factor:
|
||||
value: 1000
|
||||
type: int64_t
|
||||
delta:
|
||||
value: 6
|
||||
type: uint64_t
|
||||
+1
@@ -0,0 +1 @@
|
||||
FILESEXTRAPATHS:prepend:fp5280g2 := "${THISDIR}/${BPN}:"
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
fans:
|
||||
- inventory: /system/chassis/motherboard/fan0
|
||||
cooling_zone: 0
|
||||
sensors:
|
||||
- fan0_0
|
||||
target_interface: xyz.openbmc_project.Control.FanPwm
|
||||
- inventory: /system/chassis/motherboard/fan1
|
||||
cooling_zone: 0
|
||||
sensors:
|
||||
- fan1_0
|
||||
target_interface: xyz.openbmc_project.Control.FanPwm
|
||||
- inventory: /system/chassis/motherboard/fan2
|
||||
cooling_zone: 0
|
||||
sensors:
|
||||
- fan2_0
|
||||
target_interface: xyz.openbmc_project.Control.FanPwm
|
||||
- inventory: /system/chassis/motherboard/fan3
|
||||
cooling_zone: 0
|
||||
sensors:
|
||||
- fan3_0
|
||||
target_interface: xyz.openbmc_project.Control.FanPwm
|
||||
+1
@@ -0,0 +1 @@
|
||||
FILESEXTRAPATHS:prepend:fp5280g2 := "${THISDIR}/${BPN}:"
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
conditions:
|
||||
- name: air_cooled_chassis
|
||||
type: getProperty
|
||||
properties:
|
||||
- property: WaterCooled
|
||||
interface: xyz.openbmc_project.Inventory.Decorator.CoolingType
|
||||
path: /xyz/openbmc_project/inventory/system/chassis
|
||||
type: bool
|
||||
value: false
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
FILESEXTRAPATHS:prepend:fp5280g2 := "${THISDIR}/${BPN}:"
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
manager_configuration:
|
||||
power_on_delay: 20
|
||||
|
||||
zone_configuration:
|
||||
|
||||
#Air cooled zones
|
||||
- zone_conditions:
|
||||
- name: air_cooled_chassis
|
||||
|
||||
zones:
|
||||
- zone: 0
|
||||
full_speed: 255
|
||||
default_floor: 195
|
||||
increase_delay: 5
|
||||
decrease_interval: 30
|
||||
@@ -0,0 +1 @@
|
||||
FILESEXTRAPATHS:prepend:fp5280g2 := "${THISDIR}/${BPN}:"
|
||||
+87
@@ -0,0 +1,87 @@
|
||||
fans:
|
||||
- inventory: /system/chassis/motherboard/fan0
|
||||
functional_delay: 5
|
||||
allowed_out_of_range_time: 30
|
||||
deviation: 35
|
||||
num_sensors_nonfunc_for_fan_nonfunc: 1
|
||||
sensors:
|
||||
- name: fan0_0
|
||||
has_target: true
|
||||
target_interface: xyz.openbmc_project.Control.FanPwm
|
||||
factor: 60
|
||||
offset: 0
|
||||
- name: fan0_1
|
||||
has_target: false
|
||||
target_interface: xyz.openbmc_project.Control.FanPwm
|
||||
factor: 55
|
||||
offset: 0
|
||||
|
||||
- inventory: /system/chassis/motherboard/fan1
|
||||
functional_delay: 5
|
||||
allowed_out_of_range_time: 30
|
||||
deviation: 15
|
||||
num_sensors_nonfunc_for_fan_nonfunc: 1
|
||||
sensors:
|
||||
- name: fan1_0
|
||||
has_target: true
|
||||
target_interface: xyz.openbmc_project.Control.FanPwm
|
||||
factor: 60
|
||||
offset: 0
|
||||
- name: fan1_1
|
||||
has_target: false
|
||||
target_interface: xyz.openbmc_project.Control.FanPwm
|
||||
factor: 55
|
||||
offset: 0
|
||||
|
||||
- inventory: /system/chassis/motherboard/fan2
|
||||
functional_delay: 5
|
||||
allowed_out_of_range_time: 30
|
||||
deviation: 15
|
||||
num_sensors_nonfunc_for_fan_nonfunc: 1
|
||||
sensors:
|
||||
- name: fan2_0
|
||||
has_target: true
|
||||
target_interface: xyz.openbmc_project.Control.FanPwm
|
||||
factor: 60
|
||||
offset: 0
|
||||
- name: fan2_1
|
||||
has_target: false
|
||||
target_interface: xyz.openbmc_project.Control.FanPwm
|
||||
factor: 55
|
||||
offset: 0
|
||||
|
||||
- inventory: /system/chassis/motherboard/fan3
|
||||
functional_delay: 5
|
||||
allowed_out_of_range_time: 30
|
||||
deviation: 15
|
||||
num_sensors_nonfunc_for_fan_nonfunc: 1
|
||||
sensors:
|
||||
- name: fan3_0
|
||||
has_target: true
|
||||
target_interface: xyz.openbmc_project.Control.FanPwm
|
||||
factor: 60
|
||||
offset: 0
|
||||
- name: fan3_1
|
||||
has_target: false
|
||||
target_interface: xyz.openbmc_project.Control.FanPwm
|
||||
factor: 55
|
||||
offset: 0
|
||||
|
||||
sensor_trust_groups:
|
||||
- class: NonzeroSpeed
|
||||
group:
|
||||
# Include all _1 fans to determine trust
|
||||
- name: fan0_1
|
||||
- name: fan1_1
|
||||
- name: fan2_1
|
||||
- name: fan3_1
|
||||
# Add all _0 fans to be included in trust result effects,
|
||||
# but not in determining trust
|
||||
- name: fan0_0
|
||||
in_trust: false
|
||||
- name: fan1_0
|
||||
in_trust: false
|
||||
- name: fan2_0
|
||||
in_trust: false
|
||||
- name: fan3_0
|
||||
in_trust: false
|
||||
@@ -0,0 +1 @@
|
||||
FILESEXTRAPATHS:prepend:fp5280g2 := "${THISDIR}/${BPN}:"
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
- name: fan0
|
||||
path: /system/chassis/motherboard/fan0
|
||||
methods:
|
||||
- type: gpio
|
||||
key: 1
|
||||
physpath: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a340.i2c-bus/i2c-8/8-0021
|
||||
devpath: /dev/input/by-path/platform-gpio-keys-polled-event
|
||||
|
||||
- name: fan1
|
||||
path: /system/chassis/motherboard/fan1
|
||||
methods:
|
||||
- type: gpio
|
||||
key: 2
|
||||
physpath: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a340.i2c-bus/i2c-8/8-0021
|
||||
devpath: /dev/input/by-path/platform-gpio-keys-polled-event
|
||||
|
||||
- name: fan2
|
||||
path: /system/chassis/motherboard/fan2
|
||||
methods:
|
||||
- type: gpio
|
||||
key: 3
|
||||
physpath: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a340.i2c-bus/i2c-8/8-0021
|
||||
devpath: /dev/input/by-path/platform-gpio-keys-polled-event
|
||||
|
||||
- name: fan3
|
||||
path: /system/chassis/motherboard/fan3
|
||||
methods:
|
||||
- type: gpio
|
||||
key: 4
|
||||
physpath: /sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a340.i2c-bus/i2c-8/8-0021
|
||||
devpath: /dev/input/by-path/platform-gpio-keys-polled-event
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
OBJPATH="--path=/system/chassis"
|
||||
AIR="--air"
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Phosphor Cooling Type
|
||||
Wants=mapper-wait@-xyz-openbmc_project-inventory.service
|
||||
After=mapper-wait@-xyz-openbmc_project-inventory.service
|
||||
ConditionPathExists={envfiledir}/obmc/phosphor-fan/phosphor-cooling-type-%i.conf
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
EnvironmentFile={envfiledir}/obmc/phosphor-fan/phosphor-cooling-type-%i.conf
|
||||
ExecStart=/usr/bin/env phosphor-cooling-type ${{OBJPATH}} ${{AIR}}
|
||||
SyslogIdentifier=phosphor-cooling-type
|
||||
|
||||
[Install]
|
||||
RequiredBy=multi-user.target
|
||||
@@ -0,0 +1,21 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
|
||||
|
||||
# Package configuration
|
||||
FAN_PACKAGES += " \
|
||||
phosphor-cooling-type \
|
||||
"
|
||||
|
||||
PACKAGECONFIG:append:fp5280g2 = " cooling-type"
|
||||
|
||||
TMPL_COOLING = "phosphor-cooling-type@.service"
|
||||
INSTFMT_COOLING = "phosphor-cooling-type@{0}.service"
|
||||
COOLING_TGT = "multi-user.target"
|
||||
FMT_COOLING = "../${TMPL_COOLING}:${COOLING_TGT}.requires/${INSTFMT_COOLING}"
|
||||
|
||||
FILES:phosphor-cooling-type = "${bindir}/phosphor-cooling-type"
|
||||
SYSTEMD_SERVICE:phosphor-cooling-type += "${TMPL_COOLING}"
|
||||
SYSTEMD_LINK:phosphor-cooling-type += "${@compose_list(d, 'FMT_COOLING', 'OBMC_CHASSIS_INSTANCES')}"
|
||||
|
||||
COOLING_ENV_FMT = "obmc/phosphor-fan/phosphor-cooling-type-{0}.conf"
|
||||
|
||||
SYSTEMD_ENVIRONMENT_FILE:phosphor-cooling-type:append:fp5280g2 = " ${@compose_list(d, 'COOLING_ENV_FMT', 'OBMC_CHASSIS_INSTANCES')}"
|
||||
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:append:fp5280g2 = " verify_pnor_signature"
|
||||
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:append:fp5280g2 = " verify_signature"
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
INVENTORY=/system/chassis/motherboard/powersupply0
|
||||
DEVPATH=/dev/input/by-path/platform-gpio-keys-event
|
||||
KEY=40
|
||||
NAME=powersupply0
|
||||
DRIVERS=/sys/bus/i2c/drivers/inspur-ipsps,11-0058
|
||||
EXTRA_IFACES=xyz.openbmc_project.Inventory.Item.PowerSupply
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
INVENTORY=/system/chassis/motherboard/powersupply1
|
||||
DEVPATH=/dev/input/by-path/platform-gpio-keys-event
|
||||
KEY=41
|
||||
NAME=powersupply1
|
||||
DRIVERS=/sys/bus/i2c/drivers/inspur-ipsps,11-0059
|
||||
EXTRA_IFACES=xyz.openbmc_project.Inventory.Item.PowerSupply
|
||||
@@ -0,0 +1,12 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
TMPL_POWERSUPPLY = "phosphor-gpio-presence@.service"
|
||||
INSTFMT_POWERSUPPLY = "phosphor-gpio-presence@{0}.service"
|
||||
POWERSUPPLY_TGT = "multi-user.target"
|
||||
FMT_POWERSUPPLY = "../${TMPL_POWERSUPPLY}:${POWERSUPPLY_TGT}.requires/${INSTFMT_POWERSUPPLY}"
|
||||
|
||||
SYSTEMD_LINK:${PN}-presence:append:fp5280g2 = " ${@compose_list(d, 'FMT_POWERSUPPLY', 'OBMC_POWER_SUPPLY_INSTANCES')}"
|
||||
|
||||
POWERSUPPLY_ENV_FMT = "obmc/gpio/phosphor-power-supply-{0}.conf"
|
||||
|
||||
SYSTEMD_ENVIRONMENT_FILE:${PN}-presence:append:fp5280g2 = " ${@compose_list(d, 'POWERSUPPLY_ENV_FMT', 'OBMC_POWER_SUPPLY_INSTANCES')}"
|
||||
@@ -0,0 +1 @@
|
||||
FILESEXTRAPATHS:prepend:fp5280g2 := "${THISDIR}/${PN}:"
|
||||
@@ -0,0 +1,4 @@
|
||||
DEVPATH=/dev/input/by-path/platform-gpio-keys-event
|
||||
KEY=11
|
||||
POLARITY=1
|
||||
TARGET=obmc-host-crash@0.target
|
||||
@@ -0,0 +1,2 @@
|
||||
OBMC_IMAGE_EXTRA_INSTALL:append:fp5280g2 = " mboxd liberation-fonts uart-render-controller first-boot-set-mac"
|
||||
IMAGE_FEATURES:append:fp5280g2 = " obmc-dbus-monitor"
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
SUMMARY = "Add Chassis interface 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
|
||||
|
||||
PROVIDES += "virtual/phosphor-inventory-manager-chassis"
|
||||
S = "${WORKDIR}"
|
||||
|
||||
SRC_URI = "file://chassis.yaml"
|
||||
|
||||
do_install() {
|
||||
install -D chassis.yaml ${D}${base_datadir}/events.d/chassis.yaml
|
||||
}
|
||||
|
||||
FILES:${PN} += "${base_datadir}/events.d/chassis.yaml"
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
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: "xyz.openbmc_project.Inventory.Item.Chassis.ChassisType.RackMount"
|
||||
type: string
|
||||
+1704
File diff suppressed because it is too large
Load Diff
+10
@@ -0,0 +1,10 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
PACKAGECONFIG:append = " associations"
|
||||
SRC_URI += " file://associations.json"
|
||||
|
||||
DEPENDS += " phosphor-inventory-manager-chassis"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${base_datadir}
|
||||
install -m 0755 ${WORKDIR}/associations.json ${D}${base_datadir}/associations.json
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
DEPENDS:append:fp5280g2= " fp5280g2-yaml-config"
|
||||
|
||||
EXTRA_OECONF:fp5280g2= " \
|
||||
INVSENSOR_YAML_GEN=${STAGING_DIR_HOST}${datadir}/fp5280g2-yaml-config/ipmi-inventory-sensors.yaml \
|
||||
"
|
||||
@@ -0,0 +1,47 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
# Calculate the auxiliary firmware revision to be updated in the dev_id.json
|
||||
# file. It is calculated from the VERSION_ID field which currently has two
|
||||
# formats. The revision field is 4 bytes, the first two bytes represent the
|
||||
# count of commits from the tagging and next two bytes represent the version.
|
||||
# Both fields are represented in BCD encoded format, so 9999 is the maximum
|
||||
# value both fields can take. With the format "v2.1-216-ga78ace8", Petitboot
|
||||
# would display the firmware revision as "Firmware version: 2.01.02160000",
|
||||
# "0216" is count and the revision is "0000". With the format
|
||||
# "ibm-v2.0-10-r41-0-gd0c319e" Petitboot would display the firmware revision
|
||||
# as "Firmware version: 2.00.00100041", "0010" is count and the revision
|
||||
# is "0041".
|
||||
inherit image_version
|
||||
|
||||
unset do_patch[noexec]
|
||||
do_patch[depends] = "os-release:do_populate_sysroot"
|
||||
|
||||
python do_patch() {
|
||||
import json
|
||||
import re
|
||||
from shutil import copyfile
|
||||
version_id = do_get_version(d)
|
||||
|
||||
# count from the commit version
|
||||
count = re.findall("-(\d{1,4})-", version_id)
|
||||
|
||||
if not count:
|
||||
return
|
||||
|
||||
release = re.findall("-r(\d{1,4})", version_id)
|
||||
if release:
|
||||
auxVer = count[0] + "{0:0>4}".format(release[0])
|
||||
else:
|
||||
auxVer = count[0] + "0000"
|
||||
|
||||
workdir = d.getVar('WORKDIR', True)
|
||||
file = os.path.join(workdir, 'dev_id.json')
|
||||
|
||||
# Update dev_id.json with the auxiliary firmware revision
|
||||
with open(file, "r+") as jsonFile:
|
||||
data = json.load(jsonFile)
|
||||
jsonFile.seek(0)
|
||||
jsonFile.truncate()
|
||||
data["aux"] = int(auxVer, 16)
|
||||
json.dump(data, jsonFile)
|
||||
}
|
||||
+178
@@ -0,0 +1,178 @@
|
||||
{
|
||||
"0" : {
|
||||
"name" : "IPMB",
|
||||
"is_valid" : true,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "ipmb",
|
||||
"protocol_type" : "ipmb-1.0",
|
||||
"session_supported" : "session-less",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
},
|
||||
"1" : {
|
||||
"name" : "eth1",
|
||||
"is_valid" : true,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "lan-802.3",
|
||||
"protocol_type" : "ipmb-1.0",
|
||||
"session_supported" : "multi-session",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
},
|
||||
"2" : {
|
||||
"name" : "eth0",
|
||||
"is_valid" : true,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "lan-802.3",
|
||||
"protocol_type" : "ipmb-1.0",
|
||||
"session_supported" : "multi-session",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
},
|
||||
"3" : {
|
||||
"name" : "RESERVED",
|
||||
"is_valid" : false,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "reserved",
|
||||
"protocol_type" : "na",
|
||||
"session_supported" : "session-less",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
},
|
||||
"4" : {
|
||||
"name" : "RESERVED",
|
||||
"is_valid" : false,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "reserved",
|
||||
"protocol_type" : "na",
|
||||
"session_supported" : "session-less",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
},
|
||||
"5" : {
|
||||
"name" : "RESERVED",
|
||||
"is_valid" : false,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "reserved",
|
||||
"protocol_type" : "na",
|
||||
"session_supported" : "session-less",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
},
|
||||
"6" : {
|
||||
"name" : "RESERVED",
|
||||
"is_valid" : false,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "reserved",
|
||||
"protocol_type" : "na",
|
||||
"session_supported" : "session-less",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
},
|
||||
"7" : {
|
||||
"name" : "RESERVED",
|
||||
"is_valid" : false,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "reserved",
|
||||
"protocol_type" : "na",
|
||||
"session_supported" : "session-less",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
},
|
||||
"8" : {
|
||||
"name" : "INTRABMC",
|
||||
"is_valid" : true,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "oem",
|
||||
"protocol_type" : "oem",
|
||||
"session_supported" : "session-less",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
},
|
||||
"9" : {
|
||||
"name" : "RESERVED",
|
||||
"is_valid" : false,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "reserved",
|
||||
"protocol_type" : "na",
|
||||
"session_supported" : "session-less",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
},
|
||||
"10" : {
|
||||
"name" : "RESERVED",
|
||||
"is_valid" : false,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "reserved",
|
||||
"protocol_type" : "na",
|
||||
"session_supported" : "session-less",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
},
|
||||
"11" : {
|
||||
"name" : "RESERVED",
|
||||
"is_valid" : false,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "reserved",
|
||||
"protocol_type" : "na",
|
||||
"session_supported" : "session-less",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
},
|
||||
"12" : {
|
||||
"name" : "RESERVED",
|
||||
"is_valid" : false,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "reserved",
|
||||
"protocol_type" : "na",
|
||||
"session_supported" : "session-less",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
},
|
||||
"13" : {
|
||||
"name" : "RESERVED",
|
||||
"is_valid" : false,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "reserved",
|
||||
"protocol_type" : "na",
|
||||
"session_supported" : "session-less",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
},
|
||||
"14" : {
|
||||
"name" : "SELF",
|
||||
"is_valid" : false,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "ipmb",
|
||||
"protocol_type" : "ipmb-1.0",
|
||||
"session_supported" : "session-less",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
},
|
||||
"15" : {
|
||||
"name" : "SMS",
|
||||
"is_valid" : true,
|
||||
"active_sessions" : 0,
|
||||
"channel_info" : {
|
||||
"medium_type" : "system-interface",
|
||||
"protocol_type" : "kcs",
|
||||
"session_supported" : "session-less",
|
||||
"is_ipmi" : true
|
||||
}
|
||||
}
|
||||
}
|
||||
+251
@@ -0,0 +1,251 @@
|
||||
{
|
||||
"inlet": [
|
||||
{"instance": 1, "dbus": "/xyz/openbmc_project/sensors/temperature/inlet", "record_id": 254}
|
||||
],
|
||||
"baseboard": [
|
||||
{"instance": 1, "dbus": "/xyz/openbmc_project/sensors/temperature/bmc_zone", "record_id": 253},
|
||||
{"instance": 2, "dbus": "/xyz/openbmc_project/sensors/temperature/ocp_zone", "record_id": 252}
|
||||
],
|
||||
"cpu": [
|
||||
{
|
||||
"instance": 1,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core0_temp",
|
||||
"record_id": 91
|
||||
},
|
||||
{
|
||||
"instance": 2,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core1_temp",
|
||||
"record_id": 92
|
||||
},
|
||||
{
|
||||
"instance": 3,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core2_temp",
|
||||
"record_id": 93
|
||||
},
|
||||
{
|
||||
"instance": 4,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core3_temp",
|
||||
"record_id": 94
|
||||
},
|
||||
{
|
||||
"instance": 5,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core4_temp",
|
||||
"record_id": 95
|
||||
},
|
||||
{
|
||||
"instance": 6,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core5_temp",
|
||||
"record_id": 96
|
||||
},
|
||||
{
|
||||
"instance": 7,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core6_temp",
|
||||
"record_id": 97
|
||||
},
|
||||
{
|
||||
"instance": 8,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core7_temp",
|
||||
"record_id": 98
|
||||
},
|
||||
{
|
||||
"instance": 9,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core8_temp",
|
||||
"record_id": 99
|
||||
},
|
||||
{
|
||||
"instance": 10,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core9_temp",
|
||||
"record_id": 100
|
||||
},
|
||||
{
|
||||
"instance": 11,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core10_temp",
|
||||
"record_id": 101
|
||||
},
|
||||
{
|
||||
"instance": 12,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core11_temp",
|
||||
"record_id": 102
|
||||
},
|
||||
{
|
||||
"instance": 13,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core12_temp",
|
||||
"record_id": 103
|
||||
},
|
||||
{
|
||||
"instance": 14,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core13_temp",
|
||||
"record_id": 104
|
||||
},
|
||||
{
|
||||
"instance": 15,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core14_temp",
|
||||
"record_id": 105
|
||||
},
|
||||
{
|
||||
"instance": 16,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core15_temp",
|
||||
"record_id": 106
|
||||
},
|
||||
{
|
||||
"instance": 17,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core16_temp",
|
||||
"record_id": 107
|
||||
},
|
||||
{
|
||||
"instance": 18,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core17_temp",
|
||||
"record_id": 108
|
||||
},
|
||||
{
|
||||
"instance": 19,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core18_temp",
|
||||
"record_id": 109
|
||||
},
|
||||
{
|
||||
"instance": 20,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core19_temp",
|
||||
"record_id": 110
|
||||
},
|
||||
{
|
||||
"instance": 21,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core20_temp",
|
||||
"record_id": 111
|
||||
},
|
||||
{
|
||||
"instance": 22,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core21_temp",
|
||||
"record_id": 112
|
||||
},
|
||||
{
|
||||
"instance": 23,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core22_temp",
|
||||
"record_id": 113
|
||||
},
|
||||
{
|
||||
"instance": 24,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p0_core23_temp",
|
||||
"record_id": 114
|
||||
},
|
||||
{
|
||||
"instance": 25,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core0_temp",
|
||||
"record_id": 115
|
||||
},
|
||||
{
|
||||
"instance": 26,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core1_temp",
|
||||
"record_id": 116
|
||||
},
|
||||
{
|
||||
"instance": 27,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core2_temp",
|
||||
"record_id": 117
|
||||
},
|
||||
{
|
||||
"instance": 28,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core3_temp",
|
||||
"record_id": 118
|
||||
},
|
||||
{
|
||||
"instance": 29,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core4_temp",
|
||||
"record_id": 119
|
||||
},
|
||||
{
|
||||
"instance": 30,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core5_temp",
|
||||
"record_id": 120
|
||||
},
|
||||
{
|
||||
"instance": 31,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core6_temp",
|
||||
"record_id": 121
|
||||
},
|
||||
{
|
||||
"instance": 32,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core7_temp",
|
||||
"record_id": 122
|
||||
},
|
||||
{
|
||||
"instance": 33,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core8_temp",
|
||||
"record_id": 123
|
||||
},
|
||||
{
|
||||
"instance": 34,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core9_temp",
|
||||
"record_id": 124
|
||||
},
|
||||
{
|
||||
"instance": 35,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core10_temp",
|
||||
"record_id": 125
|
||||
},
|
||||
{
|
||||
"instance": 36,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core11_temp",
|
||||
"record_id": 126
|
||||
},
|
||||
{
|
||||
"instance": 37,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core12_temp",
|
||||
"record_id": 127
|
||||
},
|
||||
{
|
||||
"instance": 38,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core13_temp",
|
||||
"record_id": 128
|
||||
},
|
||||
{
|
||||
"instance": 39,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core14_temp",
|
||||
"record_id": 129
|
||||
},
|
||||
{
|
||||
"instance": 40,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core15_temp",
|
||||
"record_id": 130
|
||||
},
|
||||
{
|
||||
"instance": 41,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core16_temp",
|
||||
"record_id": 131
|
||||
},
|
||||
{
|
||||
"instance": 42,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core17_temp",
|
||||
"record_id": 132
|
||||
},
|
||||
{
|
||||
"instance": 43,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core18_temp",
|
||||
"record_id": 133
|
||||
},
|
||||
{
|
||||
"instance": 44,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core19_temp",
|
||||
"record_id": 134
|
||||
},
|
||||
{
|
||||
"instance": 45,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core20_temp",
|
||||
"record_id": 135
|
||||
},
|
||||
{
|
||||
"instance": 46,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core21_temp",
|
||||
"record_id": 136
|
||||
},
|
||||
{
|
||||
"instance": 47,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core22_temp",
|
||||
"record_id": 137
|
||||
},
|
||||
{
|
||||
"instance": 48,
|
||||
"dbus": "/xyz/openbmc_project/sensors/temperature/p1_core23_temp",
|
||||
"record_id": 138
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
{"id": 0, "revision": 128, "addn_dev_support": 141,
|
||||
"manuf_id": 51850, "prod_id": 514, "aux": 0}
|
||||
@@ -0,0 +1,6 @@
|
||||
DEPENDS:append:fp5280g2= " fp5280g2-yaml-config"
|
||||
|
||||
EXTRA_OECONF:fp5280g2= ""
|
||||
|
||||
IPMI_FRU_YAML:fp5280g2="${STAGING_DIR_HOST}${datadir}/fp5280g2-yaml-config/ipmi-fru-read.yaml"
|
||||
IPMI_FRU_PROP_YAML:fp5280g2="${STAGING_DIR_HOST}${datadir}/fp5280g2-yaml-config/ipmi-extra-properties.yaml"
|
||||
@@ -0,0 +1,7 @@
|
||||
DEPENDS:append:fp5280g2= " fp5280g2-yaml-config"
|
||||
|
||||
EXTRA_OEMESON:fp5280g2= " \
|
||||
-Dsensor-yaml-gen=${STAGING_DIR_HOST}${datadir}/fp5280g2-yaml-config/ipmi-sensors.yaml \
|
||||
-Dinvsensor-yaml-gen=${STAGING_DIR_HOST}${datadir}/fp5280g2-yaml-config/ipmi-inventory-sensors.yaml \
|
||||
-Dfru-yaml-gen=${STAGING_DIR_HOST}${datadir}/fp5280g2-yaml-config/ipmi-fru-read.yaml \
|
||||
"
|
||||
@@ -0,0 +1 @@
|
||||
DEFAULT_RMCPP_IFACE = "eth1"
|
||||
+235
@@ -0,0 +1,235 @@
|
||||
{
|
||||
"leds": [
|
||||
{
|
||||
"group": "bmc_booted",
|
||||
"members": [
|
||||
{
|
||||
"Name": "power",
|
||||
"Action": "Blink",
|
||||
"DutyOn": 50,
|
||||
"Period": 1000,
|
||||
"Priority": "On"
|
||||
},
|
||||
{
|
||||
"Name": "init_ok",
|
||||
"Action": "On",
|
||||
"DutyOn": 50,
|
||||
"Period": 0,
|
||||
"Priority": "On"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "power_on",
|
||||
"members": [
|
||||
{
|
||||
"Name": "power",
|
||||
"Action": "On",
|
||||
"DutyOn": 50,
|
||||
"Period": 0,
|
||||
"Priority": "On"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "enclosure_identify",
|
||||
"members": [
|
||||
{
|
||||
"Name": "identify",
|
||||
"Action": "On",
|
||||
"DutyOn": 50,
|
||||
"Period": 0,
|
||||
"Priority": "On"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "enclosure_identify_blink",
|
||||
"members": [
|
||||
{
|
||||
"Name": "identify",
|
||||
"Action": "Blink",
|
||||
"DutyOn": 50,
|
||||
"Period": 1000,
|
||||
"Priority": "On"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "system_fault_warning",
|
||||
"members": [
|
||||
{
|
||||
"Name": "front_syshealth",
|
||||
"Action": "Blink",
|
||||
"DutyOn": 50,
|
||||
"Period": 1000,
|
||||
"Priority": "On"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "system_fault_critical",
|
||||
"members": [
|
||||
{
|
||||
"Name": "front_syshealth",
|
||||
"Action": "On",
|
||||
"DutyOn": 50,
|
||||
"Period": 0,
|
||||
"Priority": "On"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "dimm_fault_warning",
|
||||
"members": [
|
||||
{
|
||||
"Name": "front_syshealth",
|
||||
"Action": "Blink",
|
||||
"DutyOn": 50,
|
||||
"Period": 1000,
|
||||
"Priority": "On"
|
||||
},
|
||||
{
|
||||
"Name": "front_memory",
|
||||
"Action": "Blink",
|
||||
"DutyOn": 50,
|
||||
"Period": 1000,
|
||||
"Priority": "On"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "dimm_fault_critical",
|
||||
"members": [
|
||||
{
|
||||
"Name": "front_syshealth",
|
||||
"Action": "On",
|
||||
"DutyOn": 50,
|
||||
"Period": 0,
|
||||
"Priority": "On"
|
||||
},
|
||||
{
|
||||
"Name": "front_memory",
|
||||
"Action": "On",
|
||||
"DutyOn": 50,
|
||||
"Period": 0,
|
||||
"Priority": "On"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "system_hot_fault_warning",
|
||||
"members": [
|
||||
{
|
||||
"Name": "front_syshealth",
|
||||
"Action": "Blink",
|
||||
"DutyOn": 50,
|
||||
"Period": 1000,
|
||||
"Priority": "On"
|
||||
},
|
||||
{
|
||||
"Name": "front_syshot",
|
||||
"Action": "Blink",
|
||||
"DutyOn": 50,
|
||||
"Period": 1000,
|
||||
"Priority": "On"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "system_hot_fault_critical",
|
||||
"members": [
|
||||
{
|
||||
"Name": "front_syshealth",
|
||||
"Action": "On",
|
||||
"DutyOn": 50,
|
||||
"Period": 0,
|
||||
"Priority": "On"
|
||||
},
|
||||
{
|
||||
"Name": "front_syshot",
|
||||
"Action": "On",
|
||||
"DutyOn": 50,
|
||||
"Period": 0,
|
||||
"Priority": "On"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "fan_fault_warning",
|
||||
"members": [
|
||||
{
|
||||
"Name": "front_syshealth",
|
||||
"Action": "Blink",
|
||||
"DutyOn": 50,
|
||||
"Period": 1000,
|
||||
"Priority": "On"
|
||||
},
|
||||
{
|
||||
"Name": "front_fan",
|
||||
"Action": "Blink",
|
||||
"DutyOn": 50,
|
||||
"Period": 1000,
|
||||
"Priority": "On"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "fan_fault_critical",
|
||||
"members": [
|
||||
{
|
||||
"Name": "front_syshealth",
|
||||
"Action": "On",
|
||||
"DutyOn": 50,
|
||||
"Period": 0,
|
||||
"Priority": "On"
|
||||
},
|
||||
{
|
||||
"Name": "front_fan",
|
||||
"Action": "On",
|
||||
"DutyOn": 50,
|
||||
"Period": 0,
|
||||
"Priority": "On"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "powersupply_fault_warning",
|
||||
"members": [
|
||||
{
|
||||
"Name": "front_syshealth",
|
||||
"Action": "Blink",
|
||||
"DutyOn": 50,
|
||||
"Period": 1000,
|
||||
"Priority": "On"
|
||||
},
|
||||
{
|
||||
"Name": "front_psu",
|
||||
"Action": "Blink",
|
||||
"DutyOn": 50,
|
||||
"Period": 1000,
|
||||
"Priority": "On"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "powersupply_fault_critical",
|
||||
"members": [
|
||||
{
|
||||
"Name": "front_syshealth",
|
||||
"Action": "On",
|
||||
"DutyOn": 50,
|
||||
"Period": 0,
|
||||
"Priority": "On"
|
||||
},
|
||||
{
|
||||
"Name": "front_psu",
|
||||
"Action": "On",
|
||||
"DutyOn": 50,
|
||||
"Period": 0,
|
||||
"Priority": "On"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
SRC_URI += "file://led-group-config.json"
|
||||
|
||||
PACKAGECONFIG:append = " use-lamp-test"
|
||||
|
||||
do_install:append() {
|
||||
install -m 0644 ${WORKDIR}/led-group-config.json ${D}${datadir}/phosphor-led-manager/
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
DEMUX_BINDING_OPTS=astlpc
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
SRC_URI += "file://mctp"
|
||||
|
||||
PACKAGECONFIG:append:fp5280g2 = " astlpc-raw-kcs"
|
||||
|
||||
do_install:append() {
|
||||
install -m 0644 ${WORKDIR}/mctp ${D}${sysconfdir}/default/mctp
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
MBOXD_FLASH_SIZE:fp5280g2 = "64M"
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"eth0":"eth0",
|
||||
"eth1":"eth1"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
PACKAGECONFIG:append = " sync-mac"
|
||||
|
||||
SRC_URI += "file://config.json"
|
||||
|
||||
FILES:${PN} += "${datadir}/network"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${datadir}/network
|
||||
install -m 0644 ${WORKDIR}/config.json ${D}${datadir}/network/
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
- Instance: 0
|
||||
SensorID: 0x03
|
||||
SensorName: occ0
|
||||
- Instance: 1
|
||||
SensorID: 0x04
|
||||
SensorName: occ1
|
||||
@@ -0,0 +1,18 @@
|
||||
SUMMARY = "Fp5280g2 OCC Control sensor IDs"
|
||||
PR = "r1"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
||||
|
||||
inherit openpower-occ-control
|
||||
inherit native
|
||||
|
||||
SRC_URI += "file://occ_sensor.yaml"
|
||||
|
||||
PROVIDES += "virtual/openpower-occ-control-config-native"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
install -d ${YAML_DEST}/
|
||||
install -D occ_sensor.yaml ${YAML_DEST}/occ_sensor.yaml
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
POWER_SERVICE_PACKAGES_FP5280G2 = " \
|
||||
phosphor-power-monitor \
|
||||
phosphor-power-systemd-links-monitor \
|
||||
phosphor-power-utils \
|
||||
phosphor-power \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-inventory:append:fp5280g2 = " \
|
||||
openpower-fru-vpd \
|
||||
openpower-occ-control \
|
||||
phosphor-cooling-type \
|
||||
phosphor-gpio-monitor-presence \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-extras:append:fp5280g2 = " \
|
||||
${POWER_SERVICE_PACKAGES_FP5280G2} \
|
||||
phosphor-led-manager \
|
||||
pldm \
|
||||
libmctp \
|
||||
phosphor-psu-software-manager \
|
||||
biosconfig-manager \
|
||||
srvcfg-manager \
|
||||
phosphor-sel-logger \
|
||||
tzdata-core \
|
||||
webui-vue \
|
||||
"
|
||||
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
DEVPATH=/sys/bus/i2c/devices/11-0058
|
||||
INSTANCE=0
|
||||
INVENTORY=/system/chassis/motherboard/powersupply0
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
DEVPATH=/sys/bus/i2c/devices/11-0059
|
||||
INSTANCE=1
|
||||
INVENTORY=/system/chassis/motherboard/powersupply1
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"inventoryPMBusAccessType": "Hwmon",
|
||||
"fruConfigs": [
|
||||
{
|
||||
"propertyName": "PartNumber",
|
||||
"fileName": "part_number",
|
||||
"interface": "xyz.openbmc_project.Inventory.Decorator.Asset"
|
||||
},
|
||||
{
|
||||
"propertyName": "SerialNumber",
|
||||
"fileName": "serial_number",
|
||||
"interface": "xyz.openbmc_project.Inventory.Decorator.Asset"
|
||||
},
|
||||
{
|
||||
"propertyName": "Manufacturer",
|
||||
"fileName": "manufacturer",
|
||||
"interface": "xyz.openbmc_project.Inventory.Decorator.Asset"
|
||||
},
|
||||
{
|
||||
"propertyName": "Model",
|
||||
"fileName": "model",
|
||||
"interface": "xyz.openbmc_project.Inventory.Decorator.Asset"
|
||||
},
|
||||
{
|
||||
"propertyName": "Version",
|
||||
"fileName": "fw_version",
|
||||
"interface": "xyz.openbmc_project.Software.Version"
|
||||
}
|
||||
],
|
||||
"psuDevices": {
|
||||
"/xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0" : "/sys/bus/i2c/devices/11-0058",
|
||||
"/xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply1" : "/sys/bus/i2c/devices/11-0059"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
inherit obmc-phosphor-systemd
|
||||
|
||||
SRC_URI += "file://psu.json"
|
||||
|
||||
PACKAGECONFIG:append = " monitor"
|
||||
|
||||
PSU_MONITOR_ENV_FMT = "obmc/power-supply-monitor/power-supply-monitor-{0}.conf"
|
||||
SYSTEMD_ENVIRONMENT_FILE:${PN}-monitor:append:fp5280g2 = " ${@compose_list(d, 'PSU_MONITOR_ENV_FMT', 'OBMC_POWER_SUPPLY_INSTANCES')}"
|
||||
|
||||
do_install:append() {
|
||||
install -D ${WORKDIR}/psu.json ${D}${datadir}/phosphor-power/psu.json
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}/phosphor-power/psu.json"
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
LABEL_in1 = "ps0_input_voltage"
|
||||
LABEL_in2 = "ps0_output_voltage"
|
||||
LABEL_curr1 = "ps0_input_current"
|
||||
LABEL_curr2 = "ps0_output_current"
|
||||
LABEL_power1 = "ps0_input_power"
|
||||
LABEL_power2 = "ps0_output_power"
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
LABEL_in1 = "ps1_input_voltage"
|
||||
LABEL_in2 = "ps1_output_voltage"
|
||||
LABEL_curr1 = "ps1_input_current"
|
||||
LABEL_curr2 = "ps1_output_current"
|
||||
LABEL_power1 = "ps1_input_power"
|
||||
LABEL_power2 = "ps1_output_power"
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
LABEL_temp1 = "psu_inlet"
|
||||
WARNHI_temp1 = "63000"
|
||||
WARNLO_temp1 = "0"
|
||||
CRITHI_temp1 = "65000"
|
||||
CRITLO_temp1 = "0"
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
LABEL_temp1 = "ocp_zone"
|
||||
WARNHI_temp1 = "63000"
|
||||
WARNLO_temp1 = "0"
|
||||
CRITHI_temp1 = "65000"
|
||||
CRITLO_temp1 = "0"
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
LABEL_temp1 = "bmc_zone"
|
||||
WARNHI_temp1 = "120000"
|
||||
WARNLO_temp1 = "0"
|
||||
CRITHI_temp1 = "125000"
|
||||
CRITLO_temp1 = "0"
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
LABEL_temp1 = "inlet"
|
||||
WARNHI_temp1 = "40000"
|
||||
WARNLO_temp1 = "0"
|
||||
CRITHI_temp1 = "42000"
|
||||
CRITLO_temp1 = "0"
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
LABEL_temp1 = "outlet"
|
||||
WARNHI_temp1 = "68000"
|
||||
WARNLO_temp1 = "0"
|
||||
CRITHI_temp1 = "70000"
|
||||
CRITLO_temp1 = "0"
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
LABEL_fan1 = "fan0_0"
|
||||
LABEL_fan2 = "fan0_1"
|
||||
LABEL_fan3 = "fan1_0"
|
||||
LABEL_fan4 = "fan1_1"
|
||||
LABEL_fan5 = "fan2_0"
|
||||
LABEL_fan6 = "fan2_1"
|
||||
LABEL_fan7 = "fan3_0"
|
||||
LABEL_fan8 = "fan3_1"
|
||||
|
||||
PWM_TARGET_fan1 = "1"
|
||||
PWM_TARGET_fan2 = "1"
|
||||
PWM_TARGET_fan3 = "2"
|
||||
PWM_TARGET_fan4 = "2"
|
||||
PWM_TARGET_fan5 = "3"
|
||||
PWM_TARGET_fan6 = "3"
|
||||
PWM_TARGET_fan7 = "4"
|
||||
PWM_TARGET_fan8 = "4"
|
||||
+70
@@ -0,0 +1,70 @@
|
||||
MODE_temp1 = "label"
|
||||
MODE_temp2 = "label"
|
||||
MODE_temp3 = "label"
|
||||
MODE_temp4 = "label"
|
||||
MODE_temp5 = "label"
|
||||
MODE_temp6 = "label"
|
||||
MODE_temp7 = "label"
|
||||
MODE_temp8 = "label"
|
||||
MODE_temp9 = "label"
|
||||
MODE_temp10 = "label"
|
||||
MODE_temp11 = "label"
|
||||
MODE_temp12 = "label"
|
||||
MODE_temp13 = "label"
|
||||
MODE_temp14 = "label"
|
||||
MODE_temp15 = "label"
|
||||
MODE_temp16 = "label"
|
||||
MODE_temp17 = "label"
|
||||
MODE_temp18 = "label"
|
||||
MODE_temp19 = "label"
|
||||
MODE_temp20 = "label"
|
||||
MODE_temp21 = "label"
|
||||
MODE_temp22 = "label"
|
||||
MODE_temp23 = "label"
|
||||
MODE_temp24 = "label"
|
||||
MODE_temp25 = "label"
|
||||
MODE_temp26 = "label"
|
||||
MODE_temp27 = "label"
|
||||
MODE_temp28 = "label"
|
||||
MODE_temp29 = "label"
|
||||
MODE_temp30 = "label"
|
||||
MODE_temp31 = "label"
|
||||
MODE_temp32 = "label"
|
||||
LABEL_temp91 = "p0_core0_temp"
|
||||
LABEL_temp92 = "p0_core1_temp"
|
||||
LABEL_temp93 = "p0_core2_temp"
|
||||
LABEL_temp94 = "p0_core3_temp"
|
||||
LABEL_temp95 = "p0_core4_temp"
|
||||
LABEL_temp96 = "p0_core5_temp"
|
||||
LABEL_temp97 = "p0_core6_temp"
|
||||
LABEL_temp98 = "p0_core7_temp"
|
||||
LABEL_temp99 = "p0_core8_temp"
|
||||
LABEL_temp100 = "p0_core9_temp"
|
||||
LABEL_temp101 = "p0_core10_temp"
|
||||
LABEL_temp102 = "p0_core11_temp"
|
||||
LABEL_temp103 = "p0_core12_temp"
|
||||
LABEL_temp104 = "p0_core13_temp"
|
||||
LABEL_temp105 = "p0_core14_temp"
|
||||
LABEL_temp106 = "p0_core15_temp"
|
||||
LABEL_temp107 = "p0_core16_temp"
|
||||
LABEL_temp108 = "p0_core17_temp"
|
||||
LABEL_temp109 = "p0_core18_temp"
|
||||
LABEL_temp110 = "p0_core19_temp"
|
||||
LABEL_temp111 = "p0_core20_temp"
|
||||
LABEL_temp112 = "p0_core21_temp"
|
||||
LABEL_temp113 = "p0_core22_temp"
|
||||
LABEL_temp114 = "p0_core23_temp"
|
||||
LABEL_temp27 = "dimm0_temp"
|
||||
LABEL_temp28 = "dimm1_temp"
|
||||
LABEL_temp29 = "dimm2_temp"
|
||||
LABEL_temp30 = "dimm3_temp"
|
||||
LABEL_temp31 = "dimm4_temp"
|
||||
LABEL_temp32 = "dimm5_temp"
|
||||
LABEL_temp33 = "dimm6_temp"
|
||||
LABEL_temp34 = "dimm7_temp"
|
||||
LABEL_power1 = "others"
|
||||
LABEL_power2 = "hdd"
|
||||
LABEL_power3 = "gpu_01"
|
||||
LABEL_power4 = "gpu_23"
|
||||
LABEL_power5 = "standby"
|
||||
LABEL_power16 = "total_power"
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
MODE_temp1 = "label"
|
||||
MODE_temp2 = "label"
|
||||
MODE_temp3 = "label"
|
||||
MODE_temp4 = "label"
|
||||
MODE_temp5 = "label"
|
||||
MODE_temp6 = "label"
|
||||
MODE_temp7 = "label"
|
||||
MODE_temp8 = "label"
|
||||
MODE_temp9 = "label"
|
||||
MODE_temp10 = "label"
|
||||
MODE_temp11 = "label"
|
||||
MODE_temp12 = "label"
|
||||
MODE_temp13 = "label"
|
||||
MODE_temp14 = "label"
|
||||
MODE_temp15 = "label"
|
||||
MODE_temp16 = "label"
|
||||
MODE_temp17 = "label"
|
||||
MODE_temp18 = "label"
|
||||
MODE_temp19 = "label"
|
||||
MODE_temp20 = "label"
|
||||
MODE_temp21 = "label"
|
||||
MODE_temp22 = "label"
|
||||
MODE_temp23 = "label"
|
||||
MODE_temp24 = "label"
|
||||
MODE_temp25 = "label"
|
||||
MODE_temp26 = "label"
|
||||
MODE_temp27 = "label"
|
||||
MODE_temp28 = "label"
|
||||
MODE_temp29 = "label"
|
||||
MODE_temp30 = "label"
|
||||
MODE_temp31 = "label"
|
||||
MODE_temp32 = "label"
|
||||
LABEL_temp115 = "p1_core0_temp"
|
||||
LABEL_temp116 = "p1_core1_temp"
|
||||
LABEL_temp117 = "p1_core2_temp"
|
||||
LABEL_temp118 = "p1_core3_temp"
|
||||
LABEL_temp119 = "p1_core4_temp"
|
||||
LABEL_temp120 = "p1_core5_temp"
|
||||
LABEL_temp121 = "p1_core6_temp"
|
||||
LABEL_temp122 = "p1_core7_temp"
|
||||
LABEL_temp123 = "p1_core8_temp"
|
||||
LABEL_temp124 = "p1_core9_temp"
|
||||
LABEL_temp125 = "p1_core10_temp"
|
||||
LABEL_temp126 = "p1_core11_temp"
|
||||
LABEL_temp127 = "p1_core12_temp"
|
||||
LABEL_temp128 = "p1_core13_temp"
|
||||
LABEL_temp129 = "p1_core14_temp"
|
||||
LABEL_temp130 = "p1_core15_temp"
|
||||
LABEL_temp131 = "p1_core16_temp"
|
||||
LABEL_temp132 = "p1_core17_temp"
|
||||
LABEL_temp133 = "p1_core18_temp"
|
||||
LABEL_temp134 = "p1_core19_temp"
|
||||
LABEL_temp135 = "p1_core20_temp"
|
||||
LABEL_temp136 = "p1_core21_temp"
|
||||
LABEL_temp137 = "p1_core22_temp"
|
||||
LABEL_temp138 = "p1_core23_temp"
|
||||
LABEL_temp35 = "dimm8_temp"
|
||||
LABEL_temp36 = "dimm9_temp"
|
||||
LABEL_temp37 = "dimm10_temp"
|
||||
LABEL_temp38 = "dimm11_temp"
|
||||
LABEL_temp39 = "dimm12_temp"
|
||||
LABEL_temp40 = "dimm13_temp"
|
||||
LABEL_temp41 = "dimm14_temp"
|
||||
LABEL_temp42 = "dimm15_temp"
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
LABEL_in1=p3v_bat
|
||||
GAIN_in1=3.00
|
||||
MINVALUE_in1=2300
|
||||
MAXVALUE_in1=5500
|
||||
# The battery read is controlled by S5
|
||||
GPIOCHIP_in1=0
|
||||
GPIO_in1=149
|
||||
# Sleep in microseconds (stored into a uint64_t)
|
||||
INTERVAL=86400000000
|
||||
+109
@@ -0,0 +1,109 @@
|
||||
LABEL_in1=P3V3
|
||||
GAIN_in1=2.47
|
||||
WARNHI_in1=3531
|
||||
WARNLO_in1=3069
|
||||
CRITHI_in1=3630
|
||||
CRITLO_in1=2970
|
||||
MINVALUE_in1=3135
|
||||
MAXVALUE_in1=3465
|
||||
LABEL_in2=P5V
|
||||
GAIN_in2=4.30
|
||||
WARNHI_in2=5350
|
||||
WARNLO_in2=4650
|
||||
CRITHI_in2=5500
|
||||
CRITLO_in2=4500
|
||||
MINVALUE_in2=4750
|
||||
MAXVALUE_in2=5250
|
||||
LABEL_in3=P12V
|
||||
GAIN_in3=9.22
|
||||
WARNHI_in3=12840
|
||||
WARNLO_in3=11160
|
||||
CRITHI_in3=13200
|
||||
CRITLO_in3=10800
|
||||
MINVALUE_in3=11400
|
||||
MAXVALUE_in3=12600
|
||||
LABEL_in4=PVDD_CPU0
|
||||
WARNHI_in4=1177
|
||||
WARNLO_in4=558
|
||||
CRITHI_in4=1210
|
||||
CRITLO_in4=540
|
||||
MINVALUE_in4=600
|
||||
MAXVALUE_in4=1100
|
||||
LABEL_in5=PVDD_CPU1
|
||||
WARNHI_in5=1177
|
||||
WARNLO_in5=558
|
||||
CRITHI_in5=1210
|
||||
CRITLO_in5=540
|
||||
MINVALUE_in5=600
|
||||
MAXVALUE_in5=1100
|
||||
LABEL_in6=PVCS_CPU0
|
||||
WARNHI_in6=1177
|
||||
WARNLO_in6=893
|
||||
CRITHI_in6=1210
|
||||
CRITLO_in6=864
|
||||
MINVALUE_in6=960
|
||||
MAXVALUE_in6=1100
|
||||
LABEL_in7=PVCS_CPU1
|
||||
WARNHI_in7=1177
|
||||
WARNLO_in7=893
|
||||
CRITHI_in7=1210
|
||||
CRITLO_in7=864
|
||||
MINVALUE_in7=960
|
||||
MAXVALUE_in7=1100
|
||||
LABEL_in8=PVDN_CPU0
|
||||
WARNHI_in8=1177
|
||||
WARNLO_in8=605
|
||||
CRITHI_in8=1210
|
||||
CRITLO_in8=585
|
||||
MINVALUE_in8=650
|
||||
MAXVALUE_in8=1100
|
||||
LABEL_in9=PVDN_CPU1
|
||||
WARNHI_in9=1177
|
||||
WARNLO_in9=605
|
||||
CRITHI_in9=1210
|
||||
CRITLO_in9=585
|
||||
MINVALUE_in9=650
|
||||
MAXVALUE_in9=1100
|
||||
LABEL_in10=PVIO_CPU0
|
||||
WARNHI_in10=1124
|
||||
WARNLO_in10=977
|
||||
CRITHI_in10=1155
|
||||
CRITLO_in10=945
|
||||
MINVALUE_in10=998
|
||||
MAXVALUE_in10=1103
|
||||
LABEL_in11=PVIO_CPU1
|
||||
WARNHI_in11=1124
|
||||
WARNLO_in11=977
|
||||
CRITHI_in11=1155
|
||||
CRITLO_in11=945
|
||||
MINVALUE_in11=998
|
||||
MAXVALUE_in11=1103
|
||||
LABEL_in12=PVDDQ_CPU0_CH01
|
||||
WARNHI_in12=1284
|
||||
WARNLO_in12=1116
|
||||
CRITHI_in12=1320
|
||||
CRITLO_in12=1080
|
||||
MINVALUE_in12=1140
|
||||
MAXVALUE_in12=1260
|
||||
LABEL_in13=PVDDQ_CPU0_CH67
|
||||
WARNHI_in13=1284
|
||||
WARNLO_in13=1116
|
||||
CRITHI_in13=1320
|
||||
CRITLO_in13=1080
|
||||
MINVALUE_in13=1140
|
||||
MAXVALUE_in13=1260
|
||||
LABEL_in14=PVDDQ_CPU1_CH01
|
||||
WARNHI_in14=1284
|
||||
WARNLO_in14=1116
|
||||
CRITHI_in14=1320
|
||||
CRITLO_in14=1080
|
||||
MINVALUE_in14=1140
|
||||
MAXVALUE_in14=1260
|
||||
LABEL_in15=PVDDQ_CPU1_CH67
|
||||
WARNHI_in15=1284
|
||||
WARNLO_in15=1116
|
||||
CRITHI_in15=1320
|
||||
CRITLO_in15=1080
|
||||
MINVALUE_in15=1140
|
||||
MAXVALUE_in15=1260
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
EXTRA_OEMESON:append:fp5280g2= " -Dnegative-errno-on-fail=true"
|
||||
|
||||
CHIPS = " \
|
||||
bus@1e78a000/i2c-bus@c0/tmp112@48 \
|
||||
bus@1e78a000/i2c-bus@c0/tmp112@49 \
|
||||
bus@1e78a000/i2c-bus@c0/i2c-switch@70/i2c@0/tmp112@4a \
|
||||
bus@1e78a000/i2c-bus@c0/i2c-switch@70/i2c@1/tmp112@4a \
|
||||
bus@1e78a000/i2c-bus@c0/i2c-switch@70/i2c@2/tmp112@4a \
|
||||
bus@1e78a000/i2c-bus@400/power-supply@58 \
|
||||
bus@1e78a000/i2c-bus@400/power-supply@59 \
|
||||
pwm-tacho-controller@1e786000 \
|
||||
"
|
||||
ITEMSFMT = "ahb/apb/{0}.conf"
|
||||
|
||||
ITEMS = "${@compose_list(d, 'ITEMSFMT', 'CHIPS')}"
|
||||
ITEMS += "iio-hwmon.conf iio-hwmon-battery.conf"
|
||||
|
||||
OCCS = " \
|
||||
00--00--00--06/sbefifo1-dev0/occ-hwmon.1 \
|
||||
00--00--00--0a/fsi1/slave@01--00/01--01--00--06/sbefifo2-dev0/occ-hwmon.2 \
|
||||
"
|
||||
|
||||
OCCSFMT = "devices/platform/gpio-fsi/fsi-master/fsi0/slave@00--00/{0}.conf"
|
||||
OCCITEMS = "${@compose_list(d, 'OCCSFMT', 'OCCS')}"
|
||||
|
||||
ENVS = "obmc/hwmon/{0}"
|
||||
SYSTEMD_ENVIRONMENT_FILE:${PN}:append:fp5280g2 = " ${@compose_list(d, 'ENVS', 'ITEMS')}"
|
||||
SYSTEMD_ENVIRONMENT_FILE:${PN}:append:fp5280g2 = " ${@compose_list(d, 'ENVS', 'OCCITEMS')}"
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
/xyz/openbmc_project/ipmi/sol/eth1:
|
||||
- Interface: xyz.openbmc_project.Ipmi.SOL
|
||||
Properties:
|
||||
AccumulateIntervalMS:
|
||||
Default: 100
|
||||
Enable:
|
||||
Default: 'true'
|
||||
Privilege:
|
||||
Default: 4
|
||||
Progress:
|
||||
Default: 0
|
||||
RetryCount:
|
||||
Default: 7
|
||||
RetryIntervalMS:
|
||||
Default: 100
|
||||
Threshold:
|
||||
Default: 1
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
SRC_URI += " file://sol-default.override.yml"
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"gpio_configs": {
|
||||
|
||||
"power_config": {
|
||||
"power_good_in": "CPLD_BMC_SYS_PWROK",
|
||||
"power_up_outs": [
|
||||
{ "name": "BMC_CPLD_SOFTWARE_PG_N", "polarity": false},
|
||||
{ "name": "BMC_CPLD_SYS_PWRON", "polarity": false}
|
||||
],
|
||||
"reset_outs": [
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"gpio_definitions": [
|
||||
{
|
||||
"name": "BMC_CPLD_SOFTWARE_PG_N",
|
||||
"pin": "J3",
|
||||
"direction": "out"
|
||||
},
|
||||
{
|
||||
"name": "BMC_CPLD_SYS_PWRON",
|
||||
"pin": "AA7",
|
||||
"direction": "out"
|
||||
},
|
||||
{
|
||||
"name": "CPLD_BMC_SYS_PWROK",
|
||||
"pin": "AA1",
|
||||
"direction": "in"
|
||||
},
|
||||
{
|
||||
"name": "POWER_BUTTON",
|
||||
"pin": "AA6",
|
||||
"direction": "both"
|
||||
},
|
||||
{
|
||||
"name": "RESET_BUTTON",
|
||||
"pin": "AB0",
|
||||
"direction": "both"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
FILESEXTRAPATHS:prepend:fp5280g2 := "${THISDIR}/${PN}:"
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "Inspur FP5280G2 Inventory config for openpower-vpd-parser"
|
||||
PR = "r1"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
||||
|
||||
inherit openpower-fru-vpd
|
||||
inherit native
|
||||
|
||||
SRC_URI += "file://inventory"
|
||||
|
||||
PROVIDES += "virtual/openpower-fru-inventory"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
DEST=${D}${inventory_datadir_native}
|
||||
install -d ${DEST}
|
||||
install inventory ${DEST}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
FRUS=BMC,ETHERNET,ETHERNET1
|
||||
PATHS=/system/chassis/motherboard/bmc,/system/chassis/motherboard/bmc/eth0,/system/chassis/motherboard/bmc/eth1
|
||||
EEPROM=/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a080.i2c-bus/i2c-1/1-0050/eeprom
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
SUMMARY = "Inspur FP5280G2 VPD layout for openpower-fru-vpd"
|
||||
PR = "r1"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
||||
|
||||
inherit openpower-fru-vpd
|
||||
inherit native
|
||||
|
||||
SRC_URI += "file://layout.yaml"
|
||||
|
||||
PROVIDES += "virtual/openpower-fru-vpd-layout"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
DEST=${D}${vpdlayout_datadir}
|
||||
|
||||
install -d ${DEST}
|
||||
install layout.yaml ${DEST}
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
BMC:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
OPFR,VP: PartNumber
|
||||
OPFR,VS: SerialNumber
|
||||
OPFR,VN: Manufacturer
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
VINI,DR: PrettyName
|
||||
xyz.openbmc_project.Inventory.Item.Bmc:
|
||||
ETHERNET:
|
||||
xyz.openbmc_project.Inventory.Item.NetworkInterface:
|
||||
OPFR,B1: MACAddress
|
||||
xyz.openbmc_project.Inventory.Item.Ethernet:
|
||||
ETHERNET1:
|
||||
xyz.openbmc_project.Inventory.Item.NetworkInterface:
|
||||
VINI,B1: MACAddress
|
||||
xyz.openbmc_project.Inventory.Item.Ethernet:
|
||||
|
After Width: | Height: | Size: 545 B |
Reference in New Issue
Block a user