Initial commit
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
DISTRO_FEATURES += "openpower"
|
||||
DISTRO_FEATURES_FILTER_NATIVE += "openpower"
|
||||
DISTRO_FEATURES_FILTER_NATIVESDK += "openpower"
|
||||
DISTROOVERRIDES .= ":df-openpower"
|
||||
|
||||
OBMC_ORG_YAML_SUBDIRS += " org/open_power"
|
||||
@@ -0,0 +1,2 @@
|
||||
DISTRO_FEATURES += "openpower-hostfw-over-pldm"
|
||||
DISTROOVERRIDES .= ":df-openpower-hostfw-over-pldm"
|
||||
@@ -0,0 +1,5 @@
|
||||
require conf/distro/include/phosphor-mrw.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/openpower-fru-inventory:df-mrw ?= "openpower-fru-inventory-mrw-native"
|
||||
PREFERRED_PROVIDER_virtual/openpower-fru-properties:df-mrw ?= "openpower-fru-properties-mrw-native"
|
||||
PREFERRED_PROVIDER_virtual/openpower-occ-control-config-native:df-mrw ?= "openpower-occ-control-config-mrw-native"
|
||||
@@ -0,0 +1,4 @@
|
||||
require conf/distro/include/openpower-virtual-pnor.inc
|
||||
|
||||
DISTRO_FEATURES += "openpower-ubi-fs"
|
||||
DISTROOVERRIDES .= ":df-openpower-ubi-fs"
|
||||
@@ -0,0 +1,2 @@
|
||||
DISTRO_FEATURES += "openpower-virtual-pnor"
|
||||
DISTROOVERRIDES .= ":df-openpower-virtual-pnor"
|
||||
@@ -0,0 +1,3 @@
|
||||
require conf/distro/include/phosphor-base.inc
|
||||
require conf/distro/include/openpower-distrovars.inc
|
||||
require conf/distro/include/phosphor-isolation.inc
|
||||
@@ -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 += "openpower-layer"
|
||||
BBFILE_PATTERN_openpower-layer := "^${LAYERDIR}/"
|
||||
LAYERVERSION_openpower-layer = "1"
|
||||
LAYERDEPENDS_openpower-layer = "core phosphor-layer aspeed-layer"
|
||||
LAYERSERIES_COMPAT_openpower-layer = "langdale mickledore"
|
||||
@@ -0,0 +1,36 @@
|
||||
MACHINE_FEATURES += "\
|
||||
obmc-phosphor-fan-mgmt \
|
||||
obmc-phosphor-chassis-mgmt \
|
||||
obmc-phosphor-flash-mgmt \
|
||||
obmc-host-ipmi \
|
||||
obmc-host-ctl \
|
||||
obmc-host-state-mgmt \
|
||||
obmc-chassis-state-mgmt \
|
||||
obmc-bmc-state-mgmt \
|
||||
"
|
||||
|
||||
# Add OpenPOWER OEM commands handler library
|
||||
VIRTUAL-RUNTIME_phosphor-ipmi-providers:append:df-openpower = " \
|
||||
openpower-ipmi-oem \
|
||||
"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-bt"
|
||||
PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-op-apps"
|
||||
PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-op-apps"
|
||||
PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-op-apps"
|
||||
PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-op-apps"
|
||||
PREFERRED_PROVIDER_virtual/obmc-host-ctl ?= "obmc-op-control-host"
|
||||
PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-hostfw-config ?= "hostboot-inventory-config-native"
|
||||
PREFERRED_PROVIDER_virtual/openpower-fru-vpd-layout ?= "openpower-fru-vpd-layout-native"
|
||||
PREFERRED_PROVIDER_virtual/openpower-fru-inventory ?= "openpower-fru-inventory-example-native"
|
||||
PREFERRED_PROVIDER_virtual/openpower-fru-properties ?= "openpower-fru-properties-example-native"
|
||||
|
||||
# The openpower-occ-control application is data-driven and requires an input
|
||||
# yaml of OCC instance numbers to sensor IDs.
|
||||
# This virtual is a native recipe that provides that mapping by installing
|
||||
# configuration files in the format and native sysroot location expected by
|
||||
# the openpower-occ-control build process in the native sysroot.
|
||||
PREFERRED_PROVIDER_virtual/openpower-occ-control-config-native ?= "openpower-occ-control-config-example-native"
|
||||
|
||||
#Default value for power supply output power efficiency.
|
||||
POWER_SUPPLY_DERATING_FACTOR = "90"
|
||||
@@ -0,0 +1,3 @@
|
||||
include conf/machine/include/ibm-power10-cpu.inc
|
||||
MACHINE_FEATURES += 'op-fsi'
|
||||
PREFERRED_PROVIDER_virtual/obmc-host-ctl = "p9-host-start"
|
||||
@@ -0,0 +1,2 @@
|
||||
include conf/machine/include/ibm-power8-cpu.inc
|
||||
MACHINE_FEATURES += 'i2c-occ'
|
||||
@@ -0,0 +1,3 @@
|
||||
include conf/machine/include/ibm-power9-cpu.inc
|
||||
MACHINE_FEATURES += 'op-fsi p9-cfam-override'
|
||||
PREFERRED_PROVIDER_virtual/obmc-host-ctl = "p9-host-start"
|
||||
Reference in New Issue
Block a user