diff options
author | Konstantin Aladyshev <aladyshev22@gmail.com> | 2023-01-17 14:30:48 +0300 |
---|---|---|
committer | Konstantin Aladyshev <aladyshev22@gmail.com> | 2023-02-08 12:17:52 +0300 |
commit | 16a8c7950565d75611026290ecd2f2f81d541a70 (patch) | |
tree | 9e27fff29c686863ebb193a79db5a9462c84ad52 /meta-amd | |
parent | 27ce59d058993f16fabff7430f6db83f9c038a28 (diff) | |
download | openbmc-16a8c7950565d75611026290ecd2f2f81d541a70.tar.xz |
meta-amd: Add AMD Daytonax CRB
Add AMD DaytonaX CRB to the meta-amd layer.
Change-Id: I7df37f78640e9cc9c595da257bfc982d8f636acd
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Diffstat (limited to 'meta-amd')
32 files changed, 5010 insertions, 1 deletions
diff --git a/meta-amd/meta-daytonax/conf/layer.conf b/meta-amd/meta-daytonax/conf/layer.conf new file mode 100644 index 0000000000..9ca1bfc732 --- /dev/null +++ b/meta-amd/meta-daytonax/conf/layer.conf @@ -0,0 +1,12 @@ +# 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 += "daytonax-layer" +BBFILE_PATTERN_daytonax-layer = "^${LAYERDIR}/" +BBFILE_PRIORITY_daytonax-layer = "6" + +LAYERSERIES_COMPAT_daytonax-layer = "langdale mickledore" diff --git a/meta-amd/meta-daytonax/conf/machine/daytonax.conf b/meta-amd/meta-daytonax/conf/machine/daytonax.conf new file mode 100644 index 0000000000..7843aad44f --- /dev/null +++ b/meta-amd/meta-daytonax/conf/machine/daytonax.conf @@ -0,0 +1,37 @@ +KMACHINE = "aspeed" +KERNEL_DEVICETREE = "${KMACHINE}-bmc-amd-${MACHINE}.dtb" + +UBOOT_DEVICETREE = "ast2500-evb" +UBOOT_MACHINE = "evb-ast2500_defconfig" + +require conf/machine/include/ast2500.inc +require conf/machine/include/obmc-bsp-common.inc + +SERIAL_CONSOLES = "115200;ttyS4" + +FLASH_SIZE = "32768" + +MACHINE_FEATURES += "\ + obmc-bmc-state-mgmt \ + obmc-chassis-state-mgmt \ + obmc-host-state-mgmt \ + obmc-phosphor-chassis-mgmt \ + obmc-host-ipmi \ + obmc-phosphor-fan-mgmt \ + obmc-phosphor-flash-mgmt \ + " + +VIRTUAL-RUNTIME_skeleton_workbook = "${MACHINE}-config" +VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control" +VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control" +VIRTUAL-RUNTIME_obmc-sensors-hwmon ?= "dbus-sensors" + +PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-amd-apps" +PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-amd-apps" +PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-amd-apps" +PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw ?= "phosphor-ipmi-kcs" +PREFERRED_PROVIDER_virtual/obmc-inventory-data ?= "${VIRTUAL-RUNTIME_skeleton_workbook}" +PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-amd-apps" +PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "daytonax-led-manager-config-native" + +OVERRIDES .= ":amd" diff --git a/meta-amd/meta-daytonax/conf/templates/default/bblayers.conf.sample b/meta-amd/meta-daytonax/conf/templates/default/bblayers.conf.sample new file mode 100644 index 0000000000..c841388b39 --- /dev/null +++ b/meta-amd/meta-daytonax/conf/templates/default/bblayers.conf.sample @@ -0,0 +1,17 @@ +# 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-aspeed \ + ##OEROOT##/meta-amd \ + ##OEROOT##/meta-amd/meta-daytonax \ + " diff --git a/meta-amd/meta-daytonax/conf/templates/default/conf-notes.txt b/meta-amd/meta-daytonax/conf/templates/default/conf-notes.txt new file mode 100644 index 0000000000..9b3c01a556 --- /dev/null +++ b/meta-amd/meta-daytonax/conf/templates/default/conf-notes.txt @@ -0,0 +1,2 @@ +Common targets are: + obmc-phosphor-image diff --git a/meta-amd/meta-daytonax/conf/templates/default/local.conf.sample b/meta-amd/meta-daytonax/conf/templates/default/local.conf.sample new file mode 100644 index 0000000000..a5409786e9 --- /dev/null +++ b/meta-amd/meta-daytonax/conf/templates/default/local.conf.sample @@ -0,0 +1,236 @@ +# +# This file is your local configuration file and is where all local user settings +# are placed. The comments in this file give some guide to the options a new user +# to the system might want to change but pretty much any configuration option can +# be set in this file. More adventurous users can look at local.conf.extended +# which contains other examples of configuration which can be placed in this file +# but new users likely won't need any of them initially. +# +# Lines starting with the '#' character are commented out and in some cases the +# default values are provided as comments to show people example syntax. Enabling +# the option is a question of removing the # character and making any change to the +# variable as required. + +# +# Machine Selection +# +# You need to select a specific machine to target the build with. There are a selection +# of emulated machines available which can boot and run in the QEMU emulator: +# +#MACHINE ?= "qemuarm" +#MACHINE ?= "qemuarm64" +#MACHINE ?= "qemumips" +#MACHINE ?= "qemuppc" +#MACHINE ?= "qemux86" +#MACHINE ?= "qemux86-64" +# +# There are also the following hardware board target machines included for +# demonstration purposes: +# +#MACHINE ?= "beaglebone" +#MACHINE ?= "genericx86" +#MACHINE ?= "genericx86-64" +#MACHINE ?= "mpc8315e-rdb" +#MACHINE ?= "edgerouter" +# +# This sets the default machine to be qemux86 if no other machine is selected: +MACHINE ??= "daytonax" + +# +# Where to place downloads +# +# During a first build the system will download many different source code tarballs +# from various upstream projects. This can take a while, particularly if your network +# connection is slow. These are all stored in DL_DIR. When wiping and rebuilding you +# can preserve this directory to speed up this part of subsequent builds. This directory +# is safe to share between multiple builds on the same machine too. +# +# The default is a downloads directory under TOPDIR which is the build directory. +# +#DL_DIR ?= "${TOPDIR}/downloads" + +# +# Where to place shared-state files +# +# BitBake has the capability to accelerate builds based on previously built output. +# This is done using "shared state" files which can be thought of as cache objects +# and this option determines where those files are placed. +# +# You can wipe out TMPDIR leaving this directory intact and the build would regenerate +# from these files if no changes were made to the configuration. If changes were made +# to the configuration, only shared state files where the state was still valid would +# be used (done using checksums). +# +# The default is a sstate-cache directory under TOPDIR. +# +#SSTATE_DIR ?= "${TOPDIR}/sstate-cache" + +# +# Where to place the build output +# +# This option specifies where the bulk of the building work should be done and +# where BitBake should place its temporary files and output. Keep in mind that +# this includes the extraction and compilation of many applications and the toolchain +# which can use Gigabytes of hard disk space. +# +# The default is a tmp directory under TOPDIR. +# +#TMPDIR = "${TOPDIR}/tmp" + +# +# Default policy config +# +# The distribution setting controls which policy settings are used as defaults. +# The default value is fine for general Yocto project use, at least initially. +# Ultimately when creating custom policy, people will likely end up subclassing +# these defaults. +# +DISTRO ?= "openbmc-phosphor" +# As an example of a subclass there is a "bleeding" edge policy configuration +# where many versions are set to the absolute latest code from the upstream +# source control systems. This is just mentioned here as an example, its not +# useful to most new users. +# DISTRO ?= "poky-bleeding" + +# +# Package Management configuration +# +# This variable lists which packaging formats to enable. Multiple package backends +# can be enabled at once and the first item listed in the variable will be used +# to generate the root filesystems. +# Options are: +# - 'package_deb' for debian style deb files +# - 'package_ipk' for ipk files are used by opkg (a debian style embedded package manager) +# - 'package_rpm' for rpm style packages +# E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk" +# We default to ipk: +PACKAGE_CLASSES ?= "package_ipk" + +# +# SDK/ADT target architecture +# +# This variable specifies the architecture to build SDK/ADT items for and means +# you can build the SDK packages for architectures other than the machine you are +# running the build on (i.e. building i686 packages on an x86_64 host). +# Supported values are i686 and x86_64 +#SDKMACHINE ?= "i686" + +SANITY_TESTED_DISTROS:append ?= " RedHatEnterpriseWorkstation-6.*" + +# +# Extra image configuration defaults +# +# The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated +# images. Some of these options are added to certain image types automatically. The +# variable can contain the following options: +# "dbg-pkgs" - add -dbg packages for all installed packages +# (adds symbol information for debugging/profiling) +# "dev-pkgs" - add -dev packages for all installed packages +# (useful if you want to develop against libs in the image) +# "ptest-pkgs" - add -ptest packages for all ptest-enabled packages +# (useful if you want to run the package test suites) +# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.) +# "tools-debug" - add debugging tools (gdb, strace) +# "eclipse-debug" - add Eclipse remote debugging support +# "tools-profile" - add profiling tools (oprofile, exmap, lttng, valgrind) +# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.) +# "debug-tweaks" - make an image suitable for development +# e.g. ssh root access has a blank password +# There are other application targets that can be used here too, see +# meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details. +# We default to enabling the debugging tweaks. +EXTRA_IMAGE_FEATURES = "debug-tweaks" + +# +# Additional image features +# +# The following is a list of additional classes to use when building images which +# enable extra features. Some available options which can be included in this variable +# are: +# - 'buildstats' collect build statistics +# - 'image-swab' to perform host system intrusion detection +# NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink +# NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended +USER_CLASSES ?= "buildstats" + +# +# Runtime testing of images +# +# The build system can test booting virtual machine images under qemu (an emulator) +# after any root filesystems are created and run tests against those images. To +# enable this uncomment this line. See classes/testimage(-auto).bbclass for +# further details. +#TEST_IMAGE = "1" +# +# Interactive shell configuration +# +# Under certain circumstances the system may need input from you and to do this it +# can launch an interactive shell. It needs to do this since the build is +# multithreaded and needs to be able to handle the case where more than one parallel +# process may require the user's attention. The default is iterate over the available +# terminal types to find one that works. +# +# Examples of the occasions this may happen are when resolving patches which cannot +# be applied, to use the devshell or the kernel menuconfig +# +# Supported values are auto, gnome, xfce, rxvt, screen, konsole (KDE 3.x only), none +# Note: currently, Konsole support only works for KDE 3.x due to the way +# newer Konsole versions behave +#OE_TERMINAL = "auto" +# By default disable interactive patch resolution (tasks will just fail instead): +PATCHRESOLVE = "noop" + +# +# Disk Space Monitoring during the build +# +# Monitor the disk space during the build. If there is less that 1GB of space or less +# than 100K inodes in any key build location (TMPDIR, DL_DIR, SSTATE_DIR), gracefully +# shutdown the build. If there is less that 100MB or 1K inodes, perform a hard abort +# of the build. The reason for this is that running completely out of space can corrupt +# files and damages the build in ways which may not be easily recoverable. +# It's necessary to monitor /tmp, if there is no space left the build will fail +# with very exotic errors. +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" + +# +# Shared-state files from other locations +# +# As mentioned above, shared state files are prebuilt cache data objects which can +# used to accelerate build time. This variable can be used to configure the system +# to search other mirror locations for these objects before it builds the data itself. +# +# This can be a filesystem directory, or a remote url such as http or ftp. These +# would contain the sstate-cache results from previous builds (possibly from other +# machines). This variable works like fetcher MIRRORS/PREMIRRORS and points to the +# cache locations to check for the shared objects. +# NOTE: if the mirror uses the same structure as SSTATE_DIR, you need to add PATH +# at the end as shown in the examples below. This will be substituted with the +# correct path within the directory structure. +#SSTATE_MIRRORS ?= "\ +#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ +#file://.* file:///some/local/dir/sstate/PATH" + + +# +# Qemu configuration +# +# By default qemu will build with a builtin VNC server where graphical output can be +# seen. The two lines below enable the SDL backend too. This assumes there is a +# libsdl library available on your build system. +PACKAGECONFIG:append:pn-qemu-native = " sdl" +PACKAGECONFIG:append:pn-nativesdk-qemu = " sdl" +#ASSUME_PROVIDED += "libsdl-native" + + +# CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to +# track the version of this file when it was generated. This can safely be ignored if +# this doesn't mean anything to you. +CONF_VERSION = "2" diff --git a/meta-amd/meta-daytonax/recipes-kernel/linux/linux-aspeed/daytonax.cfg b/meta-amd/meta-daytonax/recipes-kernel/linux/linux-aspeed/daytonax.cfg new file mode 100644 index 0000000000..1cd9b807d0 --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-kernel/linux/linux-aspeed/daytonax.cfg @@ -0,0 +1,9 @@ +CONFIG_SENSORS_LM75=y +CONFIG_SENSORS_SBTSI=y +CONFIG_I2C_ASPEED=y +CONFIG_SENSORS_ISL68137=y +CONFIG_EEPROM_AT24=y +CONFIG_SENSORS_INA2XX=y +CONFIG_SENSORS_TPS53679=y +CONFIG_SENSORS_JC42=y +CONFIG_I2C_MUX_LTC4306=y diff --git a/meta-amd/meta-daytonax/recipes-kernel/linux/linux-aspeed_%.bbappend b/meta-amd/meta-daytonax/recipes-kernel/linux/linux-aspeed_%.bbappend new file mode 100644 index 0000000000..31b0f9d6d9 --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-kernel/linux/linux-aspeed_%.bbappend @@ -0,0 +1,4 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/linux-aspeed:" + +SRC_URI += "file://daytonax.cfg \ +" diff --git a/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config.bb b/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config.bb new file mode 100644 index 0000000000..4783bf33ee --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config.bb @@ -0,0 +1,33 @@ +SUMMARY = "YAML configuration for Daytonax" +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://daytonax-ipmi-fru.yaml \ + file://daytonax-ipmi-fru-properties.yaml \ + file://daytonax-ipmi-sensors.yaml \ + " + +S = "${WORKDIR}" + +do_install() { + cat daytonax-ipmi-fru.yaml > fru-read.yaml + + install -m 0644 -D daytonax-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 daytonax-ipmi-sensors.yaml \ + ${D}${datadir}/${BPN}/ipmi-sensors.yaml +} + +FILES:${PN}-dev = " \ + ${datadir}/${BPN}/ipmi-extra-properties.yaml \ + ${datadir}/${BPN}/ipmi-fru-read.yaml \ + ${datadir}/${BPN}/ipmi-sensors.yaml \ + " + +ALLOW_EMPTY:${PN} = "1" diff --git a/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/daytonax-ipmi-fru-properties.yaml b/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/daytonax-ipmi-fru-properties.yaml new file mode 100644 index 0000000000..a4eab8a6db --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/daytonax-ipmi-fru-properties.yaml @@ -0,0 +1,140 @@ +/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' diff --git a/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/daytonax-ipmi-fru.yaml b/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/daytonax-ipmi-fru.yaml new file mode 100644 index 0000000000..b4708da417 --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/daytonax-ipmi-fru.yaml @@ -0,0 +1,582 @@ +0: + /system/chassis/bmc: + entityID: 6 + 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 + +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 +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 +3: + /system: + entityID: 7 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + Model: + IPMIFruProperty: Part Number + IPMIFruSection: Chassis + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Chassis + /system/chassis/motherboard: + entityID: 7 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board +4: + /system/chassis/motherboard/dimm0: + entityID: 32 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + Model: + IPMIFruProperty: Model Number + IPMIFruSection: Product + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: Version + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product +5: + /system/chassis/motherboard/dimm1: + 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 +6: + /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 +7: + /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 +8: + /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 +9: + /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 +10: + /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 +11: + /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 +12: + /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 +13: + /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 +14: + /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 +15: + /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 +16: + /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 +17: + /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 +18: + /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 +19: + /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 +20: + /system/chassis/motherboard/fan1: + entityID: 29 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Product Name + IPMIFruSection: Product + +21: + /system/chassis/motherboard/fan2: + entityID: 29 + entityInstance: 2 + interfaces: + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Product Name + IPMIFruSection: Product diff --git a/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/daytonax-ipmi-sensors.yaml b/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/daytonax-ipmi-sensors.yaml new file mode 100644 index 0000000000..c88aa173b2 --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/daytonax-ipmi-sensors.yaml @@ -0,0 +1,724 @@ +1: + sensorType: 0x01 + entityID: 0x03 + path: /xyz/openbmc_project/sensors/temperature/CPU0 + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + scale: 0 + offsetB: 0 + bExp: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +2: + sensorType: 0x01 + entityID: 0x03 + path: /xyz/openbmc_project/sensors/temperature/CPU1 + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + scale: 0 + offsetB: 0 + bExp: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +3: + entityID: 0x1D + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan_SYS0_0 + sensorReadingType: 0x01 + multiplierM: 40 + offsetB: 0 + bExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0x0: + type: double + +4: + entityID: 0x1D + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan_SYS0_1 + sensorReadingType: 0x01 + multiplierM: 40 + offsetB: 0 + bExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0x0: + type: double + +5: + entityID: 0x1D + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan_SYS1_0 + sensorReadingType: 0x01 + multiplierM: 40 + offsetB: 0 + bExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0x0: + type: double + +6: + entityID: 0x1D + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan_SYS1_1 + sensorReadingType: 0x01 + multiplierM: 40 + offsetB: 0 + bExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0x0: + type: double + +7: + entityID: 0x1D + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan_SYS2_0 + sensorReadingType: 0x01 + multiplierM: 40 + offsetB: 0 + bExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0x0: + type: double + +8: + entityID: 0x1D + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan_SYS2_1 + sensorReadingType: 0x01 + multiplierM: 40 + offsetB: 0 + bExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0x0: + type: double + +9: + entityID: 0x1D + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan_SYS3_0 + sensorReadingType: 0x01 + multiplierM: 40 + offsetB: 0 + bExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0x0: + type: double + +10: + entityID: 0x1D + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan_SYS3_1 + sensorReadingType: 0x01 + multiplierM: 40 + offsetB: 0 + bExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0x0: + type: double + +11: + entityID: 0x1D + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan_SYS4_0 + sensorReadingType: 0x01 + multiplierM: 40 + offsetB: 0 + bExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0x0: + type: double + +12: + entityID: 0x1D + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan_SYS4_1 + sensorReadingType: 0x01 + multiplierM: 40 + offsetB: 0 + bExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0x0: + type: double + +13: + entityID: 0x1D + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan_SYS5_0 + sensorReadingType: 0x01 + multiplierM: 40 + offsetB: 0 + bExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0x0: + type: double + +14: + entityID: 0x1D + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan_SYS5_1 + sensorReadingType: 0x01 + multiplierM: 40 + offsetB: 0 + bExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0x0: + type: double + +15: + sensorType: 0x02 + entityID: 0x07 + path: /xyz/openbmc_project/sensors/voltage/ADC_P12V + sensorName: P12V + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + multiplierM: 60 + scale: 0 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +16: + sensorType: 0x02 + entityID: 0x07 + path: /xyz/openbmc_project/sensors/voltage/ADC_P3V3 + sensorName: P3V3 + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + multiplierM: 15 + scale: 0 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +17: + sensorType: 0x02 + entityID: 0x07 + path: /xyz/openbmc_project/sensors/voltage/ADC_P1V8_P0 + sensorName: P1V8_P0 + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + multiplierM: 10 + scale: 0 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +18: + sensorType: 0x02 + entityID: 0x07 + path: /xyz/openbmc_project/sensors/voltage/ADC_P1V8_P1 + sensorName: P1V8_P1 + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + multiplierM: 10 + scale: 0 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +19: + sensorType: 0x02 + entityID: 0x07 + path: /xyz/openbmc_project/sensors/voltage/ADC_P5V + sensorName: P5V + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + multiplierM: 30 + scale: 0 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +20: + sensorType: 0x02 + entityID: 0x07 + path: /xyz/openbmc_project/sensors/voltage/ADC_P12V_AUX + sensorName: P12V_AUX + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + multiplierM: 60 + scale: 0 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +21: + sensorType: 0x02 + entityID: 0x07 + path: /xyz/openbmc_project/sensors/voltage/ADC_P1V15_AUX + sensorName: P1V15_AUX + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + multiplierM: 8 + scale: 0 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +22: + sensorType: 0x02 + entityID: 0x07 + path: /xyz/openbmc_project/sensors/voltage/ADC_P3V_BAT + sensorName: P3V_BAT + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + multiplierM: 15 + scale: 0 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +23: + sensorType: 0x02 + entityID: 0x07 + path: /xyz/openbmc_project/sensors/voltage/ADC_P0_VDDCR_CPU + sensorName: P0_VDDCR_CPU + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + multiplierM: 8 + scale: 0 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +24: + sensorType: 0x02 + entityID: 0x07 + path: /xyz/openbmc_project/sensors/voltage/ADC_P1_VDDCR_CPU + sensorName: P1_VDDCR_CPU + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + multiplierM: 8 + scale: 0 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +25: + sensorType: 0x02 + entityID: 0x07 + path: /xyz/openbmc_project/sensors/voltage/ADC_P0_VDDCR_SOC + sensorName: P0_VDDCR_SOC + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + multiplierM: 6 + scale: 0 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +26: + sensorType: 0x02 + entityID: 0x07 + path: /xyz/openbmc_project/sensors/voltage/ADC_P1_VDDCR_SOC + sensorName: P1_VDDCR_SOC + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + multiplierM: 6 + scale: 0 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +27: + sensorType: 0x02 + entityID: 0x07 + path: /xyz/openbmc_project/sensors/voltage/ADC_PVDDIO_ABCD + sensorName: PVDDIO_ABCD + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + multiplierM: 8 + scale: 0 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +28: + sensorType: 0x02 + entityID: 0x07 + path: /xyz/openbmc_project/sensors/voltage/ADC_PVDDIO_EFGH + sensorName: PVDDIO_EFGH + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + multiplierM: 8 + scale: 0 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +29: + sensorType: 0x02 + entityID: 0x07 + path: /xyz/openbmc_project/sensors/voltage/ADC_PVDDIO_IJKL + sensorName: PVDDIO_IJKL + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + multiplierM: 8 + scale: 0 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +30: + sensorType: 0x02 + entityID: 0x07 + path: /xyz/openbmc_project/sensors/voltage/ADC_PVDDIO_MNOP + sensorName: PVDDIO_MNOP + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + multiplierM: 8 + scale: 0 + offsetB: 0 + bExp: 0 + rExp: -3 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +31: + sensorType: 0x01 + entityID: 0x20 + path: /xyz/openbmc_project/sensors/temperature/Outlet1_Temp1 + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + scale: 0 + offsetB: 0 + bExp: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +32: + sensorType: 0x01 + entityID: 0x20 + path: /xyz/openbmc_project/sensors/temperature/Outlet1_Temp2 + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + scale: 0 + offsetB: 0 + bExp: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +33: + sensorType: 0x01 + entityID: 0x20 + path: /xyz/openbmc_project/sensors/temperature/MB_TEMP1 + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + scale: 0 + offsetB: 0 + bExp: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + +34: + sensorType: 0x01 + entityID: 0x20 + path: /xyz/openbmc_project/sensors/temperature/MB_TEMP2 + sensorReadingType: 0x01 + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + scale: 0 + offsetB: 0 + bExp: 0 + rExp: 0 + mutability: Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: double + diff --git a/meta-amd/meta-daytonax/recipes-phosphor/configuration/entity-manager/blocklist.json b/meta-amd/meta-daytonax/recipes-phosphor/configuration/entity-manager/blocklist.json new file mode 100644 index 0000000000..d2f6f61121 --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/configuration/entity-manager/blocklist.json @@ -0,0 +1,3 @@ +{ + "buses": [0, 1, 2, 4, 5, 6, 7, 8, 12] +} diff --git a/meta-amd/meta-daytonax/recipes-phosphor/configuration/entity-manager/daytonax-baseboard.json b/meta-amd/meta-daytonax/recipes-phosphor/configuration/entity-manager/daytonax-baseboard.json new file mode 100644 index 0000000000..8174f03667 --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/configuration/entity-manager/daytonax-baseboard.json @@ -0,0 +1,1997 @@ +{ + "Exposes": [ + { + "Name": "Fan SYS0 connector", + "Pwm" : 0, + "Tachs" : [0, 1], + "Type": "FanConnector" + }, + { + "Name": "Fan SYS1 connector", + "Pwm" : 1, + "Tachs" : [2, 3], + "Type": "FanConnector" + }, + { + "Name": "Fan SYS2 connector", + "Pwm" : 2, + "Tachs" : [4, 5], + "Type": "FanConnector" + }, + { + "Name": "Fan SYS3 connector", + "Pwm" : 3, + "Tachs" : [6, 7], + "Type": "FanConnector" + }, + { + "Name": "Fan SYS4 connector", + "Pwm" : 4, + "Tachs" : [8, 9], + "Type": "FanConnector" + }, + { + "Name": "Fan SYS5 connector", + "Pwm" : 5, + "Tachs" : [10, 11], + "Type": "FanConnector" + }, + { + "Address": "0x72", + "Bus": 6, + "ChannelNames": [ + "OCP_0", + "Riser1", + "Riser2", + "Riser3", + "Riser4", + "OCP_1", + "", + "" + ], + "Name": "OCP Mux", + "Type": "PCA9548Mux" + }, + { + "Address": "0x4C", + "Bus": 0, + "Name": "CPU0", + "PowerState": "On", + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 92 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 75 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 5 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + } + ], + "Type": "SBTSI" + }, + { + "Address": "0x48", + "Bus": 1, + "Name": "CPU1", + "PowerState": "On", + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 92 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 75 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 5 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + } + ], + "Type": "SBTSI" + }, + { + "Address": "0x48", + "Bus": 7, + "Name": "Outlet1_Temp2", + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 92 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 75 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 5 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + } + ], + "Type": "TMP75" + }, + { + "Address": "0x49", + "Bus": 7, + "Name": "MB_TEMP2", + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 92 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 75 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 5 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + } + ], + "Type": "TMP75" + }, + { + "Address": "0x4B", + "Bus": 7, + "Name": "Outlet1_Temp1", + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 92 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 75 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 5 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + } + ], + "Type": "TMP75" + }, + { + "Address": "0x4E", + "Bus": 7, + "Name": "MB_TEMP1", + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 92 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 75 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 5 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + } + ], + "Type": "TMP75" + }, + { + "Index": 0, + "Name": "ADC_P12V", + "PowerState": "On", + "ScaleFactor": 0.112, + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 13.2 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 12.96 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 11.04 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 10.8 + } + ], + "Type": "ADC" + }, + { + "Index": 1, + "Name": "ADC_P3V3", + "PowerState": "On", + "ScaleFactor": 0.411, + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 3.63 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 3.564 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 3.036 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 2.97 + } + ], + "Type": "ADC" + }, + { + "Index": 2, + "Name": "ADC_P1V8_P0", + "PowerState": "On", + "ScaleFactor": 0.750, + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 1.98 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.944 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 1.656 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 1.62 + } + ], + "Type": "ADC" + }, + { + "Index": 3, + "Name": "ADC_P1V8_P1", + "PowerState": "On", + "ScaleFactor": 0.750, + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 1.98 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.944 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 1.656 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 1.62 + } + ], + "Type": "ADC" + }, + { + "Index": 4, + "Name": "ADC_P5V", + "PowerState": "On", + "ScaleFactor": 0.272, + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 5.5 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 5.4 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 4.6 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 4.5 + } + ], + "Type": "ADC" + }, + { + "Index": 5, + "Name": "ADC_P12V_AUX", + "ScaleFactor": 0.112, + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 13.2 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 12.96 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 11.04 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 10.8 + } + ], + "Type": "ADC" + }, + { + "Index": 6, + "Name": "ADC_P1V15_AUX", + "ScaleFactor": 1.0, + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 1.265 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.242 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 1.058 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 1.035 + } + ], + "Type": "ADC" + }, + { + "BridgeGpio": [ + { + "Name": "BATTERY_DETECT", + "Polarity": "High", + "SetupTime": 0.5 + } + ], + "Index": 7, + "Name": "ADC_P3V_BAT", + "PowerState": "On", + "ScaleFactor": 0.333, + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 3.3 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 3.24 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 2.76 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 2.7 + } + ], + "Type": "ADC" + }, + { + "Index": 8, + "Name": "ADC_P0_VDDCR_CPU", + "PowerState": "On", + "ScaleFactor": 1.0, + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 1.375 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.345 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 0.375 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0.345 + } + ], + "Type": "ADC" + }, + { + "Index": 9, + "Name": "ADC_P1_VDDCR_CPU", + "PowerState": "On", + "ScaleFactor": 1.0, + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 1.375 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.345 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 0.375 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0.345 + } + ], + "Type": "ADC" + }, + { + "Index": 10, + "Name": "ADC_P0_VDDCR_SOC", + "PowerState": "On", + "ScaleFactor": 1.0, + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 1.20 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.17 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 0.63 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0.60 + } + ], + "Type": "ADC" + }, + { + "Index": 11, + "Name": "ADC_P1_VDDCR_SOC", + "PowerState": "On", + "ScaleFactor": 1.0, + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 1.20 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.17 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 0.63 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0.60 + } + ], + "Type": "ADC" + }, + { + "Index": 12, + "Name": "ADC_PVDDIO_ABCD", + "PowerState": "On", + "ScaleFactor": 1.0, + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 1.28 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.26 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 1.16 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 1.14 + } + ], + "Type": "ADC" + }, + { + "Index": 13, + "Name": "ADC_PVDDIO_EFGH", + "PowerState": "On", + "ScaleFactor": 1.0, + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 1.28 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.26 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 1.16 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 1.14 + } + ], + "Type": "ADC" + }, + { + "Index": 14, + "Name": "ADC_PVDDIO_IJKL", + "PowerState": "On", + "ScaleFactor": 1.0, + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 1.28 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.26 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 1.16 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 1.14 + } + ], + "Type": "ADC" + }, + { + "Index": 15, + "Name": "ADC_PVDDIO_MNOP", + "PowerState": "On", + "ScaleFactor": 1.0, + "Thresholds": [ + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 1.28 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.26 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 1.16 + }, + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 1.14 + } + ], + "Type": "ADC" + }, + { + "Address": "0x42", + "Bus": 6, + "Labels": [ + "in1", + "curr1", + "power1" + ], + "PowerState": "On", + "Thresholds": [ + { + "Direction": "greater than", + "Label": "in1", + "Name": "upper critical", + "Severity": 1, + "Value": 13.2 + }, + { + "Direction": "greater than", + "Label": "in1", + "Name": "upper non critical", + "Severity": 0, + "Value": 12.96 + }, + { + "Direction": "less than", + "Label": "in1", + "Name": "lower non critical", + "Severity": 0, + "Value": 11.04 + }, + { + "Direction": "less than", + "Label": "in1", + "Name": "lower critical", + "Severity": 1, + "Value": 10.8 + } + ], + "Name": "FAN0", + "Type": "INA219" + }, + { + "Address": "0x44", + "Bus": 6, + "Labels": [ + "in1", + "curr1", + "power1" + ], + "PowerState": "On", + "Thresholds": [ + { + "Direction": "greater than", + "Label": "in1", + "Name": "upper critical", + "Severity": 1, + "Value": 13.2 + }, + { + "Direction": "greater than", + "Label": "in1", + "Name": "upper non critical", + "Severity": 0, + "Value": 12.96 + }, + { + "Direction": "less than", + "Label": "in1", + "Name": "lower non critical", + "Severity": 0, + "Value": 11.04 + }, + { + "Direction": "less than", + "Label": "in1", + "Name": "lower critical", + "Severity": 1, + "Value": 10.8 + } + ], + "Name": "FAN1", + "Type": "INA219" + }, + { + "Address": "0x61", + "Bus": 5, + "Labels": [ + "iin", + "iout1", + "iout2", + "vin", + "vout1", + "vout2", + "pin", + "pout1", + "pout2", + "temp1", + "temp2", + "temp3" + ], + "Thresholds": [ + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper critical", + "Severity": 1, + "Value": 13.2 + }, + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper non critical", + "Severity": 0, + "Value": 12.96 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower non critical", + "Severity": 0, + "Value": 11.04 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower critical", + "Severity": 1, + "Value": 10.8 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper critical", + "Severity": 1, + "Value": 1.375 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.345 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower non critical", + "Severity": 0, + "Value": 0.375 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower critical", + "Severity": 1, + "Value": 0.345 + } + ], + "Name": "P0_VDDCR_CPU", + "PowerState": "On", + "Type": "ISL68137" + }, + { + "Address": "0x63", + "Bus": 5, + "Labels": [ + "iin", + "iout1", + "iout2", + "vin", + "vout1", + "vout2", + "pin", + "pout1", + "pout2", + "temp1", + "temp2", + "temp3" + ], + "Thresholds": [ + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper critical", + "Severity": 1, + "Value": 13.2 + }, + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper non critical", + "Severity": 0, + "Value": 12.96 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower non critical", + "Severity": 0, + "Value": 11.04 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower critical", + "Severity": 1, + "Value": 10.8 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper critical", + "Severity": 1, + "Value": 1.20 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.17 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower non critical", + "Severity": 0, + "Value": 0.63 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower critical", + "Severity": 1, + "Value": 0.60 + } + ], + "Name": "P0_VDDCR_SOC", + "PowerState": "On", + "Type": "ISL68137" + }, + { + "Address": "0x65", + "Bus": 5, + "Labels": [ + "iin", + "iout1", + "iout2", + "vin", + "vout1", + "vout2", + "pin", + "pout1", + "pout2", + "temp1", + "temp2", + "temp3" + ], + "Thresholds": [ + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper critical", + "Severity": 1, + "Value": 13.2 + }, + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper non critical", + "Severity": 0, + "Value": 12.96 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower non critical", + "Severity": 0, + "Value": 11.04 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower critical", + "Severity": 1, + "Value": 10.8 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper critical", + "Severity": 1, + "Value": 1.375 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.345 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower non critical", + "Severity": 0, + "Value": 0.375 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower critical", + "Severity": 1, + "Value": 0.345 + } + ], + "Name": "P1_VDDCR_CPU", + "PowerState": "On", + "Type": "ISL68137" + }, + { + "Address": "0x66", + "Bus": 5, + "Labels": [ + "iin", + "iout1", + "iout2", + "vin", + "vout1", + "vout2", + "pin", + "pout1", + "pout2", + "temp1", + "temp2", + "temp3" + ], + "Thresholds": [ + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper critical", + "Severity": 1, + "Value": 13.2 + }, + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper non critical", + "Severity": 0, + "Value": 12.96 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower non critical", + "Severity": 0, + "Value": 11.04 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower critical", + "Severity": 1, + "Value": 10.8 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper critical", + "Severity": 1, + "Value": 1.20 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.17 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower non critical", + "Severity": 0, + "Value": 0.63 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower critical", + "Severity": 1, + "Value": 0.60 + } + ], + "Name": "P1_VDDCR_SOC", + "PowerState": "On", + "Type": "ISL68137" + }, + { + "Address": "0x62", + "Bus": 5, + "Labels": [ + "iin", + "iout1", + "iout2", + "vin", + "vout1", + "vout2", + "pin", + "pout1", + "pout2", + "temp1", + "temp2", + "temp3" + ], + "Thresholds": [ + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper critical", + "Severity": 1, + "Value": 13.2 + }, + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper non critical", + "Severity": 0, + "Value": 12.96 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower non critical", + "Severity": 0, + "Value": 11.04 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower critical", + "Severity": 1, + "Value": 10.8 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper critical", + "Severity": 1, + "Value": 1.28 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.26 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower non critical", + "Severity": 0, + "Value": 1.16 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower critical", + "Severity": 1, + "Value": 1.14 + } + ], + "Name": "PVDDIO_ABCD", + "PowerState": "On", + "Type": "TPS53679" + }, + { + "Address": "0x67", + "Bus": 5, + "Labels": [ + "iin", + "iout1", + "iout2", + "vin", + "vout1", + "vout2", + "pin", + "pout1", + "pout2", + "temp1", + "temp2", + "temp3" + ], + "Thresholds": [ + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper critical", + "Severity": 1, + "Value": 13.2 + }, + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper non critical", + "Severity": 0, + "Value": 12.96 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower non critical", + "Severity": 0, + "Value": 11.04 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower critical", + "Severity": 1, + "Value": 10.8 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper critical", + "Severity": 1, + "Value": 1.28 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.26 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower non critical", + "Severity": 0, + "Value": 1.16 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower critical", + "Severity": 1, + "Value": 1.14 + } + ], + "Name": "PVDDIO_EFGH", + "PowerState": "On", + "Type": "TPS53679" + }, + { + "Address": "0x72", + "Bus": 5, + "Labels": [ + "iin", + "iout1", + "iout2", + "vin", + "vout1", + "vout2", + "pin", + "pout1", + "pout2", + "temp1", + "temp2", + "temp3" + ], + "Thresholds": [ + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper critical", + "Severity": 1, + "Value": 13.2 + }, + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper non critical", + "Severity": 0, + "Value": 12.96 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower non critical", + "Severity": 0, + "Value": 11.04 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower critical", + "Severity": 1, + "Value": 10.8 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper critical", + "Severity": 1, + "Value": 1.28 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.26 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower non critical", + "Severity": 0, + "Value": 1.16 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower critical", + "Severity": 1, + "Value": 1.14 + } + ], + "Name": "PVDDIO_IJKL", + "PowerState": "On", + "Type": "TPS53679" + }, + { + "Address": "0x74", + "Bus": 5, + "Labels": [ + "iin", + "iout1", + "iout2", + "vin", + "vout1", + "vout2", + "pin", + "pout1", + "pout2", + "temp1", + "temp2", + "temp3" + ], + "Thresholds": [ + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper critical", + "Severity": 1, + "Value": 13.2 + }, + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper non critical", + "Severity": 0, + "Value": 12.96 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower non critical", + "Severity": 0, + "Value": 11.04 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower critical", + "Severity": 1, + "Value": 10.8 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper critical", + "Severity": 1, + "Value": 1.28 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper non critical", + "Severity": 0, + "Value": 1.26 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower non critical", + "Severity": 0, + "Value": 1.16 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower critical", + "Severity": 1, + "Value": 1.14 + } + ], + "Name": "PVDDIO_MNOP", + "PowerState": "On", + "Type": "TPS53679" + }, + { + "Address": "0x58", + "Bus": 4, + "Labels": [ + "iin", + "iout1", + "vin", + "vout1", + "pin", + "pout1", + "temp1", + "fan1" + ], + "Thresholds": [ + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper critical", + "Severity": 1, + "Value": 242.0 + }, + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper non critical", + "Severity": 0, + "Value": 237.6 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower non critical", + "Severity": 0, + "Value": 202.4 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower critical", + "Severity": 1, + "Value": 198.0 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper critical", + "Severity": 1, + "Value": 13.2 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper non critical", + "Severity": 0, + "Value": 12.96 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower non critical", + "Severity": 0, + "Value": 11.04 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower critical", + "Severity": 1, + "Value": 10.8 + } + ], + "Name": "PSU0", + "PowerState": "On", + "Type": "pmbus" + }, + { + "Class": "fan", + "FFGainCoefficient": 1.0, + "FFOffCoefficient": 0.0, + "ICoefficient": 0.0, + "ILimitMax": 0.0, + "ILimitMin": 0.0, + "Inputs": [ + "PSU0 Fan Speed 1" + ], + "Name": "PSU0 Fan 1", + "NegativeHysteresis": 2.0, + "OutLimitMax": 100.0, + "OutLimitMin": 10.0, + "Outputs": [ + "Pwm PSU0 Fan 1" + ], + "PCoefficient": 0.0, + "PositiveHysteresis": 0.0, + "SlewNeg": 0.0, + "SlewPos": 0.0, + "Type": "Pid", + "Zones": [ + "PSU0" + ] + }, + { + "Class": "temp", + "FFGainCoefficient": 0.0, + "FFOffCoefficient": 0.0, + "ICoefficient": -4.64, + "ILimitMax": 100, + "ILimitMin": 10, + "Inputs": [ + "PSU0 Temperature" + ], + "Name": "PSU0 Temperature", + "NegativeHysteresis": 5.0, + "OutLimitMax": 100, + "OutLimitMin": 10, + "Outputs": [], + "PCoefficient": -0.15, + "PositiveHysteresis": 0.0, + "SetPoint": 50.0, + "SlewNeg": -1, + "SlewPos": 0.0, + "Type": "Pid", + "Zones": [ + "PSU0" + ] + }, + { + "Address": "0x59", + "Bus": 4, + "Labels": [ + "iin", + "iout1", + "vin", + "vout1", + "pin", + "pout1", + "temp1", + "fan1" + ], + "Thresholds": [ + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper critical", + "Severity": 1, + "Value": 242.0 + }, + { + "Direction": "greater than", + "Label": "vin", + "Name": "upper non critical", + "Severity": 0, + "Value": 237.6 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower non critical", + "Severity": 0, + "Value": 202.4 + }, + { + "Direction": "less than", + "Label": "vin", + "Name": "lower critical", + "Severity": 1, + "Value": 198.0 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper critical", + "Severity": 1, + "Value": 13.2 + }, + { + "Direction": "greater than", + "Label": "vout1", + "Name": "upper non critical", + "Severity": 0, + "Value": 12.96 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower non critical", + "Severity": 0, + "Value": 11.04 + }, + { + "Direction": "less than", + "Label": "vout1", + "Name": "lower critical", + "Severity": 1, + "Value": 10.8 + } + ], + "Name": "PSU1", + "Type": "pmbus" + }, + { + "Class": "fan", + "FFGainCoefficient": 1.0, + "FFOffCoefficient": 0.0, + "ICoefficient": 0.0, + "ILimitMax": 0.0, + "ILimitMin": 0.0, + "Inputs": [ + "PSU1 Fan Speed 1" + ], + "Name": "PSU1 Fan 1", + "NegativeHysteresis": 2.0, + "OutLimitMax": 100.0, + "OutLimitMin": 10.0, + "Outputs": [ + "Pwm PSU1 Fan 1" + ], + "PCoefficient": 0.0, + "PositiveHysteresis": 0.0, + "SlewNeg": 0.0, + "SlewPos": 0.0, + "Type": "Pid", + "Zones": [ + "PSU1" + ] + }, + { + "Class": "temp", + "FFGainCoefficient": 0.0, + "FFOffCoefficient": 0.0, + "ICoefficient": -4.64, + "ILimitMax": 100, + "ILimitMin": 10, + "Inputs": [ + "PSU1 Temperature" + ], + "Name": "PSU1 Temperature", + "NegativeHysteresis": 5.0, + "OutLimitMax": 100, + "OutLimitMin": 10, + "Outputs": [], + "PCoefficient": -0.15, + "PositiveHysteresis": 0.0, + "SetPoint": 50.0, + "SlewNeg": -1, + "SlewPos": 0.0, + "Type": "Pid", + "Zones": [ + "PSU1" + ] + }, + { + "Class": "fan", + "FFGainCoefficient": 1.0, + "FFOffCoefficient": 0.0, + "ICoefficient": 0.0, + "ILimitMax": 0.0, + "ILimitMin": 0.0, + "Inputs": [ + "Fan_SYS0_0", + "Fan_SYS0_1" + ], + "Name": "Fan_SYS0", + "NegativeHysteresis": 0.0, + "OutLimitMax": 100.0, + "OutLimitMin": 10.0, + "Outputs": [ + "Pwm 1" + ], + "PCoefficient": 0.0, + "PositiveHysteresis": 0.0, + "SlewNeg": 0.0, + "SlewPos": 0.0, + "Type": "Pid", + "Zones": [ + "Zone 1" + ] + }, + { + "Class": "fan", + "FFGainCoefficient": 1.0, + "FFOffCoefficient": 0.0, + "ICoefficient": 0.0, + "ILimitMax": 0.0, + "ILimitMin": 0.0, + "Inputs": [ + "Fan_SYS1_0", + "Fan_SYS1_1" + ], + "Name": "Fan_SYS1", + "NegativeHysteresis": 0.0, + "OutLimitMax": 100.0, + "OutLimitMin": 10.0, + "Outputs": [ + "Pwm 2" + ], + "PCoefficient": 0.0, + "PositiveHysteresis": 0.0, + "SlewNeg": 0.0, + "SlewPos": 0.0, + "Type": "Pid", + "Zones": [ + "Zone 1" + ] + }, + { + "Class": "fan", + "FFGainCoefficient": 1.0, + "FFOffCoefficient": 0.0, + "ICoefficient": 0.0, + "ILimitMax": 0.0, + "ILimitMin": 0.0, + "Inputs": [ + "Fan_SYS2_0", + "Fan_SYS2_1" + ], + "Name": "Fan_SYS2", + "NegativeHysteresis": 0.0, + "OutLimitMax": 100.0, + "OutLimitMin": 10.0, + "Outputs": [ + "Pwm 3" + ], + "PCoefficient": 0.0, + "PositiveHysteresis": 0.0, + "SlewNeg": 0.0, + "SlewPos": 0.0, + "Type": "Pid", + "Zones": [ + "Zone 1" + ] + }, + { + "Class": "fan", + "FFGainCoefficient": 1.0, + "FFOffCoefficient": 0.0, + "ICoefficient": 0.0, + "ILimitMax": 0.0, + "ILimitMin": 0.0, + "Inputs": [ + "Fan_SYS3_0", + "Fan_SYS3_1" + ], + "Name": "Fan_SYS3", + "NegativeHysteresis": 0.0, + "OutLimitMax": 100.0, + "OutLimitMin": 10.0, + "Outputs": [ + "Pwm 4" + ], + "PCoefficient": 0.0, + "PositiveHysteresis": 0.0, + "SlewNeg": 0.0, + "SlewPos": 0.0, + "Type": "Pid", + "Zones": [ + "Zone 2" + ] + }, + { + "Class": "fan", + "FFGainCoefficient": 1.0, + "FFOffCoefficient": 0.0, + "ICoefficient": 0.0, + "ILimitMax": 0.0, + "ILimitMin": 0.0, + "Inputs": [ + "Fan_SYS4_0", + "Fan_SYS4_1" + ], + "Name": "Fan_SYS4", + "NegativeHysteresis": 0.0, + "OutLimitMax": 100.0, + "OutLimitMin": 10.0, + "Outputs": [ + "Pwm 5" + ], + "PCoefficient": 0.0, + "PositiveHysteresis": 0.0, + "SlewNeg": 0.0, + "SlewPos": 0.0, + "Type": "Pid", + "Zones": [ + "Zone 2" + ] + }, + { + "Class": "fan", + "FFGainCoefficient": 1.0, + "FFOffCoefficient": 0.0, + "ICoefficient": 0.0, + "ILimitMax": 0.0, + "ILimitMin": 0.0, + "Inputs": [ + "Fan_SYS5_0", + "Fan_SYS5_1" + ], + "Name": "Fan_SYS5", + "NegativeHysteresis": 0.0, + "OutLimitMax": 100.0, + "OutLimitMin": 10.0, + "Outputs": [ + "Pwm 6" + ], + "PCoefficient": 0.0, + "PositiveHysteresis": 0.0, + "SlewNeg": 0.0, + "SlewPos": 0.0, + "Type": "Pid", + "Zones": [ + "Zone 2" + ] + }, + { + "Class": "temp", + "FFGainCoefficient": 0.0, + "FFOffCoefficient": 0.0, + "ICoefficient": -1.0, + "ILimitMax": 100, + "ILimitMin": 20, + "Inputs": [ + "CPU0" + ], + "Name": "CPU0 Temperature Control", + "NegativeHysteresis": 5.0, + "OutLimitMax": 100, + "OutLimitMin": 30, + "Outputs": [], + "PCoefficient": -0.15, + "PositiveHysteresis": 0.0, + "SetPoint": 55.0, + "SlewNeg": -1, + "SlewPos": 0.0, + "Type": "Pid", + "Zones": [ + "Zone 1" + ] + }, + { + "Class": "temp", + "FFGainCoefficient": 0.0, + "FFOffCoefficient": 0.0, + "ICoefficient": -1.0, + "ILimitMax": 100, + "ILimitMin": 20, + "Inputs": [ + "CPU1" + ], + "Name": "CPU1 Temperature Control", + "NegativeHysteresis": 5.0, + "OutLimitMax": 100, + "OutLimitMin": 30, + "Outputs": [], + "PCoefficient": -0.15, + "PositiveHysteresis": 0.0, + "SetPoint": 55.0, + "SlewNeg": -1, + "SlewPos": 0.0, + "Type": "Pid", + "Zones": [ + "Zone 2" + ] + }, + { + "FailSafePercent": 100, + "MinThermalOutput": 10, + "Name": "Zone 1", + "Type": "Pid.Zone" + }, + { + "FailSafePercent": 100, + "MinThermalOutput": 10, + "Name": "Zone 2", + "Type": "Pid.Zone" + }, + { + "FailSafePercent": 100, + "MinThermalOutput": 10, + "Name": "PSU0", + "Type": "Pid.Zone" + }, + { + "FailSafePercent": 100, + "MinThermalOutput": 10, + "Name": "PSU1", + "Type": "Pid.Zone" + } + ], + "Name": "AMD DaytonaX Baseboard", + "Probe": "TRUE", + "Type": "Board", + "ProductId": "1", + "xyz.openbmc_project.Inventory.Decorator.Asset": { + "Manufacturer": "AMD", + "Model": "DaytonaX", + "PartNumber": "12345", + "SerialNumber": "12345" + }, + "xyz.openbmc_project.Inventory.Item.System": {} +} diff --git a/meta-amd/meta-daytonax/recipes-phosphor/configuration/entity-manager/daytonax-chassis.json b/meta-amd/meta-daytonax/recipes-phosphor/configuration/entity-manager/daytonax-chassis.json new file mode 100644 index 0000000000..916d10240f --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/configuration/entity-manager/daytonax-chassis.json @@ -0,0 +1,403 @@ +{ + "Exposes": [ + { + "Index": 0, + "BindConnector": "Fan SYS0 connector", + "MaxReading": 6000, + "Name": "Fan_SYS0_0", + "Type": "AspeedFan", + "Thresholds": [ + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 10 + }, + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 10000 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 8000 + } + ] + }, + { + "Index": 1, + "BindConnector": "Fan SYS0 connector", + "MaxReading": 6000, + "Name": "Fan_SYS0_1", + "Type": "AspeedFan", + "Thresholds": [ + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 10 + }, + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 10000 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 8000 + } + ] + }, + { + "Index": 2, + "BindConnector": "Fan SYS1 connector", + "MaxReading": 6000, + "Name": "Fan_SYS1_0", + "Type": "AspeedFan", + "Thresholds": [ + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 10 + }, + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 10000 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 8000 + } + ] + }, + { + "Index": 3, + "BindConnector": "Fan SYS1 connector", + "MaxReading": 6000, + "Name": "Fan_SYS1_1", + "Type": "AspeedFan", + "Thresholds": [ + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 10 + }, + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 10000 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 8000 + } + ] + }, + { + "Index": 4, + "BindConnector": "Fan SYS2 connector", + "MaxReading": 6000, + "Name": "Fan_SYS2_0", + "Type": "AspeedFan", + "Thresholds": [ + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 10 + }, + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 10000 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 8000 + } + ] + }, + { + "Index": 5, + "BindConnector": "Fan SYS2 connector", + "MaxReading": 6000, + "Name": "Fan_SYS2_1", + "Type": "AspeedFan", + "Thresholds": [ + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 10 + }, + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 10000 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 8000 + } + ] + }, + { + "Index": 6, + "BindConnector": "Fan SYS3 connector", + "MaxReading": 6000, + "Name": "Fan_SYS3_0", + "Type": "AspeedFan", + "Thresholds": [ + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 10 + }, + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 10000 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 8000 + } + ] + }, + { + "Index": 7, + "BindConnector": "Fan SYS3 connector", + "MaxReading": 6000, + "Name": "Fan_SYS3_1", + "Type": "AspeedFan", + "Thresholds": [ + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 10 + }, + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 10000 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 8000 + } + ] + }, + { + "Index": 8, + "BindConnector": "Fan SYS4 connector", + "MaxReading": 6000, + "Name": "Fan_SYS4_0", + "Type": "AspeedFan", + "Thresholds": [ + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 10 + }, + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 10000 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 8000 + } + ] + }, + { + "Index": 9, + "BindConnector": "Fan SYS4 connector", + "MaxReading": 6000, + "Name": "Fan_SYS4_1", + "Type": "AspeedFan", + "Thresholds": [ + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 10 + }, + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 10000 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 8000 + } + ] + }, + { + "Index": 10, + "BindConnector": "Fan SYS5 connector", + "MaxReading": 6000, + "Name": "Fan_SYS5_0", + "Type": "AspeedFan", + "Thresholds": [ + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 10 + }, + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 10000 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 8000 + } + ] + }, + { + "Index": 11, + "BindConnector": "Fan SYS5 connector", + "MaxReading": 6000, + "Name": "Fan_SYS5_1", + "Type": "AspeedFan", + "Thresholds": [ + { + "Direction": "less than", + "Name": "lower critical", + "Severity": 1, + "Value": 0 + }, + { + "Direction": "less than", + "Name": "lower non critical", + "Severity": 0, + "Value": 10 + }, + { + "Direction": "greater than", + "Name": "upper critical", + "Severity": 1, + "Value": 10000 + }, + { + "Direction": "greater than", + "Name": "upper non critical", + "Severity": 0, + "Value": 8000 + } + ] + } + ], + "Name": "AMD DaytonaX Chassis", + "Probe": "FOUND('AMD DaytonaX Baseboard')", + "Type": "Chassis" +} diff --git a/meta-amd/meta-daytonax/recipes-phosphor/configuration/entity-manager_%.bbappend b/meta-amd/meta-daytonax/recipes-phosphor/configuration/entity-manager_%.bbappend new file mode 100644 index 0000000000..cab4272002 --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/configuration/entity-manager_%.bbappend @@ -0,0 +1,12 @@ +FILESEXTRAPATHS:append := ":${THISDIR}/${PN}" +SRC_URI:append = " file://daytonax-baseboard.json \ + file://daytonax-chassis.json \ + " + +do_install:append() { + rm -f ${D}/usr/share/entity-manager/configurations/*.json + install -d ${D}/usr/share/entity-manager/configurations + install -m 0444 ${WORKDIR}/daytonax-baseboard.json ${D}/usr/share/entity-manager/configurations + install -m 0444 ${WORKDIR}/daytonax-chassis.json ${D}/usr/share/entity-manager/configurations +} +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" diff --git a/meta-amd/meta-daytonax/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend b/meta-amd/meta-daytonax/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend new file mode 100644 index 0000000000..6beea02ce7 --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS:prepend:daytonax := "${THISDIR}/${PN}:" diff --git a/meta-amd/meta-daytonax/recipes-phosphor/ipmi/phosphor-ipmi-config/channel_config.json b/meta-amd/meta-daytonax/recipes-phosphor/ipmi/phosphor-ipmi-config/channel_config.json new file mode 100644 index 0000000000..64f1929122 --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/ipmi/phosphor-ipmi-config/channel_config.json @@ -0,0 +1,178 @@ +{ + "0" : { + "name" : "RESERVED", + "is_valid" : false, + "active_sessions" : 0, + "channel_info" : { + "medium_type" : "reserved", + "protocol_type" : "na", + "session_supported" : "session-less", + "is_ipmi" : true + } + }, + "1" : { + "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 + } + }, + "2" : { + "name" : "RESERVED", + "is_valid" : false, + "active_sessions" : 0, + "channel_info" : { + "medium_type" : "reserved", + "protocol_type" : "na", + "session_supported" : "session-less", + "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" : "RESERVED", + "is_valid" : false, + "active_sessions" : 0, + "channel_info" : { + "medium_type" : "reserved", + "protocol_type" : "na", + "session_supported" : "session-less", + "is_ipmi" : true + } + }, + "15" : { + "name" : "ipmi_kcs3", + "is_valid" : true, + "active_sessions" : 0, + "channel_info" : { + "medium_type" : "system-interface", + "protocol_type" : "kcs", + "session_supported" : "session-less", + "is_ipmi" : true + } + } +} diff --git a/meta-amd/meta-daytonax/recipes-phosphor/ipmi/phosphor-ipmi-config/dcmi_sensors.json b/meta-amd/meta-daytonax/recipes-phosphor/ipmi/phosphor-ipmi-config/dcmi_sensors.json new file mode 100644 index 0000000000..0c53f576eb --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/ipmi/phosphor-ipmi-config/dcmi_sensors.json @@ -0,0 +1,11 @@ +{ + "inlet": [ + + ], + "baseboard": [ + + ], + "cpu": [ + + ] +} diff --git a/meta-amd/meta-daytonax/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend b/meta-amd/meta-daytonax/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend new file mode 100644 index 0000000000..b609180482 --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend @@ -0,0 +1,6 @@ +DEPENDS:append:daytonax = " daytonax-yaml-config" + +EXTRA_OECONF:daytonax = " \ + YAML_GEN=${STAGING_DIR_HOST}${datadir}/daytonax-yaml-config/ipmi-fru-read.yaml \ + PROP_YAML=${STAGING_DIR_HOST}${datadir}/daytonax-yaml-config/ipmi-extra-properties.yaml \ + " diff --git a/meta-amd/meta-daytonax/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend b/meta-amd/meta-daytonax/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend new file mode 100644 index 0000000000..9721b36eb2 --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend @@ -0,0 +1,10 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/phosphor-ipmi-host:" + +DEPENDS:append:daytonax = " daytonax-yaml-config" + +PACKAGECONFIG:remove = " i2c-allowlist" + +EXTRA_OEMESON:daytonax = " \ + -Dsensor-yaml-gen=${STAGING_DIR_HOST}${datadir}/daytonax-yaml-config/ipmi-sensors.yaml \ + -Dfru-yaml-gen=${STAGING_DIR_HOST}${datadir}/daytonax-yaml-config/ipmi-fru-read.yaml \ + " diff --git a/meta-amd/meta-daytonax/recipes-phosphor/leds/daytonax-led-manager-config-native.bb b/meta-amd/meta-daytonax/recipes-phosphor/leds/daytonax-led-manager-config-native.bb new file mode 100644 index 0000000000..eae69fa7b3 --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/leds/daytonax-led-manager-config-native.bb @@ -0,0 +1,19 @@ +SUMMARY = "Phosphor LED Group Management for DaytonaX" +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}" + +# Overwrite the example led layout yaml file prior +# to building the phosphor-led-manager package +do_install() { + SRC=${S} + DEST=${D}${datadir}/phosphor-led-manager + install -D ${SRC}/led.yaml ${DEST}/led.yaml +} diff --git a/meta-amd/meta-daytonax/recipes-phosphor/leds/daytonax-led-manager-config/led.yaml b/meta-amd/meta-daytonax/recipes-phosphor/leds/daytonax-led-manager-config/led.yaml new file mode 100644 index 0000000000..36f37dd569 --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/leds/daytonax-led-manager-config/led.yaml @@ -0,0 +1,199 @@ +BmcBooted: +PowerOn: +enclosure_fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' + +enclosure_identify: + led-identify: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + +lamp_test: + led-fault: + Action: 'Blink' + DutyOn: 50 + Period: 1000 + Priority: 'Blink' + led-identify: + Action: 'On' + +# All kinds of faults using the same action as enclosure_fault +Fan0Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +Fan1Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +Fan2Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +Fan3Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +Fan4Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +Fan5Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +Fan6Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +Fan7Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +bmcFault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +cpu0Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +cpu1Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +dimm0Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +dimm1Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +dimm2Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +dimm3Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +dimm4Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +dimm5Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +dimm6Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +dimm7Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +dimm8Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +dimm9Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +dimm10Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +dimm11Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +dimm12Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +dimm13Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +dimm14Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +dimm15Fault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +motherboardFault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' +systemFault: + led-fault: + Action: 'On' + DutyOn: 50 + Period: 0 + Priority: 'Blink' diff --git a/meta-amd/meta-daytonax/recipes-phosphor/sensors/dbus-sensors_%.bbappend b/meta-amd/meta-daytonax/recipes-phosphor/sensors/dbus-sensors_%.bbappend new file mode 100644 index 0000000000..7026c0cf41 --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/sensors/dbus-sensors_%.bbappend @@ -0,0 +1,8 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/dbus-sensors:" + +PACKAGECONFIG:daytonax = "\ + hwmontempsensor \ + fansensor \ + psusensor \ + adcsensor \ + " diff --git a/meta-amd/meta-daytonax/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend b/meta-amd/meta-daytonax/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend new file mode 100644 index 0000000000..16ccc0a682 --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend @@ -0,0 +1 @@ +PACKAGECONFIG:append:daytonax = " boot_type" diff --git a/meta-amd/meta-daytonax/recipes-x86/chassis/x86-power-control/power-config-host0.json b/meta-amd/meta-daytonax/recipes-x86/chassis/x86-power-control/power-config-host0.json new file mode 100644 index 0000000000..afc8d8b5ac --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-x86/chassis/x86-power-control/power-config-host0.json @@ -0,0 +1,64 @@ +{ + "gpio_configs":[ + { + "Name" : "IdButton", + "LineName" : "id-button", + "Type" : "GPIO", + "Polarity" : "ActiveLow" + }, + { + "Name" : "NMIOut", + "LineName" : "ASSERT_NMI_BTN", + "Type" : "GPIO", + "Polarity" : "ActiveLow" + }, + { + "Name" : "PostComplete", + "LineName" : "power-ok", + "Type" : "GPIO", + "Polarity" : "ActiveHigh" + }, + { + "Name" : "PowerButton", + "LineName" : "power-button", + "Type" : "GPIO", + "Polarity" : "ActiveLow" + }, + { + "Name" : "PowerOk", + "LineName" : "power-good", + "Type" : "GPIO", + "Polarity" : "ActiveHigh" + }, + { + "Name" : "PowerOut", + "LineName" : "power-control", + "Type" : "GPIO", + "Polarity" : "ActiveLow" + }, + { + "Name" : "ResetButton", + "LineName" : "reset-button", + "Type" : "GPIO", + "Polarity" : "ActiveLow" + }, + { + "Name" : "ResetOut", + "LineName" : "reset-control", + "Type" : "GPIO", + "Polarity" : "ActiveLow" + } +], + "timing_configs":{ + "PowerPulseMs": 200, + "ForceOffPulseMs": 15000, + "ResetPulseMs": 500, + "PowerCycleMs": 5000, + "SioPowerGoodWatchdogMs": 1000, + "PsPowerOKWatchdogMs": 8000, + "GracefulPowerOffS": 300, + "WarmResetCheckMs": 500, + "PowerOffSaveMs": 7000 + } +} + diff --git a/meta-amd/meta-daytonax/recipes-x86/chassis/x86-power-control_%.bbappend b/meta-amd/meta-daytonax/recipes-x86/chassis/x86-power-control_%.bbappend new file mode 100644 index 0000000000..4c079c7257 --- /dev/null +++ b/meta-amd/meta-daytonax/recipes-x86/chassis/x86-power-control_%.bbappend @@ -0,0 +1,9 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://power-config-host0.json \ +" + +do_install:append() { + install -d ${D}/${datadir}/${PN} + install -m 0644 ${WORKDIR}/power-config-host0.json ${D}/${datadir}/${PN} +} diff --git a/meta-amd/meta-daytonax/recipes.txt b/meta-amd/meta-daytonax/recipes.txt new file mode 100644 index 0000000000..3ec3f4a42a --- /dev/null +++ b/meta-amd/meta-daytonax/recipes.txt @@ -0,0 +1,2 @@ +recipes-kernel - The kernel and generic applications/libraries with strong kernel dependencies +recipes-phosphor - Phosphor OpenBMC applications and configuration diff --git a/meta-amd/recipes-amd/amd-fpga/files/daytonax/fpgardu.sh b/meta-amd/recipes-amd/amd-fpga/files/daytonax/fpgardu.sh new file mode 100644 index 0000000000..cbe170788b --- /dev/null +++ b/meta-amd/recipes-amd/amd-fpga/files/daytonax/fpgardu.sh @@ -0,0 +1,277 @@ +#!/bin/bash +echo +echo "-----FPGA Daytona<x> CRB Register Dump Utility" +echo + +I2CBUS=2 +FPGAADDR=0x41 + +FPGA_REG=1 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo M_ABCD_EVENT_R_BUF_N----- : $((((DATA & 0x80)) >> 7)) +echo M_EFGH_EVENT_R_BUF_N----- : $((((DATA & 0x40)) >> 6)) +echo M_IJKL_EVENT_R_BUF_N----- : $((((DATA & 0x20)) >> 5)) +echo M_MNOP_EVENT_R_BUF_N----- : $((((DATA & 0x10)) >> 4)) + +FPGA_REG=2 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo BMC_NVDIMM_PRSNT_R_N----- : $((((DATA & 0x80)) >> 7)) +echo FM_ADR_TRIGGER_CPU_BUFF_N : $((((DATA & 0x40)) >> 6)) +echo FM_BMC_ONCTL_N----------- : $((((DATA & 0x20)) >> 5)) +echo FM_NVDIMM_EVENT_N-------- : $((((DATA & 0x10)) >> 4)) +echo P0_FORCE_SELFREFRESH----- : $((((DATA & 0x08)) >> 3)) +echo P0_NV_SAVE--------------- : $((((DATA & 0x04)) >> 2)) +echo P1_FORCE_SELFREFRESH----- : $((((DATA & 0x02)) >> 1)) +echo P1_NV_SAVE--------------- : $((DATA & 0x01)) + +FPGA_REG=3 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo CPLD_PWR_BTN_N----------- : $((((DATA & 0x80)) >> 7)) +echo FM_DEBUG_RST_BTN_N------- : $((((DATA & 0x40)) >> 6)) +echo P0_PWR_BTN_N------------- : $((((DATA & 0x20)) >> 5)) +echo PWRBTN_CPLD_IN_N--------- : $((((DATA & 0x10)) >> 4)) +echo FM_PLD_DEBUG_MODE_N------ : $((((DATA & 0x08)) >> 3)) +echo FM_PLD_DEBUG0------------ : $((((DATA & 0x04)) >> 2)) +echo FM_PLD_DEBUG1------------ : $((((DATA & 0x02)) >> 1)) +echo FM_PLD_DEBUG0------------ : $((DATA & 0x01)) + +FPGA_REG=4 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo FM_PLD_DEBUG3------------ : $((((DATA & 0x80)) >> 7)) +echo FM_PLD_DEBUG4------------ : $((((DATA & 0x40)) >> 6)) +echo FM_PLD_DEBUG5------------ : $((((DATA & 0x20)) >> 5)) +echo FM_PLD_DEBUG6------------ : $((((DATA & 0x10)) >> 4)) +echo FM_PLD_DEBUG7------------ : $((((DATA & 0x08)) >> 3)) +echo BP_SIG_CABLE_PRES_R_N---- : $((((DATA & 0x04)) >> 2)) +echo CPLD_P0_THERMTRIP_N------ : $((((DATA & 0x02)) >> 1)) +echo CPLD_P1_THERMTRIP_N------ : $((DATA & 0x01)) + +FPGA_REG=5 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo FM_BMC_CPLD_GPO---------- : $((((DATA & 0x80)) >> 7)) +echo FM_BMC_READY_N----------- : $((((DATA & 0x40)) >> 6)) +echo FM_CPLD_BMC_PWRDN_N------ : $((((DATA & 0x20)) >> 5)) +echo LED_PWR_AMBER_R---------- : $((((DATA & 0x10)) >> 4)) +echo LED_PWR_GRN_R------------ : $((((DATA & 0x08)) >> 3)) +echo P0_CORETYPE-------------- : $((((DATA & 0x04)) >> 2)) +echo P0_CPU_PRESENT_HDT------- : $((((DATA & 0x02)) >> 1)) +echo P0_CPU_PRESENT_N--------- : $((DATA & 0x01)) + +FPGA_REG=6 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo P0_NMI_SYNC_FLOOD_N------ : $((((DATA & 0x80)) >> 7)) +echo P0_PWROK_RST_BUF_EN_N---- : $((((DATA & 0x40)) >> 6)) +echo P0_SP3R1----------------- : $((((DATA & 0x20)) >> 5)) +echo P0_SP3R2_R--------------- : $((((DATA & 0x10)) >> 4)) +echo P1_CORETYPE-------------- : $((((DATA & 0x08)) >> 3)) +echo P1_CPU_PRESENT_HDT------- : $((((DATA & 0x04)) >> 2)) +echo P1_CPU_PRESENT_N--------- : $((((DATA & 0x02)) >> 1)) +echo P1_PWROK_RST_BUF_EN_N---- : $((DATA & 0x01)) + +FPGA_REG=7 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo P1_SP3R1----------------- : $((((DATA & 0x80)) >> 7)) +echo P1_SP3R2_R--------------- : $((((DATA & 0x40)) >> 6)) +echo PSU1_BLADE_EN_R_N-------- : $((((DATA & 0x20)) >> 5)) +echo SLOT1_CLKREQ_N----------- : $((((DATA & 0x10)) >> 4)) +echo SLOT1_PRSNT_N------------ : $((((DATA & 0x08)) >> 3)) +echo SLOT2_CLKREQ_N----------- : $((((DATA & 0x04)) >> 2)) +echo SLOT2_PRSNT_N------------ : $((((DATA & 0x02)) >> 1)) +echo SMB_M2_S0_ALERT_N-------- : $((DATA & 0x01)) + +FPGA_REG=8 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo SMB_M2_S1_ALERT_N-------- : $((((DATA & 0x80)) >> 7)) +echo FM_BMC_READ_SPD_TEMP----- : $((((DATA & 0x40)) >> 6)) +echo PWR_ALL_ON_N------------- : $((((DATA & 0x20)) >> 5)) +echo I2C_SELECT_CPLD---------- : $((((DATA & 0x10)) >> 4)) +echo CPLD_PWRBRK_N------------ : $((((DATA & 0x08)) >> 3)) +echo FM_PWRBRK_N-------------- : $((((DATA & 0x04)) >> 2)) +echo PSU1_THROTTLE_N---------- : $((((DATA & 0x02)) >> 1)) +echo PSU2_ALERT_EN_N---------- : $((DATA & 0x01)) + +FPGA_REG=9 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo PSU2_ALERT_N------------- : $((((DATA & 0x80)) >> 7)) +echo RM_THROTTLE_EN_N----- ----: $((((DATA & 0x40)) >> 6)) +echo FM_P1V8_AUX_P0_EN-------- : $((((DATA & 0x20)) >> 5)) +echo FM_P1V8_AUX_P1_EN-------- : $((((DATA & 0x10)) >> 4)) +echo FM_P1V8_P0_EN------------ : $((((DATA & 0x08)) >> 3)) +echo FM_P1V8_P1_EN------------ : $((((DATA & 0x04)) >> 2)) +echo FM_P5V_EN---------------- : $((((DATA & 0x02)) >> 1)) +echo FM_PS_P12V_EN------------ : $((DATA & 0x01)) + +FPGA_REG=10 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo FM_PS_P12V_FAN_EN-------- : $((((DATA & 0x80)) >> 7)) +echo FM_PVDDIO_ABCD_EN-------- : $((((DATA & 0x40)) >> 6)) +echo FM_PVDDIO_EFGH_EN-------- : $((((DATA & 0x20)) >> 5)) +echo FM_PVDDIO_IJKL_EN-------- : $((((DATA & 0x10)) >> 4)) +echo FM_PVDDIO_MNOP_EN-------- : $((((DATA & 0x08)) >> 3)) +echo FM_PVPP_ABCD_EN---------- : $((((DATA & 0x04)) >> 2)) +echo FM_PVPP_EFGH_EN---------- : $((((DATA & 0x02)) >> 1)) +echo FM_PVPP_IJKL_EN---------- : $((DATA & 0x01)) + +FPGA_REG=11 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo FM_PVPP_MNOP_EN---------- : $((((DATA & 0x80)) >> 7)) +echo P0_VDDCR_CPU_EN1--------- : $((((DATA & 0x40)) >> 6)) +echo P0_VDDCR_CPU_PWROK_R----- : $((((DATA & 0x20)) >> 5)) +echo P0_VDDCR_SOC_AUX_EN------ : $((((DATA & 0x10)) >> 4)) +echo P0_VDDCR_SOC_EN1--------- : $((((DATA & 0x08)) >> 3)) +echo P0_VDDCR_SOC_PWROK_R----- : $((((DATA & 0x04)) >> 2)) +echo P1_VDDCR_CPU_EN1--------- : $((((DATA & 0x02)) >> 1)) +echo P1_VDDCR_CPU_PWROK_R----- : $((DATA & 0x01)) + +FPGA_REG=12 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo P1_VDDCR_SOC_AUX_EN------ : $((((DATA & 0x80)) >> 7)) +echo P1_VDDCR_SOC_EN1--------- : $((((DATA & 0x40)) >> 6)) +echo P1_VDDCR_SOC_PWROK_R----- : $((((DATA & 0x20)) >> 5)) +echo PVTT_ABCD_EN------------- : $((((DATA & 0x10)) >> 4)) +echo PVTT_EFGH_EN------------- : $((((DATA & 0x08)) >> 3)) +echo PVTT_IJKL_EN------------- : $((((DATA & 0x04)) >> 2)) +echo PVTT_MNOP_EN------------- : $((((DATA & 0x02)) >> 1)) +echo VR_P3V3_EN_N------------- : $((DATA & 0x01)) + +FPGA_REG=13 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo ASSERT_P0_PWROK_L------- : $((((DATA & 0x80)) >> 7)) +echo ASSERT_P1_PWROK_L------- : $((((DATA & 0x40)) >> 6)) +echo HDT_HDR_PWROK----------- : $((((DATA & 0x20)) >> 5)) +echo P0_33_PWROK------------- : $((((DATA & 0x10)) >> 4)) +echo P0_PWR_GOOD------------- : $((((DATA & 0x08)) >> 3)) +echo P0_PWRGD_OUT------------ : $((((DATA & 0x04)) >> 2)) +echo P0_VDDCR_CPU_PG1-------- : $((((DATA & 0x02)) >> 1)) +echo P0_VDDCR_SOC_PG1-------- : $((DATA & 0x01)) + +FPGA_REG=14 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo P1_33_PWROK------------- : $((((DATA & 0x80)) >> 7)) +echo P1_PWR_GOOD------------- : $((((DATA & 0x40)) >> 6)) +echo P1_PWRGD_OUT------------ : $((((DATA & 0x20)) >> 5)) +echo P1_VDDCR_CPU_PG1-------- : $((((DATA & 0x10)) >> 4)) +echo P1_VDDCR_SOC_PG1-------- : $((((DATA & 0x08)) >> 3)) +echo P3V3_AUX_PWRGD---------- : $((((DATA & 0x04)) >> 2)) +echo PWRGD_BMC_ALL----------- : $((((DATA & 0x02)) >> 1)) +echo PWRGD_P0_VDDCR_SOC_AUX-- : $((DATA & 0x01)) + +FPGA_REG=15 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo PWRGD_P1_VDDCR_SOC_AUX-- : $((((DATA & 0x80)) >> 7)) +echo PWRGD_P12V-------------- : $((((DATA & 0x40)) >> 6)) +echo PWRGD_P12V_FAN_R-------- : $((((DATA & 0x20)) >> 5)) +echo PWRGD_P1V8_AUX_P0------- : $((((DATA & 0x10)) >> 4)) +echo PWRGD_P1V8_AUX_P1------- : $((((DATA & 0x08)) >> 3)) +echo PWRGD_P1V8_P0----------- : $((((DATA & 0x04)) >> 2)) +echo PWRGD_P1V8_P1----------- : $((((DATA & 0x02)) >> 1)) +echo PWRGD_P3V3_R3----------- : $((DATA & 0x01)) + +FPGA_REG=16 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo PWRGD_P5V_CPLD_R-------- : $((((DATA & 0x80)) >> 7)) +echo PWRGD_PVDDIO_ABCD------- : $((((DATA & 0x40)) >> 6)) +echo PWRGD_PVDDIO_EFGH------- : $((((DATA & 0x20)) >> 5)) +echo PWRGD_PVDDIO_IJKL------- : $((((DATA & 0x10)) >> 4)) +echo PWRGD_PVDDIO_MNOP------- : $((((DATA & 0x08)) >> 3)) +echo PWRGD_PVPP_ABCD--------- : $((((DATA & 0x04)) >> 2)) +echo PWRGD_PVPP_EFGH--------- : $((((DATA & 0x02)) >> 1)) +echo PWRGD_PVPP_IJKL--------- : $((DATA & 0x01)) + +FPGA_REG=17 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo PWRGD_PVPP_MNOP--------- : $((((DATA & 0x80)) >> 7)) +echo PWRGD_PVTT_ABCD--------- : $((((DATA & 0x40)) >> 6)) +echo PWRGD_PVTT_EFGH--------- : $((((DATA & 0x20)) >> 5)) +echo PWRGD_PVTT_IJKL--------- : $((((DATA & 0x10)) >> 4)) +echo PWRGD_PVTT_MNOP--------- : $((((DATA & 0x08)) >> 3)) +echo PWRGD_SYS_BMC_PWROK----- : $((((DATA & 0x04)) >> 2)) +echo P0_SLP_S3_N------------- : $((((DATA & 0x02)) >> 1)) +echo P0_SLP_S5_N------------- : $((DATA & 0x01)) + +FPGA_REG=18 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo PSU2_PS_ON_N----------- : $((((DATA & 0x80)) >> 7)) +echo BMC_PWRCAP_N----------- : $((((DATA & 0x40)) >> 6)) +echo CPLD_FPH_ALERT_R_N----- : $((((DATA & 0x20)) >> 5)) +echo FAST_PROCHOT_R_N------- : $((((DATA & 0x10)) >> 4)) +echo FM_THROTTLE_IN_N------- : $((((DATA & 0x08)) >> 3)) +echo HSC_GPIO0_PLD_N-------- : $((((DATA & 0x04)) >> 2)) +echo HSC_GPIO1_PLD_N-------- : $((((DATA & 0x02)) >> 1)) +echo P0_BMC_PROCHOT_N------- : $((DATA & 0x01)) + +FPGA_REG=19 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo P1_BMC_PROCHOT_N------- : $((((DATA & 0x80)) >> 7)) +echo PMB_ALERT_SW_N--------- : $((((DATA & 0x40)) >> 6)) +echo RM_THROTTLE_SW_N------- : $((((DATA & 0x20)) >> 5)) +echo RST_PLTRST_DLY--------- : $((((DATA & 0x10)) >> 4)) +echo UV_ALERT_R_N----------- : $((((DATA & 0x08)) >> 3)) +echo ASSERT_P0_RESET-------- : $((((DATA & 0x04)) >> 2)) +echo ASSERT_P1_RESET-------- : $((((DATA & 0x02)) >> 1)) +echo HDT_HDR_RESET_L-------- : $((DATA & 0x01)) + +FPGA_REG=20 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo RST_CPLD_BMC_R_N------- : $((((DATA & 0x80)) >> 7)) +echo RST_CPU_1V8_N---------- : $((((DATA & 0x40)) >> 6)) +echo RST_KBRST_P0_N--------- : $((((DATA & 0x20)) >> 5)) +echo RST_P0_3V3_N----------- : $((((DATA & 0x10)) >> 4)) +echo RST_P0_PE0_N----------- : $((((DATA & 0x08)) >> 3)) +echo RST_P0_PE1_N----------- : $((((DATA & 0x04)) >> 2)) +echo RST_P0_PE2_N----------- : $((((DATA & 0x02)) >> 1)) +echo RST_P0_PE3_N,---------- : $((DATA & 0x01)) + +FPGA_REG=21 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo RST_P0_SASHD_0_R_N----- : $((((DATA & 0x80)) >> 7)) +echo RST_P0_SASHD_1_R_N----- : $((((DATA & 0x40)) >> 6)) +echo RST_P1_3V3_N----------- : $((((DATA & 0x20)) >> 5)) +echo RST_P1_OCU1_R_N-------- : $((((DATA & 0x10)) >> 4)) +echo RST_P1_PE0_N----------- : $((((DATA & 0x08)) >> 3)) +echo RST_P1_PE1_N----------- : $((((DATA & 0x04)) >> 2)) +echo RST_P1_PE2_N----------- : $((((DATA & 0x02)) >> 1)) +echo RST_P1_PE3_N,---------- : $((DATA & 0x01)) + +FPGA_REG=22 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo RST_BMC_RSTBTN_OUT_N_CPLD : $((((DATA & 0x80)) >> 7)) +echo RST_PE_NVME0_N----------- : $((((DATA & 0x40)) >> 6)) +echo RST_PE_NVME1_N----------- : $((((DATA & 0x20)) >> 5)) +echo RST_PE_NVME2_N----------- : $((((DATA & 0x10)) >> 4)) +echo RST_PE_NVME3_N----------- : $((((DATA & 0x08)) >> 3)) +echo RST_PE_SLOT1_N----------- : $((((DATA & 0x04)) >> 2)) +echo RST_PE_SLOT2_N----------- : $((((DATA & 0x02)) >> 1)) +echo RST_PE_SLOT3_N----------- : $((DATA & 0x01)) + +FPGA_REG=23 +DATA=$(i2cget -y $I2CBUS $FPGAADDR "$(printf '0x%x' $FPGA_REG)") +echo ----------FPGAreg$FPGA_REG------------------------- +echo RST_PE_SLOT4_N----------- : $((((DATA & 0x80)) >> 7)) +echo RST_PE_SLOT5_N----------- : $((((DATA & 0x40)) >> 6)) +echo RST_RSMRST_P0_N---------- : $((((DATA & 0x20)) >> 5)) +echo RST_RSMRST_P1_N---------- : $((((DATA & 0x10)) >> 4)) +echo RST_SYSTEM_BTN_CPLD_N---- : $((((DATA & 0x08)) >> 3)) +echo RST_VSBPWR_BMC_BUF_N----- : $((((DATA & 0x04)) >> 2)) diff --git a/meta-amd/recipes-phosphor/console/obmc-console/daytonax/server.ttyVUART0.conf b/meta-amd/recipes-phosphor/console/obmc-console/daytonax/server.ttyVUART0.conf new file mode 100644 index 0000000000..8dc694362a --- /dev/null +++ b/meta-amd/recipes-phosphor/console/obmc-console/daytonax/server.ttyVUART0.conf @@ -0,0 +1,3 @@ +lpc-address = 0x3f8 +sirq = 4 +baud = 115200 diff --git a/meta-amd/recipes-phosphor/console/obmc-console_%.bbappend b/meta-amd/recipes-phosphor/console/obmc-console_%.bbappend index 92148bd349..1b0e753a8f 100644 --- a/meta-amd/recipes-phosphor/console/obmc-console_%.bbappend +++ b/meta-amd/recipes-phosphor/console/obmc-console_%.bbappend @@ -1,8 +1,10 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}/${MACHINE}:" OBMC_CONSOLE_HOST_TTY:ethanolx = "ttyS0" +OBMC_CONSOLE_HOST_TTY:daytonax = "ttyVUART0" SRC_URI:remove = "file://${BPN}.conf" SRC_URI:ethanolx += "file://server.ttyS0.conf" +SRC_URI:daytonax += "file://server.ttyVUART0.conf" do_install:append() { # Remove upstream-provided configuration diff --git a/meta-amd/recipes-phosphor/logging/phosphor-hostlogger/daytonax/ttyVUART0.conf b/meta-amd/recipes-phosphor/logging/phosphor-hostlogger/daytonax/ttyVUART0.conf new file mode 100644 index 0000000000..c75186415a --- /dev/null +++ b/meta-amd/recipes-phosphor/logging/phosphor-hostlogger/daytonax/ttyVUART0.conf @@ -0,0 +1,7 @@ +SOCKET_ID= +BUF_MAXSIZE=3000 +BUF_MAXTIME=0 +FLUSH_FULL=false +HOST_STATE=/xyz/openbmc_project/state/host0 +OUT_DIR=/var/lib/obmc/hostlogs +MAX_FILES=10 diff --git a/meta-amd/recipes-phosphor/logging/phosphor-hostlogger_%.bbappend b/meta-amd/recipes-phosphor/logging/phosphor-hostlogger_%.bbappend index 503408ae04..372b08dd97 100644 --- a/meta-amd/recipes-phosphor/logging/phosphor-hostlogger_%.bbappend +++ b/meta-amd/recipes-phosphor/logging/phosphor-hostlogger_%.bbappend @@ -2,7 +2,8 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}/${MACHINE}:" # Default service instance to install (single-host mode) DEFAULT_INSTANCE:ethanolx = "ttyS0" +DEFAULT_INSTANCE:daytonax = "ttyVUART0" SRC_URI:remove = "file://${BPN}.conf" SRC_URI:ethanolx += "file://ttyS0.conf" - +SRC_URI:daytonax += "file://ttyVUART0.conf" |