Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -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 += "olympus-nuvoton-layer"
BBFILE_PATTERN_olympus-nuvoton-layer := "^${LAYERDIR}/"
LAYERSERIES_COMPAT_olympus-nuvoton-layer = "langdale mickledore"
@@ -0,0 +1,34 @@
KMACHINE = "nuvoton"
KERNEL_DEVICETREE = "${KMACHINE}-npcm750-runbmc-olympus.dtb"
require conf/machine/include/npcm7xx.inc
require conf/machine/include/obmc-bsp-common.inc
FLASH_SIZE = "32768"
FLASH_UBOOT_OFFSET = "0"
FLASH_KERNEL_OFFSET = "2048"
FLASH_ROFS_OFFSET = "8192"
FLASH_RWFS_OFFSET = "29696"
UBOOT_MACHINE = "PolegRunBMC_defconfig"
UBOOT_DEVICETREE = "nuvoton-npcm750-olympus"
IGPS_MACHINE = "RunBMC"
IMAGE_FSTYPES += " cpio.${INITRAMFS_CTYPE}.u-boot"
MACHINE_FEATURES += "\
obmc-phosphor-fan-mgmt \
obmc-phosphor-chassis-mgmt \
obmc-phosphor-flash-mgmt \
obmc-host-ipmi \
obmc-host-state-mgmt \
obmc-chassis-state-mgmt \
obmc-bmc-state-mgmt \
"
PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-olympus-nuvoton-apps"
PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-olympus-nuvoton-apps"
PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-olympus-nuvoton-apps"
PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-olympus-nuvoton-apps"
PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-kcs"
PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "olympus-nuvoton-led-manager-config-native"
@@ -0,0 +1,18 @@
# 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-python \
##OEROOT##/meta-phosphor \
##OEROOT##/meta-nuvoton \
##OEROOT##/meta-google \
##OEROOT##/meta-quanta \
##OEROOT##/meta-quanta/meta-olympus-nuvoton \
"
@@ -0,0 +1,2 @@
Common targets are:
obmc-phosphor-image
@@ -0,0 +1,17 @@
MACHINE ??= "olympus-nuvoton"
DISTRO ?= "openbmc-phosphor"
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,24 @@
# Configuration file for fw_(printenv/setenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
# Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash.
# Futhermore, if the Flash sector size is ommitted, this value is assumed to
# be the same as the Environment size, which is valid for NOR and SPI-dataflash
# NOR example
# MTD device name Device offset Env. size Flash sector size Number of sectors
/dev/mtd2 0x0000 0x40000 0x4000
# MTD SPI-dataflash example
# MTD device name Device offset Env. size Flash sector size Number of sectors
#/dev/mtd5 0x4200 0x4200
#/dev/mtd6 0x4200 0x4200
# NAND example
#/dev/mtd0 0x4000 0x4000 0x20000 2
# Block device example
#/dev/mmcblk0 0xc0000 0x20000
# VFAT example
#/boot/uboot.env 0x0000 0x4000
@@ -0,0 +1,7 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://fw_env.config"
do_install:append () {
install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
}
@@ -0,0 +1,9 @@
CONFIG_FEATURE_TOP_SMP_CPU=y
CONFIG_FEATURE_TOP_SMP_PROCESS=y
CONFIG_FEATURE_TOPMEM=y
CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y
CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y
CONFIG_FEATURE_TOP_INTERACTIVE=y
CONFIG_TASKSET=y
CONFIG_LSUSB=y
CONFIG_DEVMEM=y
@@ -0,0 +1,2 @@
FILESEXTRAPATHS:prepend:olympus-nuvoton := "${THISDIR}/${PN}:"
SRC_URI:append:olympus-nuvoton = " file://busybox.cfg"
@@ -0,0 +1,78 @@
CONFIG_HWMON=y
CONFIG_SENSORS_TMP100=y
CONFIG_SENSORS_LM75=y
CONFIG_SENSORS_FAN=y
CONFIG_SENSORS_ADC128D818=y
CONFIG_SENSORS_ADM1275=y
CONFIG_SENSORS_TMP102=y
CONFIG_SENSORS_TMP421=y
CONFIG_PMBUS=y
CONFIG_SENSORS_PMBUS=y
CONFIG_SENSORS_INA2XX=y
CONFIG_SENSORS_TPS53679=y
CONFIG_IIO=y
CONFIG_IIO_MUX=y
CONFIG_NPCM_ADC=y
CONFIG_SENSORS_IIO_HWMON=y
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
CONFIG_LEDS_GPIO=y
CONFIG_LEDS_TRIGGERS=y
CONFIG_LEDS_TRIGGER_TIMER=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
CONFIG_OVERLAY_FS=y
CONFIG_SQUASHFS=y
CONFIG_SQUASHFS_XZ=y
CONFIG_JFFS2_FS=y
CONFIG_SPI=y
CONFIG_SPI_NPCM_FIU=y
CONFIG_MTD_M25P80=y
CONFIG_SPI_NPCM_PSPI=y
CONFIG_NET_NCSI=y
CONFIG_EEPROM_AT24=y
CONFIG_I2C_MUX=y
CONFIG_I2C_MUX_PCA954x=y
CONFIG_I2C_SLAVE_EEPROM=y
CONFIG_GPIO_PCA953X=y
CONFIG_GPIO_PCA953X_IRQ=y
CONFIG_GPIO_PCF857X=y
CONFIG_MUX_MMIO=y
CONFIG_USB_U_ETHER=y
CONFIG_USB_F_ECM=y
CONFIG_USB_F_EEM=y
CONFIG_USB_F_SUBSET=y
CONFIG_USB_F_RNDIS=y
CONFIG_USB_F_MASS_STORAGE=y
CONFIG_USB_CONFIGFS=y
CONFIG_USB_CONFIGFS_ECM=y
CONFIG_USB_CONFIGFS_ECM_SUBSET=y
CONFIG_USB_CONFIGFS_RNDIS=y
CONFIG_USB_CONFIGFS_EEM=y
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
CONFIG_USB_CONFIGFS_F_HID=y
CONFIG_MEDIA_SUPPORT=y
CONFIG_VIDEO_NUVOTON=y
CONFIG_NPCM750_VCD=y
CONFIG_NPCM750_ECE=y
CONFIG_FORCE_MAX_ZONEORDER=12
CONFIG_USB_GADGET_NPCM_USB2=y
CONFIG_PECI=y
CONFIG_PECI_NPCM=y
CONFIG_MFD_INTEL_PECI_CLIENT=y
CONFIG_SENSORS_PECI_CPUTEMP=y
CONFIG_SENSORS_PECI_DIMMTEMP=y
CONFIG_RESET_NPCM=y
CONFIG_I2C_SLAVE_MQUEUE=y
CONFIG_NUVOTON_JTAG=y
@@ -0,0 +1,3 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/linux-nuvoton:"
SRC_URI += "file://olympus-nuvoton.cfg"
@@ -0,0 +1,21 @@
SUMMARY = "Power Cycle by Hotswap Controller"
DESCRIPTION = "Power Cycle by Hotswap Controller Daemon"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit systemd
DEPENDS += "systemd"
RDEPENDS:${PN} += "bash"
SRC_URI = " file://hotswap-power-cycle.service"
do_install() {
install -d ${D}${systemd_system_unitdir}
install -m 0644 ${WORKDIR}/hotswap-power-cycle.service ${D}${systemd_system_unitdir}
}
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE:${PN} = "hotswap-power-cycle.service"
@@ -0,0 +1,10 @@
[Unit]
Description=Power Cycle by Hotswap Controller
After=gbmc-psu-hardreset.target
[Service]
Type=oneshot
ExecStart= i2cset -f -y 8 0x11 0xd9
[Install]
WantedBy=gbmc-psu-hardreset.target
@@ -0,0 +1,4 @@
fruBusNum=13
fruAddr=0x51
numberMac=1
mac1=eth1
@@ -0,0 +1,11 @@
FILESEXTRAPATHS:prepend:olympus-nuvoton := "${THISDIR}/files:"
SRC_URI:append:olympus-nuvoton = " file://config.txt"
FILES:${PN}:append:olympus-nuvoton = " ${datadir}/mac-address/config.txt"
do_install:append:olympus-nuvoton() {
install -d ${D}${datadir}/mac-address
install -m 0644 -D ${WORKDIR}/config.txt \
${D}${datadir}/mac-address/config.txt
}
@@ -0,0 +1,17 @@
SUMMARY = "Iptable Save"
DESCRIPTION = "Save iptable rules"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit allarch systemd
SRC_URI = "file://phosphor-save-iptable-rules.service"
SYSTEMD_SERVICE:${PN} = "phosphor-save-iptable-rules.service"
S = "${WORKDIR}"
do_install() {
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/phosphor-save-iptable-rules.service \
${D}${systemd_unitdir}/system
}
@@ -0,0 +1,12 @@
[Unit]
Description=Save iptable rules
DefaultDependencies=no
After=shutdown.target
[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/bin/sh -c "iptables-save > /etc/iptables/iptables.rules"
[Install]
WantedBy=shutdown.target
@@ -0,0 +1,48 @@
SUMMARY = "OpenBMC for OLYMPUS NUVOTON system - Applications"
PR = "r1"
inherit packagegroup
PROVIDES = "${PACKAGES}"
PACKAGES = " \
${PN}-chassis \
${PN}-fans \
${PN}-flash \
${PN}-system \
"
PROVIDES += "virtual/obmc-chassis-mgmt"
PROVIDES += "virtual/obmc-fan-mgmt"
PROVIDES += "virtual/obmc-flash-mgmt"
PROVIDES += "virtual/obmc-system-mgmt"
RPROVIDES:${PN}-chassis += "virtual-obmc-chassis-mgmt"
RPROVIDES:${PN}-fans += "virtual-obmc-fan-mgmt"
RPROVIDES:${PN}-flash += "virtual-obmc-flash-mgmt"
RPROVIDES:${PN}-system += "virtual-obmc-system-mgmt"
SUMMARY:${PN}-fans = "OLYMPUS NUVOTON Fans"
RDEPENDS:${PN}-fans = " \
phosphor-pid-control \
"
SUMMARY:${PN}-system = "OLYMPUS NUVOTON System"
RDEPENDS:${PN}-system = " \
webui-vue \
obmc-ikvm \
obmc-console \
dhcpcd \
phosphor-ipmi-fru \
phosphor-ipmi-ipmb \
ipmitool \
first-boot-set-psu \
phosphor-image-signing \
openssl-bin \
loadsvf \
iptables \
olympus-nuvoton-iptable-save \
phosphor-post-code-manager \
adm1278-hotswap-power-cycle \
google-ipmi-sys \
mac-address \
"
@@ -0,0 +1,22 @@
SUMMARY = "Init PSU inventory"
DESCRIPTION = "Setup PSU inventory read from PSU"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit allarch systemd
RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils}"
RDEPENDS:${PN} += "bash"
SYSTEMD_SERVICE:${PN} = "first-boot-set-psu@.service"
SYSTEMD_SERVICE:${PN} += "first-boot-set-psu@0-2-0x58.service"
SRC_URI = "file://${BPN}.sh file://${BPN}@.service"
S = "${WORKDIR}"
do_install() {
install -d ${D}${bindir} ${D}${systemd_system_unitdir}
install ${BPN}.sh ${D}${bindir}/
install -m 644 ${BPN}@.service ${D}${systemd_system_unitdir}/
}
@@ -0,0 +1,59 @@
#!/bin/bash
string=''
pmbus_read() {
data=$(i2cget -f -y "$1" "$2" "$3" i "$4")
if [[ -z "$data" ]]; then
echo "i2c$1 device $2 command $3 error" >&2
exit 1
fi
arry=$(echo "${data}" | sed -e "s/$4\: //" | sed -e "s/\0x00//g" | sed -e "s/\0xff//g" | sed -e "s/\0x7f//g" | sed -e "s/\0x0f//g" | sed -e "s/\0x14//g")
string=''
for d in ${arry}
do
hex=${d/0x}
string+=$(echo -e "\x${hex}");
done
}
update_inventory() {
INVENTORY_SERVICE='xyz.openbmc_project.Inventory.Manager'
INVENTORY_OBJECT='/xyz/openbmc_project/inventory'
INVENTORY_PATH='xyz.openbmc_project.Inventory.Manager'
OBJECT_PATH="/system/chassis/motherboard/powersupply$1"
busctl call \
${INVENTORY_SERVICE} \
${INVENTORY_OBJECT} \
${INVENTORY_PATH} \
Notify "a{oa{sa{sv}}}" 1 \
"${OBJECT_PATH}" 1 "$2" "$3" \
"$4" "$5" "$6"
}
if [ $# -eq 0 ]; then
echo 'No PSU device is given' >&2
exit 1
fi
IFS=" " read -ra arr <<< "${1//- /}"
pmbus_read "${arr[1]}" "${arr[2]}" 0x99 11
update_inventory "${arr[0]}" "xyz.openbmc_project.Inventory.Decorator.Asset" 1 "Manufacturer" "s" "$string"
pmbus_read "${arr[1]}" "${arr[2]}" 0x9a 11
update_inventory "${arr[0]}" "xyz.openbmc_project.Inventory.Decorator.Asset" 1 "Model" "s" "$string"
pmbus_read "${arr[1]}" "${arr[2]}" 0xad 21
update_inventory "${arr[0]}" "xyz.openbmc_project.Inventory.Decorator.Asset" 1 "PartNumber" "s" "$string"
pmbus_read "${arr[1]}" "${arr[2]}" 0x9e 18
update_inventory "${arr[0]}" "xyz.openbmc_project.Inventory.Decorator.Asset" 1 "SerialNumber" "s" "$string"
update_inventory "${arr[0]}" "xyz.openbmc_project.Inventory.Decorator.Cacheable" 1 "Cached" "b" "true"
update_inventory "${arr[0]}" "xyz.openbmc_project.Inventory.Decorator.Replaceable" 1 "FieldReplaceable" "b" "true"
update_inventory "${arr[0]}" "xyz.openbmc_project.Inventory.Item" 1 "Present" "b" "true"
update_inventory "${arr[0]}" "xyz.openbmc_project.Inventory.Item" 1 "PrettyName" "s" "powersupply${arr[0]}"
update_inventory "${arr[0]}" "xyz.openbmc_project.Inventory.Item.PowerSupply" 0
@@ -0,0 +1,14 @@
[Unit]
Description=Init PSU Inventory for PSU %I
Wants=mapper-wait@-xyz-openbmc_project-inventory.service
After=mapper-wait@-xyz-openbmc_project-inventory.service
[Service]
ExecStart=/usr/bin/first-boot-set-psu.sh %i
RemainAfterExit=yes
SyslogIdentifier=first-boot-set-psu
Restart=on-failure
RestartSec=20
[Install]
WantedBy=multi-user.target
@@ -0,0 +1,31 @@
SUMMARY = "YAML configuration for Olympus Nuvoton"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit allarch
SRC_URI:olympus-nuvoton = " \
file://olympus-nuvoton-ipmi-fru.yaml \
file://olympus-nuvoton-ipmi-fru-properties.yaml \
file://olympus-nuvoton-ipmi-sensors.yaml \
"
S = "${WORKDIR}"
do_install:olympus-nuvoton() {
install -m 0644 -D olympus-nuvoton-ipmi-fru-properties.yaml \
${D}${datadir}/${BPN}/ipmi-extra-properties.yaml
install -m 0644 -D olympus-nuvoton-ipmi-fru.yaml \
${D}${datadir}/${BPN}/ipmi-fru-read.yaml
install -m 0644 -D olympus-nuvoton-ipmi-sensors.yaml \
${D}${datadir}/${BPN}/ipmi-sensors.yaml
}
FILES:${PN}-dev = " \
${datadir}/${BPN}/ipmi-extra-properties.yaml \
${datadir}/${BPN}/ipmi-fru-read.yaml \
${datadir}/${BPN}/ipmi-sensors.yaml \
"
ALLOW_EMPTY:${PN} = "1"
@@ -0,0 +1,284 @@
/system:
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
/system/chassis:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
/system/chassis/motherboard:
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
/system/chassis/motherboard/management_card/bmc:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
/system/chassis/motherboard/cpu0:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/cpu1:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_a0:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_a1:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_a2:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_a3:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_a4:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_a5:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_b0:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_b1:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_b2:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_b3:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_b4:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_b5:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_c0:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_c1:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_c2:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_c3:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_c4:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_c5:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_d0:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_d1:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_d2:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_d3:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_d4:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/dimm_d5:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional: 'true'
/system/chassis/motherboard/powersupply0:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
/system/chassis/motherboard/powersupply1:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
/system/chassis/motherboard/fan:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
@@ -0,0 +1,672 @@
1:
/system:
entityID: 7
entityInstance: 1
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
Model:
IPMIFruProperty: Custom Field 1
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Decorator.Revision:
Version:
IPMIFruProperty: Version
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.System:
/system/chassis/motherboard:
entityID: 7
entityInstance: 1
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Board
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Board
PartNumber:
IPMIFruProperty: Part Number
IPMIFruSection: Board
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Decorator.Revision:
Version:
IPMIFruProperty: FRU File ID
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Decorator.VendorInformation:
CustomField1:
IPMIFruProperty: Custom Field 1
IPMIFruSection: Board
IPMIFruValueDelimiter: 58
xyz.openbmc_project.Inventory.Item.Board:
2:
/system/chassis/motherboard/management_card/bmc:
entityID: 7
entityInstance: 1
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Board
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Board
PartNumber:
IPMIFruProperty: Part Number
IPMIFruSection: Board
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Decorator.Revision:
Version:
IPMIFruProperty: FRU File ID
IPMIFruSection: Board
xyz.openbmc_project.Common.UUID:
UUID:
IPMIFruProperty: Custom Field 1
IPMIFruSection: Board
IPMIFruValueDelimiter: 58
xyz.openbmc_project.Inventory.Item.Board:
xyz.openbmc_project.Inventory.Item.Bmc:
xyz.openbmc_project.Inventory.Item.NetworkInterface:
MACAddress:
IPMIFruProperty: Custom Field 2
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Item.Ethernet:
3:
/system/chassis/motherboard/cpu0:
entityID: 3
entityInstance: 1
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Board
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Board
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Item.Cpu:
4:
/system/chassis/motherboard/cpu1:
entityID: 3
entityInstance: 2
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Board
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Board
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Item.Cpu:
5:
/system/chassis/motherboard/dimm_a0:
entityID: 8
entityInstance: 1
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
6:
/system/chassis/motherboard/dimm_a1:
entityID: 8
entityInstance: 2
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
7:
/system/chassis/motherboard/dimm_a2:
entityID: 8
entityInstance: 3
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
8:
/system/chassis/motherboard/dimm_a3:
entityID: 8
entityInstance: 4
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
9:
/system/chassis/motherboard/dimm_a4:
entityID: 8
entityInstance: 5
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
10:
/system/chassis/motherboard/dimm_a5:
entityID: 8
entityInstance: 6
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
11:
/system/chassis/motherboard/dimm_b0:
entityID: 8
entityInstance: 7
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
12:
/system/chassis/motherboard/dimm_b1:
entityID: 8
entityInstance: 8
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
13:
/system/chassis/motherboard/dimm_b2:
entityID: 8
entityInstance: 9
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
14:
/system/chassis/motherboard/dimm_b3:
entityID: 8
entityInstance: 10
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
15:
/system/chassis/motherboard/dimm_b4:
entityID: 8
entityInstance: 11
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
16:
/system/chassis/motherboard/dimm_b5:
entityID: 8
entityInstance: 12
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
17:
/system/chassis/motherboard/dimm_c0:
entityID: 8
entityInstance: 13
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
18:
/system/chassis/motherboard/dimm_c1:
entityID: 8
entityInstance: 14
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
19:
/system/chassis/motherboard/dimm_c2:
entityID: 8
entityInstance: 15
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
20:
/system/chassis/motherboard/dimm_c3:
entityID: 8
entityInstance: 16
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
21:
/system/chassis/motherboard/dimm_c4:
entityID: 8
entityInstance: 17
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
22:
/system/chassis/motherboard/dimm_c5:
entityID: 8
entityInstance: 18
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
23:
/system/chassis/motherboard/dimm_d0:
entityID: 8
entityInstance: 19
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
24:
/system/chassis/motherboard/dimm_d1:
entityID: 8
entityInstance: 20
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
25:
/system/chassis/motherboard/dimm_d2:
entityID: 8
entityInstance: 21
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
26:
/system/chassis/motherboard/dimm_d3:
entityID: 8
entityInstance: 22
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
27:
/system/chassis/motherboard/dimm_d4:
entityID: 8
entityInstance: 23
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
28:
/system/chassis/motherboard/dimm_d5:
entityID: 8
entityInstance: 24
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Product
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Product
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
29:
/system/chassis/motherboard/powersupply0:
entityID: 10
entityInstance: 1
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Board
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Board
Model:
IPMIFruProperty: Model Number
IPMIFruSection: Board
PartNumber:
IPMIFruProperty: Part Number
IPMIFruSection: Board
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Item.PowerSupply:
30:
/system/chassis/motherboard/powersupply1:
entityID: 10
entityInstance: 1
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Board
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Board
Model:
IPMIFruProperty: Model Number
IPMIFruSection: Board
PartNumber:
IPMIFruProperty: Part Number
IPMIFruSection: Board
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Item.PowerSupply:
31:
/system/chassis/motherboard/fan:
entityID: 29
entityInstance: 1
interfaces:
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Product Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Fan:
@@ -0,0 +1,614 @@
1: &temperature
entityID: 0x07
entityInstance: 1
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/bmc_card
sensorReadingType: 0x01
multiplierM: 1
offsetB: 0
bExp: 0
rExp: 0
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
2:
<<: *temperature
entityInstance: 2
path: /xyz/openbmc_project/sensors/temperature/inlet
3:
<<: *temperature
entityInstance: 3
path: /xyz/openbmc_project/sensors/temperature/outlet
4:
<<: *temperature
entityInstance: 4
path: /xyz/openbmc_project/sensors/temperature/MB0_Temp
5:
<<: *temperature
entityInstance: 5
path: /xyz/openbmc_project/sensors/temperature/p0_vccin_vr_temp
6:
<<: *temperature
entityInstance: 6
path: /xyz/openbmc_project/sensors/temperature/p0_vccio_vr_temp
7:
<<: *temperature
entityInstance: 7
path: /xyz/openbmc_project/sensors/temperature/p1_vccin_vr_temp
8:
<<: *temperature
entityInstance: 8
path: /xyz/openbmc_project/sensors/temperature/p1_vccio_vr_temp
9: &voltage
entityID: 0x07
entityInstance: 9
sensorType: 0x02
path: /xyz/openbmc_project/sensors/voltage/MB0_Vin
sensorReadingType: 0x01
multiplierM: 8
offsetB: 0
bExp: 0
rExp: -2
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
10:
<<: *voltage
entityInstance: 10
path: /xyz/openbmc_project/sensors/voltage/MB0_Vout
11:
<<: *voltage
entityInstance: 11
path: /xyz/openbmc_project/sensors/voltage/p0_vccin_vr_voltage
12:
<<: *voltage
entityInstance: 12
path: /xyz/openbmc_project/sensors/voltage/p0_vccio_vr_voltage
13:
<<: *voltage
entityInstance: 13
path: /xyz/openbmc_project/sensors/voltage/p1_vccin_vr_voltage
14:
<<: *voltage
entityInstance: 14
path: /xyz/openbmc_project/sensors/voltage/p1_vccio_vr_voltage
15:
<<: *voltage
entityInstance: 15
path: /xyz/openbmc_project/sensors/voltage/P12V_STBY
16:
<<: *voltage
entityInstance: 16
path: /xyz/openbmc_project/sensors/voltage/P1V05_STBY_PCH
17:
<<: *voltage
entityInstance: 17
path: /xyz/openbmc_project/sensors/voltage/P3V3
18:
<<: *voltage
entityInstance: 18
path: /xyz/openbmc_project/sensors/voltage/P3V3_STBY
19:
<<: *voltage
entityInstance: 19
path: /xyz/openbmc_project/sensors/voltage/P3V_BAT
20:
<<: *voltage
entityInstance: 20
path: /xyz/openbmc_project/sensors/voltage/P5V
21:
<<: *voltage
entityInstance: 21
path: /xyz/openbmc_project/sensors/voltage/P5V_STBY
22:
<<: *voltage
entityInstance: 22
path: /xyz/openbmc_project/sensors/voltage/PVNN_STBY_PCH
23: &power
entityID: 0x07
entityInstance: 23
sensorType: 0x08
path: /xyz/openbmc_project/sensors/power/MB0_Pin
sensorReadingType: 0x01
multiplierM: 48
offsetB: 0
bExp: 0
rExp: -3
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
24:
<<: *power
entityInstance: 24
path: /xyz/openbmc_project/sensors/power/p0_vccin_vr_pin
25:
<<: *power
entityInstance: 25
path: /xyz/openbmc_project/sensors/power/p0_vccin_vr_pout
26:
<<: *power
entityInstance: 26
path: /xyz/openbmc_project/sensors/power/p0_vccio_vr_pin
27:
<<: *power
entityInstance: 27
path: /xyz/openbmc_project/sensors/power/p0_vccio_vr_pout
28:
<<: *power
entityInstance: 28
path: /xyz/openbmc_project/sensors/power/p1_vccin_vr_pin
29:
<<: *power
entityInstance: 29
path: /xyz/openbmc_project/sensors/power/p1_vccin_vr_pout
30:
<<: *power
entityInstance: 30
path: /xyz/openbmc_project/sensors/power/p1_vccio_vr_pin
31:
<<: *power
entityInstance: 31
path: /xyz/openbmc_project/sensors/power/p1_vccio_vr_pout
32: &current
entityID: 0x07
entityInstance: 32
sensorType: 0x03
path: /xyz/openbmc_project/sensors/current/MB0_Iout
sensorReadingType: 0x01
multiplierM: 40
offsetB: 10
bExp: 0
rExp: -3
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
33:
<<: *current
entityInstance: 33
path: /xyz/openbmc_project/sensors/current/p0_vccin_vr_current
34:
<<: *current
entityInstance: 34
path: /xyz/openbmc_project/sensors/current/p0_vccio_vr_current
35:
<<: *current
entityInstance: 35
path: /xyz/openbmc_project/sensors/current/p1_vccin_vr_current
36:
<<: *current
entityInstance: 36
path: /xyz/openbmc_project/sensors/current/p1_vccio_vr_current
37: &temperature_dimm
entityID: 0x20
entityInstance: 1
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/p0_dimm_vr0_temp
sensorReadingType: 0x01
multiplierM: 1
offsetB: 0
bExp: 0
rExp: 0
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
38:
<<: *temperature_dimm
entityInstance: 2
path: /xyz/openbmc_project/sensors/temperature/p0_dimm_vr1_temp
39:
<<: *temperature_dimm
entityInstance: 3
path: /xyz/openbmc_project/sensors/temperature/p1_dimm_vr0_temp
40:
<<: *temperature_dimm
entityInstance: 4
path: /xyz/openbmc_project/sensors/temperature/p1_dimm_vr1_temp
41: &voltage_dimm
entityID: 0x20
entityInstance: 5
sensorType: 0x02
path: /xyz/openbmc_project/sensors/voltage/p0_dimm_vr0_voltage
sensorReadingType: 0x01
multiplierM: 8
offsetB: 0
bExp: 0
rExp: -2
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
42:
<<: *voltage_dimm
entityInstance: 6
path: /xyz/openbmc_project/sensors/voltage/p0_dimm_vr1_voltage
43:
<<: *voltage_dimm
entityInstance: 7
path: /xyz/openbmc_project/sensors/voltage/p1_dimm_vr0_voltage
44:
<<: *voltage_dimm
entityInstance: 8
path: /xyz/openbmc_project/sensors/voltage/p1_dimm_vr1_voltage
45: &power_dimm
entityID: 0x20
entityInstance: 9
sensorType: 0x08
path: /xyz/openbmc_project/sensors/power/p0_dimm_vr0_pin
sensorReadingType: 0x01
multiplierM: 48
offsetB: 0
bExp: 0
rExp: -3
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
46:
<<: *power_dimm
entityInstance: 10
path: /xyz/openbmc_project/sensors/power/p0_dimm_vr0_pout
47:
<<: *power_dimm
entityInstance: 11
path: /xyz/openbmc_project/sensors/power/p0_dimm_vr1_pin
48:
<<: *power_dimm
entityInstance: 12
path: /xyz/openbmc_project/sensors/power/p0_dimm_vr1_pout
49:
<<: *power_dimm
entityInstance: 13
path: /xyz/openbmc_project/sensors/power/p1_dimm_vr0_pin
50:
<<: *power_dimm
entityInstance: 14
path: /xyz/openbmc_project/sensors/power/p1_dimm_vr0_pout
51:
<<: *power_dimm
entityInstance: 15
path: /xyz/openbmc_project/sensors/power/p1_dimm_vr1_pin
52:
<<: *power_dimm
entityInstance: 16
path: /xyz/openbmc_project/sensors/power/p1_dimm_vr1_pout
53: &current_dimm
entityID: 0x20
entityInstance: 17
sensorType: 0x03
path: /xyz/openbmc_project/sensors/current/p0_dimm_vr0_current
sensorReadingType: 0x01
multiplierM: 40
offsetB: 10
bExp: 0
rExp: -3
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
54:
<<: *current_dimm
entityInstance: 18
path: /xyz/openbmc_project/sensors/current/p0_dimm_vr0_lin
55:
<<: *current_dimm
entityInstance: 19
path: /xyz/openbmc_project/sensors/current/p0_dimm_vr1_current
56:
<<: *current_dimm
entityInstance: 20
path: /xyz/openbmc_project/sensors/current/p0_dimm_vr1_lin
57:
<<: *current_dimm
entityInstance: 21
path: /xyz/openbmc_project/sensors/current/p1_dimm_vr0_current
58:
<<: *current_dimm
entityInstance: 22
path: /xyz/openbmc_project/sensors/current/p1_dimm_vr0_lin
59:
<<: *current_dimm
entityInstance: 23
path: /xyz/openbmc_project/sensors/current/p1_dimm_vr1_current
60:
<<: *current_dimm
entityInstance: 24
path: /xyz/openbmc_project/sensors/current/p1_dimm_vr1_lin
61:
entityID: 0x13
entityInstance: 1
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/ps0_tempture
sensorReadingType: 0x01
multiplierM: 1
offsetB: 0
bExp: 0
rExp: 0
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
62:
<<: *voltage
entityID: 0x0A
entityInstance: 2
path: /xyz/openbmc_project/sensors/voltage/ps0_input_voltage
multiplierM: 2
offsetB: 0
bExp: 0
rExp: 0
63:
<<: *voltage
entityID: 0x0A
entityInstance: 3
path: /xyz/openbmc_project/sensors/voltage/ps0_output_voltage
multiplierM: 8
offsetB: 0
bExp: 0
rExp: -2
64:
<<: *current
entityID: 0x0A
entityInstance: 4
path: /xyz/openbmc_project/sensors/current/ps0_input_current
65:
<<: *current
entityID: 0x0A
entityInstance: 5
path: /xyz/openbmc_project/sensors/current/ps0_output_current
66:
<<: *power
entityID: 0x0A
entityInstance: 6
path: /xyz/openbmc_project/sensors/power/ps0_input_power
multiplierM: 6
offsetB: 0
bExp: 0
rExp: 0
67:
<<: *power
entityID: 0x0A
entityInstance: 7
path: /xyz/openbmc_project/sensors/power/ps0_output_power
multiplierM: 6
offsetB: 0
bExp: 0
rExp: 0
68: &fan_tach
entityID: 0x0A
entityInstance: 8
sensorType: 0x04
path: /xyz/openbmc_project/sensors/fan_tach/ps0_fan1
sensorReadingType: 0x01
multiplierM: 100
offsetB: 0
bExp: 0
rExp: 0
unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
69:
<<: *fan_tach
entityID: 0x0A
entityInstance: 9
sensorType: 0x04
path: /xyz/openbmc_project/sensors/fan_tach/ps0_fan2
70:
<<: *fan_tach
entityID: 0x1D
entityInstance: 1
path: /xyz/openbmc_project/sensors/fan_tach/fan1
71:
<<: *fan_tach
entityID: 0x1D
entityInstance: 2
path: /xyz/openbmc_project/sensors/fan_tach/fan2
72:
<<: *fan_tach
entityID: 0x1D
entityInstance: 3
path: /xyz/openbmc_project/sensors/fan_tach/fan3
73:
<<: *fan_tach
entityID: 0x1D
entityInstance: 4
path: /xyz/openbmc_project/sensors/fan_tach/fan4
74:
<<: *fan_tach
entityID: 0x1D
entityInstance: 5
path: /xyz/openbmc_project/sensors/fan_tach/fan5
75:
<<: *fan_tach
entityID: 0x1D
entityInstance: 6
path: /xyz/openbmc_project/sensors/fan_tach/fan6
76:
<<: *temperature
entityID: 0x03
entityInstance: 1
path: /xyz/openbmc_project/sensors/temperature/Core_0_CPU0
77:
<<: *temperature
entityID: 0x03
entityInstance: 2
path: /xyz/openbmc_project/sensors/temperature/Core_1_CPU0
78:
<<: *temperature
entityID: 0x03
entityInstance: 3
path: /xyz/openbmc_project/sensors/temperature/Core_2_CPU0
79:
<<: *temperature
entityID: 0x03
entityInstance: 4
path: /xyz/openbmc_project/sensors/temperature/Core_3_CPU0
80:
<<: *temperature
entityID: 0x03
entityInstance: 5
path: /xyz/openbmc_project/sensors/temperature/Core_4_CPU0
81:
<<: *temperature
entityID: 0x03
entityInstance: 6
path: /xyz/openbmc_project/sensors/temperature/Core_5_CPU0
82:
<<: *temperature
entityID: 0x03
entityInstance: 7
path: /xyz/openbmc_project/sensors/temperature/Core_0_CPU1
83:
<<: *temperature
entityID: 0x03
entityInstance: 8
path: /xyz/openbmc_project/sensors/temperature/Core_1_CPU1
84:
<<: *temperature
entityID: 0x03
entityInstance: 9
path: /xyz/openbmc_project/sensors/temperature/Core_2_CPU1
85:
<<: *temperature
entityID: 0x03
entityInstance: 10
path: /xyz/openbmc_project/sensors/temperature/Core_3_CPU1
86:
<<: *temperature
entityID: 0x03
entityInstance: 11
path: /xyz/openbmc_project/sensors/temperature/Core_4_CPU1
87:
<<: *temperature
entityID: 0x03
entityInstance: 12
path: /xyz/openbmc_project/sensors/temperature/Core_5_CPU1
88:
<<: *temperature
entityID: 0x03
entityInstance: 13
path: /xyz/openbmc_project/sensors/temperature/DIMM_C1_CPU0
@@ -0,0 +1 @@
SUBSYSTEM=="tty", ATTRS{iomem_base}=="0xF0003000", ENV{SYSTEMD_WANTS}="obmc-console@ttyS2" SYMLINK+="ttyS2", TAG+="systemd"
@@ -0,0 +1,14 @@
FILESEXTRAPATHS:prepend:olympus-nuvoton := "${THISDIR}/${PN}:"
SRC_URI:append:olympus-nuvoton = " file://80-olympus-nuvoton-sol.rules"
do_install:append:olympus-nuvoton() {
install -m 0755 -d ${D}${sysconfdir}/${BPN}
rm -f ${D}${sysconfdir}/${BPN}/server.ttyVUART0.conf
install -m 0644 ${WORKDIR}/${BPN}.conf ${D}${sysconfdir}/
ln -sr ${D}${sysconfdir}/${BPN}.conf ${D}${sysconfdir}/${BPN}/server.ttyS2.conf
install -d ${D}/${nonarch_base_libdir}/udev/rules.d
rm -f ${D}/${nonarch_base_libdir}/udev/rules.d/80-obmc-console-uart.rules
install -m 0644 ${WORKDIR}/80-olympus-nuvoton-sol.rules ${D}/${nonarch_base_libdir}/udev/rules.d
}
@@ -0,0 +1,400 @@
{
"sensors" : [
{
"name": "fan1",
"type": "fan",
"readPath": "/xyz/openbmc_project/sensors/fan_tach/fan1",
"writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm1",
"min": 0,
"max": 255
},
{
"name": "Core_0_CPU0",
"type": "temp",
"readPath": "/xyz/openbmc_project/sensors/temperature/Core_0_CPU0",
"writePath": "",
"min": 0,
"max": 0,
"timeout": 0
},
{
"name": "Core_0_CPU1",
"type": "temp",
"readPath": "/xyz/openbmc_project/sensors/temperature/Core_0_CPU1",
"writePath": "",
"min": 0,
"max": 0,
"timeout": 0
},
{
"name": "Core_1_CPU0",
"type": "temp",
"readPath": "/xyz/openbmc_project/sensors/temperature/Core_1_CPU0",
"writePath": "",
"min": 0,
"max": 0,
"timeout": 0
},
{
"name": "Core_1_CPU1",
"type": "temp",
"readPath": "/xyz/openbmc_project/sensors/temperature/Core_1_CPU1",
"writePath": "",
"min": 0,
"max": 0,
"timeout": 0
},
{
"name": "Core_2_CPU0",
"type": "temp",
"readPath": "/xyz/openbmc_project/sensors/temperature/Core_2_CPU0",
"writePath": "",
"min": 0,
"max": 0,
"timeout": 0
},
{
"name": "Core_2_CPU1",
"type": "temp",
"readPath": "/xyz/openbmc_project/sensors/temperature/Core_2_CPU1",
"writePath": "",
"min": 0,
"max": 0,
"timeout": 0
},
{
"name": "Core_3_CPU0",
"type": "temp",
"readPath": "/xyz/openbmc_project/sensors/temperature/Core_3_CPU0",
"writePath": "",
"min": 0,
"max": 0,
"timeout": 0
},
{
"name": "Core_3_CPU1",
"type": "temp",
"readPath": "/xyz/openbmc_project/sensors/temperature/Core_3_CPU1",
"writePath": "",
"min": 0,
"max": 0,
"timeout": 0
},
{
"name": "Core_4_CPU0",
"type": "temp",
"readPath": "/xyz/openbmc_project/sensors/temperature/Core_4_CPU0",
"writePath": "",
"min": 0,
"max": 0,
"timeout": 0
},
{
"name": "Core_4_CPU1",
"type": "temp",
"readPath": "/xyz/openbmc_project/sensors/temperature/Core_4_CPU1",
"writePath": "",
"min": 0,
"max": 0,
"timeout": 0
},
{
"name": "Core_5_CPU0",
"type": "temp",
"readPath": "/xyz/openbmc_project/sensors/temperature/Core_5_CPU0",
"writePath": "",
"min": 0,
"max": 0,
"timeout": 0
},
{
"name": "Core_5_CPU1",
"type": "temp",
"readPath": "/xyz/openbmc_project/sensors/temperature/Core_5_CPU1",
"writePath": "",
"min": 0,
"max": 0,
"timeout": 0
}
],
"zones" : [
{
"id": 0,
"minThermalOutput": 0.0,
"failsafePercent": 100.0,
"pids": [
{
"name": "fan1",
"type": "fan",
"inputs": ["fan1"],
"setpoint": 40.0,
"pid": {
"samplePeriod": 1.0,
"proportionalCoeff": 0.0,
"integralCoeff": 0.0,
"feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 1.0,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
"outLim_min": 3.0,
"outLim_max": 100.0,
"slewNeg": 0.0,
"slewPos": 0.0
}
},
{
"name": "Core_0_CPU0",
"type": "temp",
"inputs": ["Core_0_CPU0"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 1.0,
"proportionalCoeff": -20.0,
"integralCoeff": -0.1,
"feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.0,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
"outLim_min": 0.0,
"outLim_max": 16000.0,
"slewNeg": 0.0,
"slewPos": 0.0,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0
}
},
{
"name": "Core_0_CPU1",
"type": "temp",
"inputs": ["Core_0_CPU1"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 1.0,
"proportionalCoeff": -20.0,
"integralCoeff": -0.1,
"feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.0,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
"outLim_min": 0.0,
"outLim_max": 16000.0,
"slewNeg": 0.0,
"slewPos": 0.0,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0
}
},
{
"name": "Core_1_CPU0",
"type": "temp",
"inputs": ["Core_1_CPU0"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 1.0,
"proportionalCoeff": -20.0,
"integralCoeff": -0.1,
"feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.0,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
"outLim_min": 0.0,
"outLim_max": 16000.0,
"slewNeg": 0.0,
"slewPos": 0.0,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0
}
},
{
"name": "Core_1_CPU1",
"type": "temp",
"inputs": ["Core_1_CPU1"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 1.0,
"proportionalCoeff": -20.0,
"integralCoeff": -0.1,
"feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.0,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
"outLim_min": 0.0,
"outLim_max": 16000.0,
"slewNeg": 0.0,
"slewPos": 0.0,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0
}
},
{
"name": "Core_2_CPU0",
"type": "temp",
"inputs": ["Core_2_CPU0"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 1.0,
"proportionalCoeff": -20.0,
"integralCoeff": -0.1,
"feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.0,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
"outLim_min": 0.0,
"outLim_max": 16000.0,
"slewNeg": 0.0,
"slewPos": 0.0,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0
}
},
{
"name": "Core_2_CPU1",
"type": "temp",
"inputs": ["Core_2_CPU1"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 1.0,
"proportionalCoeff": -20.0,
"integralCoeff": -0.1,
"feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.0,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
"outLim_min": 0.0,
"outLim_max": 16000.0,
"slewNeg": 0.0,
"slewPos": 0.0,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0
}
},
{
"name": "Core_3_CPU0",
"type": "temp",
"inputs": ["Core_3_CPU0"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 1.0,
"proportionalCoeff": -20.0,
"integralCoeff": -0.1,
"feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.0,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
"outLim_min": 0.0,
"outLim_max": 16000.0,
"slewNeg": 0.0,
"slewPos": 0.0,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0
}
},
{
"name": "Core_3_CPU1",
"type": "temp",
"inputs": ["Core_3_CPU1"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 1.0,
"proportionalCoeff": -20.0,
"integralCoeff": -0.1,
"feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.0,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
"outLim_min": 0.0,
"outLim_max": 16000.0,
"slewNeg": 0.0,
"slewPos": 0.0,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0
}
},
{
"name": "Core_4_CPU0",
"type": "temp",
"inputs": ["Core_4_CPU0"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 1.0,
"proportionalCoeff": -20.0,
"integralCoeff": -0.1,
"feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.0,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
"outLim_min": 0.0,
"outLim_max": 16000.0,
"slewNeg": 0.0,
"slewPos": 0.0,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0
}
},
{
"name": "Core_4_CPU1",
"type": "temp",
"inputs": ["Core_4_CPU1"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 1.0,
"proportionalCoeff": -20.0,
"integralCoeff": -0.1,
"feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.0,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
"outLim_min": 0.0,
"outLim_max": 16000.0,
"slewNeg": 0.0,
"slewPos": 0.0,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0
}
},
{
"name": "Core_5_CPU0",
"type": "temp",
"inputs": ["Core_5_CPU0"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 1.0,
"proportionalCoeff": -20.0,
"integralCoeff": -0.1,
"feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.0,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
"outLim_min": 0.0,
"outLim_max": 16000.0,
"slewNeg": 0.0,
"slewPos": 0.0,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0
}
},
{
"name": "Core_5_CPU1",
"type": "temp",
"inputs": ["Core_5_CPU1"],
"setpoint": 30.0,
"pid": {
"samplePeriod": 1.0,
"proportionalCoeff": -20.0,
"integralCoeff": -0.1,
"feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.0,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
"outLim_min": 0.0,
"outLim_max": 16000.0,
"slewNeg": 0.0,
"slewPos": 0.0,
"positiveHysteresis": 1.0,
"negativeHysteresis": 1.0
}
}
]
}
]
}
@@ -0,0 +1,3 @@
#!/bin/bash
echo 255 > /sys/class/hwmon/*/pwm1
@@ -0,0 +1,12 @@
[Unit]
Description=Set Fan to Full Speed as Rebooting
DefaultDependencies=no
After=shutdown.target
[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/usr/bin/fan-full-speed.sh
[Install]
WantedBy=shutdown.target
@@ -0,0 +1,13 @@
[Unit]
Description=OpenBMC Fan Control Daemon
[Service]
Type=simple
ExecStart=/usr/bin/swampd
Restart=always
RestartSec=5
StartLimitInterval=0
ExecStopPost=/usr/bin/fan-full-speed.sh
[Install]
WantedBy=basic.target
@@ -0,0 +1,29 @@
FILESEXTRAPATHS:prepend:olympus-nuvoton := "${THISDIR}/${PN}:"
SRC_URI:append:olympus-nuvoton = " file://config-olympus-nuvoton.json"
SRC_URI:append:olympus-nuvoton = " file://fan-full-speed.sh"
SRC_URI:append:olympus-nuvoton = " file://phosphor-pid-control.service"
SRC_URI:append:olympus-nuvoton = " file://fan-reboot-control.service"
FILES:${PN}:append:olympus-nuvoton = " ${bindir}/fan-full-speed.sh"
FILES:${PN}:append:olympus-nuvoton = " ${datadir}/swampd/config.json"
RDEPENDS:${PN} += "bash"
SYSTEMD_SERVICE:${PN}:append:olympus-nuvoton = " phosphor-pid-control.service"
SYSTEMD_SERVICE:${PN}:append:olympus-nuvoton = " fan-reboot-control.service"
do_install:append:olympus-nuvoton() {
install -d ${D}/${bindir}
install -m 0755 ${WORKDIR}/fan-full-speed.sh ${D}/${bindir}
install -d ${D}${datadir}/swampd
install -m 0644 -D ${WORKDIR}/config-olympus-nuvoton.json \
${D}${datadir}/swampd/config.json
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/phosphor-pid-control.service \
${D}${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/fan-reboot-control.service \
${D}${systemd_unitdir}/system
}
@@ -0,0 +1,17 @@
SUMMARY = "Copy the inventory cleanup yaml for inventory manager"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit allarch
inherit phosphor-inventory-manager
S = "${WORKDIR}"
SRC_URI:olympus-nuvoton = "file://inventory-cleanup.yaml"
do_install:olympus-nuvoton() {
install -D inventory-cleanup.yaml ${D}${base_datadir}/events.d/inventory-cleanup.yaml
}
FILES:${PN}:olympus-nuvoton += "${base_datadir}/events.d/inventory-cleanup.yaml"
@@ -0,0 +1,16 @@
description: >
RunBMC inventory fixups
events:
- name: Add Chassis interface
description: >
Add the chassis interface on the chassis inventory path
type: startup
actions:
- name: createObjects
objs:
/system/chassis:
xyz.openbmc_project.Inventory.Item.Chassis:
Type:
value: "xyz.openbmc_project.Inventory.Item.Chassis.ChassisType.RackMount"
type: string
@@ -0,0 +1,330 @@
[
{
"path": "system/chassis/motherboard/powersupply0",
"endpoints":
[
{
"types":
{
"rType": "inventory",
"fType": "sensors"
},
"paths":
[
"/xyz/openbmc_project/sensors/power/ps0_input_power",
"/xyz/openbmc_project/sensors/power/ps0_output_power",
"/xyz/openbmc_project/sensors/voltage/ps0_input_voltage",
"/xyz/openbmc_project/sensors/voltage/ps0_output_voltage",
"/xyz/openbmc_project/sensors/fan_tach/ps0_fan1",
"/xyz/openbmc_project/sensors/fan_tach/ps0_fan2",
"/xyz/openbmc_project/sensors/temperature/ps0_tempture"
]
}
]
},
{
"path": "system/chassis/motherboard/powersupply1",
"endpoints":
[
{
"types":
{
"rType": "inventory",
"fType": "sensors"
},
"paths":
[
"/xyz/openbmc_project/sensors/power/ps1_input_power",
"/xyz/openbmc_project/sensors/power/ps1_output_power",
"/xyz/openbmc_project/sensors/voltage/ps1_input_voltage",
"/xyz/openbmc_project/sensors/voltage/ps1_output_voltage",
"/xyz/openbmc_project/sensors/fan_tach/ps1_fan1",
"/xyz/openbmc_project/sensors/fan_tach/ps1_fan2",
"/xyz/openbmc_project/sensors/temperature/ps1_tempture"
]
}
]
},
{
"path": "system/chassis/motherboard/fan",
"endpoints":
[
{
"types":
{
"rType": "inventory",
"fType": "sensors"
},
"paths":
[
"/xyz/openbmc_project/sensors/fan_tach/fan1",
"/xyz/openbmc_project/sensors/fan_tach/fan2",
"/xyz/openbmc_project/sensors/fan_tach/fan3",
"/xyz/openbmc_project/sensors/fan_tach/fan4",
"/xyz/openbmc_project/sensors/fan_tach/fan5",
"/xyz/openbmc_project/sensors/fan_tach/fan6"
]
}
]
},
{
"path": "/system/chassis/motherboard/management_card/bmc",
"endpoints":
[
{
"types":
{
"rType": "inventory",
"fType": "sensors"
},
"paths":
[
"/xyz/openbmc_project/sensors/temperature/bmc_card"
]
},
{
"types":
{
"rType": "inventory",
"fType": "leds"
},
"paths":
[
"/xyz/openbmc_project/led/physical/heartbeat"
]
}
]
},
{
"path": "system/chassis/motherboard",
"endpoints":
[
{
"types":
{
"rType": "inventory",
"fType": "sensors"
},
"paths":
[
"/xyz/openbmc_project/sensors/temperature/inlet",
"/xyz/openbmc_project/sensors/temperature/outlet",
"/xyz/openbmc_project/sensors/temperature/p0_dimm_vr0_temp",
"/xyz/openbmc_project/sensors/temperature/p0_dimm_vr1_temp",
"/xyz/openbmc_project/sensors/temperature/p0_vccin_vr_temp",
"/xyz/openbmc_project/sensors/temperature/p0_vccio_vr_temp",
"/xyz/openbmc_project/sensors/temperature/p1_dimm_vr0_temp",
"/xyz/openbmc_project/sensors/temperature/p1_dimm_vr1_temp",
"/xyz/openbmc_project/sensors/temperature/p1_vccin_vr_temp",
"/xyz/openbmc_project/sensors/temperature/p1_vccio_vr_temp",
"/xyz/openbmc_project/sensors/voltage/P12V_STBY",
"/xyz/openbmc_project/sensors/voltage/P1V05_STBY_PCH",
"/xyz/openbmc_project/sensors/voltage/P3V3",
"/xyz/openbmc_project/sensors/voltage/P3V3_STBY",
"/xyz/openbmc_project/sensors/voltage/P3V_BAT",
"/xyz/openbmc_project/sensors/voltage/P5V",
"/xyz/openbmc_project/sensors/voltage/P5V_STBY",
"/xyz/openbmc_project/sensors/voltage/PVNN_STBY_PCH",
"/xyz/openbmc_project/sensors/voltage/p0_dimm_vr0_voltage",
"/xyz/openbmc_project/sensors/voltage/p0_dimm_vr1_voltage",
"/xyz/openbmc_project/sensors/voltage/p0_vccin_vr_voltage",
"/xyz/openbmc_project/sensors/voltage/p0_vccio_vr_voltage",
"/xyz/openbmc_project/sensors/voltage/p1_dimm_vr0_voltage",
"/xyz/openbmc_project/sensors/voltage/p1_dimm_vr1_voltage",
"/xyz/openbmc_project/sensors/voltage/p1_vccin_vr_voltage",
"/xyz/openbmc_project/sensors/voltage/p1_vccio_vr_voltage",
"/xyz/openbmc_project/sensors/power/p0_dimm_vr0_pin",
"/xyz/openbmc_project/sensors/power/p0_dimm_vr0_pout",
"/xyz/openbmc_project/sensors/power/p0_dimm_vr1_pin",
"/xyz/openbmc_project/sensors/power/p0_dimm_vr1_pout",
"/xyz/openbmc_project/sensors/power/p0_vccin_vr_pin",
"/xyz/openbmc_project/sensors/power/p0_vccin_vr_pout",
"/xyz/openbmc_project/sensors/power/p0_vccio_vr_pin",
"/xyz/openbmc_project/sensors/power/p0_vccio_vr_pout",
"/xyz/openbmc_project/sensors/power/p1_dimm_vr0_pin",
"/xyz/openbmc_project/sensors/power/p1_dimm_vr0_pout",
"/xyz/openbmc_project/sensors/power/p1_dimm_vr1_pin",
"/xyz/openbmc_project/sensors/power/p1_dimm_vr1_pout",
"/xyz/openbmc_project/sensors/power/p1_vccin_vr_pin",
"/xyz/openbmc_project/sensors/power/p1_vccin_vr_pout",
"/xyz/openbmc_project/sensors/power/p1_vccio_vr_pin",
"/xyz/openbmc_project/sensors/power/p1_vccio_vr_pout",
"/xyz/openbmc_project/sensors/power/total_power",
"/xyz/openbmc_project/sensors/power/cpu_power",
"/xyz/openbmc_project/sensors/power/memory_power",
"/xyz/openbmc_project/sensors/current/p0_dimm_vr0_current",
"/xyz/openbmc_project/sensors/current/p0_dimm_vr0_lin",
"/xyz/openbmc_project/sensors/current/p0_dimm_vr1_current",
"/xyz/openbmc_project/sensors/current/p0_dimm_vr1_lin",
"/xyz/openbmc_project/sensors/current/p0_vccin_vr_current",
"/xyz/openbmc_project/sensors/current/p0_vccio_vr_current",
"/xyz/openbmc_project/sensors/current/p1_dimm_vr0_current",
"/xyz/openbmc_project/sensors/current/p1_dimm_vr0_lin",
"/xyz/openbmc_project/sensors/current/p1_dimm_vr1_current",
"/xyz/openbmc_project/sensors/current/p1_dimm_vr1_lin",
"/xyz/openbmc_project/sensors/current/p1_vccin_vr_current",
"/xyz/openbmc_project/sensors/current/p1_vccio_vr_current"
]
}
]
},
{
"path": "system/chassis/motherboard/cpu0",
"endpoints":
[
{
"types":
{
"rType": "inventory",
"fType": "sensors"
},
"paths":
[
"/xyz/openbmc_project/sensors/temperature/Core_0_CPU0",
"/xyz/openbmc_project/sensors/temperature/Core_1_CPU0",
"/xyz/openbmc_project/sensors/temperature/Core_2_CPU0",
"/xyz/openbmc_project/sensors/temperature/Core_3_CPU0",
"/xyz/openbmc_project/sensors/temperature/Core_4_CPU0",
"/xyz/openbmc_project/sensors/temperature/Core_5_CPU0",
"/xyz/openbmc_project/sensors/temperature/Die_CPU0"
]
}
]
},
{
"path": "system/chassis/motherboard/cpu1",
"endpoints":
[
{
"types":
{
"rType": "inventory",
"fType": "sensors"
},
"paths":
[
"/xyz/openbmc_project/sensors/temperature/Core_0_CPU1",
"/xyz/openbmc_project/sensors/temperature/Core_1_CPU1",
"/xyz/openbmc_project/sensors/temperature/Core_2_CPU1",
"/xyz/openbmc_project/sensors/temperature/Core_3_CPU1",
"/xyz/openbmc_project/sensors/temperature/Core_4_CPU1",
"/xyz/openbmc_project/sensors/temperature/Core_5_CPU1",
"/xyz/openbmc_project/sensors/temperature/Die_CPU0"
]
}
]
},
{
"path": "system/chassis",
"endpoints":
[
{
"types":
{
"rType": "chassis",
"fType": "all_sensors"
},
"paths":
[
"/xyz/openbmc_project/sensors/temperature/inlet",
"/xyz/openbmc_project/sensors/temperature/outlet",
"/xyz/openbmc_project/sensors/temperature/bmc_card",
"/xyz/openbmc_project/sensors/temperature/p0_dimm_vr0_temp",
"/xyz/openbmc_project/sensors/temperature/p0_dimm_vr1_temp",
"/xyz/openbmc_project/sensors/temperature/p0_vccin_vr_temp",
"/xyz/openbmc_project/sensors/temperature/p0_vccio_vr_temp",
"/xyz/openbmc_project/sensors/temperature/p1_dimm_vr0_temp",
"/xyz/openbmc_project/sensors/temperature/p1_dimm_vr1_temp",
"/xyz/openbmc_project/sensors/temperature/p1_vccin_vr_temp",
"/xyz/openbmc_project/sensors/temperature/p1_vccio_vr_temp",
"/xyz/openbmc_project/sensors/temperature/ps0_tempture",
"/xyz/openbmc_project/sensors/temperature/ps1_tempture",
"/xyz/openbmc_project/sensors/voltage/P12V_STBY",
"/xyz/openbmc_project/sensors/voltage/P1V05_STBY_PCH",
"/xyz/openbmc_project/sensors/voltage/P3V3",
"/xyz/openbmc_project/sensors/voltage/P3V3_STBY",
"/xyz/openbmc_project/sensors/voltage/P3V_BAT",
"/xyz/openbmc_project/sensors/voltage/P5V",
"/xyz/openbmc_project/sensors/voltage/P5V_STBY",
"/xyz/openbmc_project/sensors/voltage/PVNN_STBY_PCH",
"/xyz/openbmc_project/sensors/voltage/p0_dimm_vr0_voltage",
"/xyz/openbmc_project/sensors/voltage/p0_dimm_vr1_voltage",
"/xyz/openbmc_project/sensors/voltage/p0_vccin_vr_voltage",
"/xyz/openbmc_project/sensors/voltage/p0_vccio_vr_voltage",
"/xyz/openbmc_project/sensors/voltage/p1_dimm_vr0_voltage",
"/xyz/openbmc_project/sensors/voltage/p1_dimm_vr1_voltage",
"/xyz/openbmc_project/sensors/voltage/p1_vccin_vr_voltage",
"/xyz/openbmc_project/sensors/voltage/p1_vccio_vr_voltage",
"/xyz/openbmc_project/sensors/power/p0_dimm_vr0_pin",
"/xyz/openbmc_project/sensors/power/p0_dimm_vr0_pout",
"/xyz/openbmc_project/sensors/power/p0_dimm_vr1_pin",
"/xyz/openbmc_project/sensors/power/p0_dimm_vr1_pout",
"/xyz/openbmc_project/sensors/power/p0_vccin_vr_pin",
"/xyz/openbmc_project/sensors/power/p0_vccin_vr_pout",
"/xyz/openbmc_project/sensors/power/p0_vccio_vr_pin",
"/xyz/openbmc_project/sensors/power/p0_vccio_vr_pout",
"/xyz/openbmc_project/sensors/power/p1_dimm_vr0_pin",
"/xyz/openbmc_project/sensors/power/p1_dimm_vr0_pout",
"/xyz/openbmc_project/sensors/power/p1_dimm_vr1_pin",
"/xyz/openbmc_project/sensors/power/p1_dimm_vr1_pout",
"/xyz/openbmc_project/sensors/power/p1_vccin_vr_pin",
"/xyz/openbmc_project/sensors/power/p1_vccin_vr_pout",
"/xyz/openbmc_project/sensors/power/p1_vccio_vr_pin",
"/xyz/openbmc_project/sensors/power/p1_vccio_vr_pout",
"/xyz/openbmc_project/sensors/current/p0_dimm_vr0_current",
"/xyz/openbmc_project/sensors/current/p0_dimm_vr0_lin",
"/xyz/openbmc_project/sensors/current/p0_dimm_vr1_current",
"/xyz/openbmc_project/sensors/current/p0_dimm_vr1_lin",
"/xyz/openbmc_project/sensors/current/p0_vccin_vr_current",
"/xyz/openbmc_project/sensors/current/p0_vccio_vr_current",
"/xyz/openbmc_project/sensors/current/p1_dimm_vr0_current",
"/xyz/openbmc_project/sensors/current/p1_dimm_vr0_lin",
"/xyz/openbmc_project/sensors/current/p1_dimm_vr1_current",
"/xyz/openbmc_project/sensors/current/p1_dimm_vr1_lin",
"/xyz/openbmc_project/sensors/current/p1_vccin_vr_current",
"/xyz/openbmc_project/sensors/current/p1_vccio_vr_current",
"/xyz/openbmc_project/sensors/fan_tach/fan1",
"/xyz/openbmc_project/sensors/fan_tach/fan2",
"/xyz/openbmc_project/sensors/fan_tach/fan3",
"/xyz/openbmc_project/sensors/fan_tach/fan4",
"/xyz/openbmc_project/sensors/fan_tach/fan5",
"/xyz/openbmc_project/sensors/fan_tach/fan6",
"/xyz/openbmc_project/sensors/fan_tach/ps0_fan1",
"/xyz/openbmc_project/sensors/fan_tach/ps0_fan2",
"/xyz/openbmc_project/sensors/fan_tach/ps1_fan1",
"/xyz/openbmc_project/sensors/fan_tach/ps1_fan2",
"/xyz/openbmc_project/sensors/power/total_power",
"/xyz/openbmc_project/sensors/power/cpu_power",
"/xyz/openbmc_project/sensors/power/memory_power",
"/xyz/openbmc_project/sensors/voltage/ps0_input_voltage",
"/xyz/openbmc_project/sensors/voltage/ps0_output_voltage",
"/xyz/openbmc_project/sensors/power/ps0_input_power",
"/xyz/openbmc_project/sensors/power/ps0_output_power",
"/xyz/openbmc_project/sensors/current/ps0_input_current",
"/xyz/openbmc_project/sensors/current/ps0_output_current",
"/xyz/openbmc_project/sensors/power/ps1_input_power",
"/xyz/openbmc_project/sensors/power/ps1_output_power",
"/xyz/openbmc_project/sensors/current/ps1_input_current",
"/xyz/openbmc_project/sensors/voltage/ps1_input_voltage",
"/xyz/openbmc_project/sensors/current/ps1_output_current",
"/xyz/openbmc_project/sensors/voltage/ps1_output_voltage",
"/xyz/openbmc_project/sensors/temperature/Core_0_CPU1",
"/xyz/openbmc_project/sensors/temperature/Core_1_CPU1",
"/xyz/openbmc_project/sensors/temperature/Core_2_CPU1",
"/xyz/openbmc_project/sensors/temperature/Core_3_CPU1",
"/xyz/openbmc_project/sensors/temperature/Core_4_CPU1",
"/xyz/openbmc_project/sensors/temperature/Core_5_CPU1",
"/xyz/openbmc_project/sensors/temperature/Core_0_CPU0",
"/xyz/openbmc_project/sensors/temperature/Core_1_CPU0",
"/xyz/openbmc_project/sensors/temperature/Core_2_CPU0",
"/xyz/openbmc_project/sensors/temperature/Core_3_CPU0",
"/xyz/openbmc_project/sensors/temperature/Core_4_CPU0",
"/xyz/openbmc_project/sensors/temperature/Core_5_CPU0",
"/xyz/openbmc_project/sensors/temperature/DIMM_C1_CPU0",
"/xyz/openbmc_project/sensors/temperature/Die_CPU0",
"/xyz/openbmc_project/sensors/temperature/Die_CPU1"
]
}
]
}
]
@@ -0,0 +1,10 @@
FILESEXTRAPATHS:prepend:olympus-nuvoton := "${THISDIR}/${PN}:"
PACKAGECONFIG:append:olympus-nuvoton = " associations"
SRC_URI:append:olympus-nuvoton = " file://associations.json"
DEPENDS:append:olympus-nuvoton = " olympus-nuvoton-inventory-cleanup"
do_install:append:olympus-nuvoton() {
install -d ${D}${base_datadir}
install -m 0755 ${WORKDIR}/associations.json ${D}${base_datadir}/associations.json
}
@@ -0,0 +1,2 @@
SYSFS_PATH=/sys/bus/i2c/devices/13-0051/eeprom
FRUID=2
@@ -0,0 +1,2 @@
SYSFS_PATH=/sys/bus/i2c/devices/4-0054/eeprom
FRUID=1
@@ -0,0 +1,27 @@
inherit obmc-phosphor-systemd
FILESEXTRAPATHS:prepend:olympus-nuvoton := "${THISDIR}/${PN}:"
DEPENDS:append:olympus-nuvoton = " olympus-nuvoton-yaml-config"
EXTRA_OECONF:olympus-nuvoton = ""
IPMI_FRU_YAML:olympus-nuvoton="${STAGING_DIR_HOST}${datadir}/olympus-nuvoton-yaml-config/ipmi-fru-read.yaml"
IPMI_FRU_PROP_YAML:olympus-nuvoton="${STAGING_DIR_HOST}${datadir}/olympus-nuvoton-yaml-config/ipmi-extra-properties.yaml"
EEPROM_NAMES = "motherboard bmc"
EEPROMFMT = "system/chassis/{0}"
EEPROM_ESCAPEDFMT = "system-chassis-{0}"
EEPROMS = "${@compose_list(d, 'EEPROMFMT', 'EEPROM_NAMES')}"
EEPROMS_ESCAPED = "${@compose_list(d, 'EEPROM_ESCAPEDFMT', 'EEPROM_NAMES')}"
ENVFMT = "obmc/eeproms/{0}"
SYSTEMD_ENVIRONMENT_FILE:${PN}:append:olympus-nuvoton := " ${@compose_list(d, 'ENVFMT', 'EEPROMS')}"
TMPL = "obmc-read-eeprom@.service"
TGT = "${SYSTEMD_DEFAULT_TARGET}"
INSTFMT = "obmc-read-eeprom@{0}.service"
FMT = "../${TMPL}:${TGT}.wants/${INSTFMT}"
SYSTEMD_LINK:${PN}:append:olympus-nuvoton := " ${@compose_list(d, 'FMT', 'EEPROMS_ESCAPED')}"
@@ -0,0 +1,6 @@
DEPENDS:append:olympus-nuvoton = " olympus-nuvoton-yaml-config"
EXTRA_OEMESON:olympus-nuvoton = " \
-Dsensor-yaml-gen=${STAGING_DIR_HOST}${datadir}/olympus-nuvoton-yaml-config/ipmi-sensors.yaml \
-Dfru-yaml-gen=${STAGING_DIR_HOST}${datadir}/olympus-nuvoton-yaml-config/ipmi-fru-read.yaml \
"
@@ -0,0 +1,11 @@
{
"channels": [
{
"type": "me",
"master-path": "/dev/i2c-5",
"slave-path": "/dev/ipmb-5",
"bmc-addr": 32,
"remote-addr": 44
}
]
}
@@ -0,0 +1,11 @@
FILESEXTRAPATHS:prepend:olympus-nuvoton := "${THISDIR}/${PN}:"
SRC_URI:append:olympus-nuvoton = " file://ipmb-olympus-channels.json"
FILES:${PN}:append:olympus-nuvoton = " ${datadir}/ipmbbridge/ipmb-channels.json"
do_install:append:olympus-nuvoton() {
install -d ${D}${datadir}/ipmbbridge
install -m 0644 -D ${WORKDIR}/ipmb-olympus-channels.json \
${D}${datadir}/ipmbbridge/ipmb-channels.json
}
@@ -0,0 +1 @@
KERNEL=="ipmi-kcs1", SYMLINK+="ipmi_kcs1"
@@ -0,0 +1,10 @@
FILESEXTRAPATHS:prepend:olympus-nuvoton := "${THISDIR}/${PN}:"
SRC_URI:append:olympus-nuvoton = " file://99-ipmi-kcs.rules.rules"
KCS_DEVICE:olympus-nuvoton = "ipmi_kcs1"
do_install:append:olympus-nuvoton() {
install -d ${D}/${nonarch_base_libdir}/udev/rules.d
install -m 0644 ${WORKDIR}/99-ipmi-kcs.rules.rules ${D}/${nonarch_base_libdir}/udev/rules.d
}
@@ -0,0 +1 @@
RMCPP_IFACE = "eth1"
@@ -0,0 +1,17 @@
SUMMARY = "Phosphor LED Group Management Configuration"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit native
PROVIDES += "virtual/phosphor-led-manager-config-native"
SRC_URI += "file://led.yaml"
S = "${WORKDIR}"
do_install() {
SRC=${S}
DEST=${D}${datadir}/phosphor-led-manager
install -D ${SRC}/led.yaml ${DEST}/led.yaml
}
@@ -0,0 +1,21 @@
BmcBooted:
heartbeat:
Action: 'Blink'
DutyOn: 50
Period: 1000
PowerOn:
identify:
Action: 'On'
DutyOn: 50
Period: 0
EnclosureFault:
identify:
Action: 'On'
DutyOn: 50
Period: 0
EnclosureIdentify:
identify:
Action: 'Blink'
DutyOn: 50
Period: 1000
@@ -0,0 +1,46 @@
LABEL_in1 = "P3V3"
GAIN_in1=2.435
WARNHI_in1 = "3541"
WARNLO_in1 = "3066"
CRITHI_in1 = "3647"
CRITLO_in1 = "2097"
LABEL_in2 = "P5V"
GAIN_in2=3.68
WARNHI_in2 = "5500"
WARNLO_in2 = "4500"
CRITHI_in2 = "5700"
CRITLO_in2 = "4000"
LABEL_in3 = "P3V3_STBY"
GAIN_in3=2.435
WARNHI_in3 = "3541"
WARNLO_in3 = "3066"
CRITHI_in3 = "3647"
CRITLO_in3 = "2097"
LABEL_in4 = "P5V_STBY"
GAIN_in4=3.68
WARNHI_in4 = "5500"
WARNLO_in4 = "4500"
CRITHI_in4 = "5700"
CRITLO_in4 = "4000"
LABEL_in6 = "PVNN_STBY_PCH"
WARNHI_in6 = "1050"
WARNLO_in6 = "945"
CRITHI_in6 = "1100"
CRITLO_in6 = "916"
LABEL_in7 = "P12V_STBY"
GAIN_in7=8.9
WARNHI_in7 = "13101"
WARNLO_in7 = "10945"
CRITHI_in7 = "13494"
CRITLO_in7 = "10616"
LABEL_in8 = "P1V05_STBY_PCH"
WARNHI_in8 = "1106"
WARNLO_in8 = "995"
CRITHI_in8 = "1139"
CRITLO_in8 = "966"
@@ -0,0 +1,34 @@
LABEL_temp1= "ps0_tempture"
WARNHI_temp1 = "90000"
WARNLO_temp1 = "0"
CRITHI_temp1 = "100000"
CRITLO_temp1 = "0"
LABEL_in1= "ps0_input_voltage"
WARNHI_in1="290000"
WARNLO_in1="200000"
CRITHI_in1="300000"
CRITLO_in1="180000"
LABEL_in2= "ps0_output_voltage"
WARNHI_in2="12700"
WARNLO_in2="0"
CRITHI_in2="13000"
CRITLO_in2="0"
LABEL_power1= "ps0_input_power"
WARNHI_power1="950000000"
WARNLO_power1="0"
CRITHI_power1="1000000000"
CRITLO_power1="0"
LABEL_power2= "ps0_output_power"
WARNHI_power2="950000000"
WARNLO_power2="0"
CRITHI_power2="1000000000"
CRITLO_power2="0"
LABEL_fan1= "ps0_fan1"
LABEL_fan2= "ps0_fan2"
INTERVAL=10000000
@@ -0,0 +1,5 @@
LABEL_temp1 = "inlet"
WARNHI_temp1 = "110000"
WARNLO_temp1 = "5000"
CRITHI_temp1 = "115000"
CRITLO_temp1 = "0"
@@ -0,0 +1,5 @@
LABEL_curr1 = "p0_dimm_vr0_lin"
WARNHI_curr1 = "231000"
CRITHI_curr1 = "288000"
WARNLO_curr1 = "0"
CRITLO_curr1 = "0"
@@ -0,0 +1,5 @@
LABEL_curr1 = "p0_dimm_vr1_lin"
WARNHI_curr1 = "231000"
CRITHI_curr1 = "288000"
WARNLO_curr1 = "0"
CRITLO_curr1 = "0"
@@ -0,0 +1,5 @@
LABEL_curr1 = "p1_dimm_vr0_lin"
WARNHI_curr1 = "231000"
CRITHI_curr1 = "288000"
WARNLO_curr1 = "0"
CRITLO_curr1 = "0"
@@ -0,0 +1,5 @@
LABEL_curr1 = "p1_dimm_vr1_lin"
WARNHI_curr1 = "231000"
CRITHI_curr1 = "288000"
WARNLO_curr1 = "0"
CRITLO_curr1 = "0"
@@ -0,0 +1,21 @@
LABEL_temp1 = "p0_vccio_vr_temp"
WARNHI_temp1 = "105000"
CRITHI_temp1 = "115000"
WARNLO_temp1 = "0"
CRITLO_temp1 = "0"
LABEL_curr1 = "p0_vccio_vr_current"
WARNHI_curr1 = "231000"
CRITHI_curr1 = "288000"
WARNLO_curr1 = "0"
CRITLO_curr1 = "0"
LABEL_in1 = "p0_vccio_vr_voltage"
WARNHI_in1 = "16000"
WARNLO_in1 = "11000"
CRITLO_in1 = "9500"
CRITHI_in1 = "17000"
LABEL_power1 = "p0_vccio_vr_pin"
LABEL_power2 = "p0_vccio_vr_pout"
@@ -0,0 +1,21 @@
LABEL_temp1 = "p1_vccio_vr_temp"
WARNHI_temp1 = "105000"
CRITHI_temp1 = "115000"
WARNLO_temp1 = "0"
CRITLO_temp1 = "0"
LABEL_curr1 = "p1_vccio_vr_current"
WARNHI_curr1 = "231000"
CRITHI_curr1 = "288000"
WARNLO_curr1 = "0"
CRITLO_curr1 = "0"
LABEL_in1 = "p1_vccio_vr_voltage"
WARNHI_in1 = "16000"
WARNLO_in1 = "11000"
CRITLO_in1 = "9500"
CRITHI_in1 = "17000"
LABEL_power1 = "p1_vccio_vr_pin"
LABEL_power2 = "p1_vccio_vr_pout"
@@ -0,0 +1,21 @@
LABEL_temp1 = "p0_dimm_vr0_temp"
WARNHI_temp1 = "105000"
CRITHI_temp1 = "115000"
WARNLO_temp1 = "0"
CRITLO_temp1 = "0"
LABEL_curr1 = "p0_dimm_vr0_current"
WARNHI_curr1 = "231000"
CRITHI_curr1 = "288000"
WARNLO_curr1 = "0"
CRITLO_curr1 = "0"
LABEL_in1 = "p0_dimm_vr0_voltage"
WARNHI_in1 = "16000"
WARNLO_in1 = "11000"
CRITLO_in1 = "9500"
CRITHI_in1 = "17000"
LABEL_power1 = "p0_dimm_vr0_pin"
LABEL_power2 = "p0_dimm_vr0_pout"
@@ -0,0 +1,21 @@
LABEL_temp1 = "p0_dimm_vr1_temp"
WARNHI_temp1 = "105000"
CRITHI_temp1 = "115000"
WARNLO_temp1 = "0"
CRITLO_temp1 = "0"
LABEL_curr1 = "p0_dimm_vr1_current"
WARNHI_curr1 = "231000"
CRITHI_curr1 = "288000"
WARNLO_curr1 = "0"
CRITLO_curr1 = "0"
LABEL_in1 = "p0_dimm_vr1_voltage"
WARNHI_in1 = "16000"
WARNLO_in1 = "11000"
CRITLO_in1 = "9500"
CRITHI_in1 = "17000"
LABEL_power1 = "p0_dimm_vr1_pin"
LABEL_power2 = "p0_dimm_vr1_pout"
@@ -0,0 +1,21 @@
LABEL_temp1 = "p1_dimm_vr0_temp"
WARNHI_temp1 = "105000"
CRITHI_temp1 = "115000"
WARNLO_temp1 = "0"
CRITLO_temp1 = "0"
LABEL_curr1 = "p1_dimm_vr0_current"
WARNHI_curr1 = "231000"
CRITHI_curr1 = "288000"
WARNLO_curr1 = "0"
CRITLO_curr1 = "0"
LABEL_in1 = "p1_dimm_vr0_voltage"
WARNHI_in1 = "16000"
WARNLO_in1 = "11000"
CRITLO_in1 = "9500"
CRITHI_in1 = "17000"
LABEL_power1 = "p1_dimm_vr0_pin"
LABEL_power2 = "p1_dimm_vr0_pout"
@@ -0,0 +1,21 @@
LABEL_temp1 = "p1_dimm_vr1_temp"
WARNHI_temp1 = "105000"
CRITHI_temp1 = "115000"
WARNLO_temp1 = "0"
CRITLO_temp1 = "0"
LABEL_curr1 = "p1_dimm_vr1_current"
WARNHI_curr1 = "231000"
CRITHI_curr1 = "288000"
WARNLO_curr1 = "0"
CRITLO_curr1 = "0"
LABEL_in1 = "p1_dimm_vr1_voltage"
WARNHI_in1 = "16000"
WARNLO_in1 = "11000"
CRITLO_in1 = "9500"
CRITHI_in1 = "17000"
LABEL_power1 = "p1_dimm_vr1_pin"
LABEL_power2 = "p1_dimm_vr1_pout"
@@ -0,0 +1,21 @@
LABEL_temp1 = "p0_vccin_vr_temp"
WARNHI_temp1 = "105000"
CRITHI_temp1 = "115000"
WARNLO_temp1 = "0"
CRITLO_temp1 = "0"
LABEL_curr1 = "p0_vccin_vr_current"
WARNHI_curr1 = "231000"
CRITHI_curr1 = "288000"
WARNLO_curr1 = "0"
CRITLO_curr1 = "0"
LABEL_in1 = "p0_vccin_vr_voltage"
WARNHI_in1 = "16000"
WARNLO_in1 = "11000"
CRITLO_in1 = "9500"
CRITHI_in1 = "17000"
LABEL_power1 = "p0_vccin_vr_pin"
LABEL_power2 = "p0_vccin_vr_pout"
@@ -0,0 +1,21 @@
LABEL_temp1 = "p1_vccin_vr_temp"
WARNHI_temp1 = "105000"
CRITHI_temp1 = "115000"
WARNLO_temp1 = "0"
CRITLO_temp1 = "0"
LABEL_curr1 = "p1_vccin_vr_current"
WARNHI_curr1 = "231000"
CRITHI_curr1 = "288000"
WARNLO_curr1 = "0"
CRITLO_curr1 = "0"
LABEL_in1 = "p1_vccin_vr_voltage"
WARNHI_in1 = "16000"
WARNLO_in1 = "11000"
CRITLO_in1 = "9500"
CRITHI_in1 = "17000"
LABEL_power1 = "p1_vccin_vr_pin"
LABEL_power2 = "p1_vccin_vr_pout"
@@ -0,0 +1,5 @@
LABEL_temp1 = "outlet"
WARNHI_temp1 = "110000"
WARNLO_temp1 = "5000"
CRITHI_temp1 = "115000"
CRITLO_temp1 = "0"
@@ -0,0 +1,9 @@
LABEL_temp1 = "MB0_Temp"
WARNLO_temp1= "5000"
WARNHI_temp1= "50000"
CRITHI_temp1 = "60000"
CRITLO_temp1 = "0"
LABEL_curr1 = "MB0_Iout"
LABEL_in1 = "MB0_Vin"
LABEL_in2 = "MB0_Vout"
LABEL_power1 = "MB0_Pin"
@@ -0,0 +1,5 @@
LABEL_temp1 = "bmc_card"
WARNHI_temp1 = "110000"
WARNLO_temp1 = "5000"
CRITHI_temp1 = "115000"
CRITLO_temp1 = "0"
@@ -0,0 +1,59 @@
LABEL_fan1= "fan1"
TARGET_fan1= "fan1"
WARNHI_fan1= "19250"
WARNLO_fan1= "150"
CRITHI_fan1= "19250"
CRITLO_fan1= "150"
MINVALUE_fan1 = "0"
MAXVALUE_fan1 = "20145"
PWM_TARGET_fan1 = 1
LABEL_fan2= "fan2"
TARGET_fan2= "fan2"
WARNHI_fan2= "19250"
WARNLO_fan2= "150"
CRITHI_fan2= "19250"
CRITLO_fan2= "150"
MINVALUE_fan2 = "0"
MAXVALUE_fan2 = "20145"
PWM_TARGET_fan2 = 1
LABEL_fan3= "fan3"
TARGET_fan3= "fan3"
WARNHI_fan3= "19250"
WARNLO_fan3= "150"
CRITHI_fan3= "19250"
CRITLO_fan3= "150"
MINVALUE_fan3 = "0"
MAXVALUE_fan3 = "20145"
PWM_TARGET_fan3 = 1
LABEL_fan4= "fan4"
TARGET_fan4= "fan4"
WARNHI_fan4= "19250"
WARNLO_fan4= "150"
CRITHI_fan4= "19250"
CRITLO_fan4= "150"
MINVALUE_fan4 = "0"
MAXVALUE_fan4 = "20145"
PWM_TARGET_fan4 = 1
LABEL_fan5= "fan5"
TARGET_fan5= "fan5"
WARNHI_fan5= "19250"
WARNLO_fan5= "150"
CRITHI_fan5= "19250"
CRITLO_fan5= "150"
MINVALUE_fan5 = "0"
MAXVALUE_fan5 = "20145"
PWM_TARGET_fan5 = 1
LABEL_fan6= "fan6"
TARGET_fan6= "fan6"
WARNHI_fan6= "19250"
WARNLO_fan6= "150"
CRITHI_fan6= "19250"
CRITLO_fan6= "150"
MINVALUE_fan6 = "0"
MAXVALUE_fan6 = "20145"
PWM_TARGET_fan6 = 1
@@ -0,0 +1,35 @@
LABEL_temp1 = "Die_CPU0"
WARNHI_temp1 = "79000"
WARNLO_temp1 = "0"
CRITHI_temp1 = "89000"
CRITLO_temp1 = "0"
LABEL_temp5 = "Core_0_CPU0"
WARNHI_temp5 = "79000"
WARNLO_temp5 = "0"
CRITHI_temp5 = "89000"
CRITLO_temp5 = "0"
LABEL_temp6 = "Core_1_CPU0"
WARNHI_temp6 = "79000"
WARNLO_temp6 = "0"
CRITHI_temp6 = "89000"
CRITLO_temp6 = "0"
LABEL_temp7 = "Core_2_CPU0"
WARNHI_temp7 = "79000"
WARNLO_temp7 = "0"
CRITHI_temp7 = "89000"
CRITLO_temp7 = "0"
LABEL_temp8 = "Core_3_CPU0"
WARNHI_temp8 = "79000"
WARNLO_temp8 = "0"
CRITHI_temp8 = "89000"
CRITLO_temp8 = "0"
LABEL_temp9 = "Core_4_CPU0"
WARNHI_temp9 = "79000"
WARNLO_temp9 = "0"
CRITHI_temp9 = "89000"
CRITLO_temp9 = "0"
LABEL_temp10 = "Core_5_CPU0"
WARNHI_temp10 = "79000"
WARNLO_temp10 = "0"
CRITHI_temp10 = "89000"
CRITLO_temp10 = "0"
@@ -0,0 +1,5 @@
LABEL_temp5 = "DIMM_C1_CPU0"
WARNHI_temp5 = "79000"
WARNLO_temp5 = "0"
CRITHI_temp5 = "89000"
CRITLO_temp5 = "0"
@@ -0,0 +1,35 @@
LABEL_temp1 = "Die_CPU1"
WARNHI_temp1 = "79000"
WARNLO_temp1 = "0"
CRITHI_temp1 = "89000"
CRITLO_temp1 = "0"
LABEL_temp5 = "Core_0_CPU1"
WARNHI_temp5 = "79000"
WARNLO_temp5 = "0"
CRITHI_temp5 = "89000"
CRITLO_temp5 = "0"
LABEL_temp6 = "Core_1_CPU1"
WARNHI_temp6 = "79000"
WARNLO_temp6 = "0"
CRITHI_temp6 = "89000"
CRITLO_temp6 = "0"
LABEL_temp7 = "Core_2_CPU1"
WARNHI_temp7 = "79000"
WARNLO_temp7 = "0"
CRITHI_temp7 = "89000"
CRITLO_temp7 = "0"
LABEL_temp8 = "Core_3_CPU1"
WARNHI_temp8 = "79000"
WARNLO_temp8 = "0"
CRITHI_temp8 = "89000"
CRITLO_temp8 = "0"
LABEL_temp9 = "Core_4_CPU1"
WARNHI_temp9 = "79000"
WARNLO_temp9 = "0"
CRITHI_temp9 = "89000"
CRITLO_temp9 = "0"
LABEL_temp10 = "Core_5_CPU1"
WARNHI_temp10 = "79000"
WARNLO_temp10 = "0"
CRITHI_temp10 = "89000"
CRITLO_temp10 = "0"
@@ -0,0 +1,40 @@
FILESEXTRAPATHS:prepend:olympus-nuvoton := "${THISDIR}/${PN}:"
ITEMS = " \
i2c@82000/tmp421@4c \
i2c@82000/power-supply@58 \
i2c@86000/tps53679@60 \
i2c@86000/tps53659@62 \
i2c@86000/tps53659@64 \
i2c@86000/tps53679@70 \
i2c@86000/tps53659@72 \
i2c@86000/tps53659@74 \
i2c@86000/tps53622@67 \
i2c@86000/tps53622@77 \
i2c@86000/ina219@40 \
i2c@86000/ina219@41 \
i2c@86000/ina219@44 \
i2c@86000/ina219@45 \
i2c@87000/tmp421@4c \
i2c@88000/adm1278@11 \
i2c@8d000/tmp75@4a \
pwm-fan-controller@103000 \
adc@c000 \
"
ENVS = "obmc/hwmon/ahb/apb/{0}.conf"
SYSTEMD_ENVIRONMENT_FILE:${PN}:append:olympus-nuvoton = " ${@compose_list(d, 'ENVS', 'ITEMS')}"
# PECI
PECINAMES = " \
peci-0/0-30/peci-cputemp.0 \
peci-0/0-31/peci-cputemp.1\
peci-0/0-30/peci-dimmtemp.0 \
"
PECIITEMSFMT = "devices/platform/ahb/ahb--apb/f0100000.peci-bus/{0}.conf"
PECIITEMS = "${@compose_list(d, 'PECIITEMSFMT', 'PECINAMES')}"
PECIENVS = "obmc/hwmon/{0}"
SYSTEMD_ENVIRONMENT_FILE:${PN}:append:olympus-nuvoton = " ${@compose_list(d, 'PECIENVS', 'PECIITEMS')}"
EXTRA_OEMESON:append:olympus-nuvoton = " -Dupdate-functional-on-fail=true"
@@ -0,0 +1,10 @@
---
/xyz/openbmc_project/ipmi/sol/eth1:
- Interface: xyz.openbmc_project.Ipmi.SOL
Properties:
Privilege:
Default: 2
Enable:
Default: 'true'
Progress:
Default: 0
@@ -0,0 +1,3 @@
FILESEXTRAPATHS:prepend:olympus-nuvoton := "${THISDIR}/${PN}:"
SRC_URI:append:olympus-nuvoton = " file://sol-default.override.yml"