diff options
Diffstat (limited to 'meta-ieisystems')
12 files changed, 1247 insertions, 0 deletions
diff --git a/meta-ieisystems/meta-fp5280g3/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend b/meta-ieisystems/meta-fp5280g3/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend index c118d925e8..e0bd907a4d 100644 --- a/meta-ieisystems/meta-fp5280g3/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend +++ b/meta-ieisystems/meta-fp5280g3/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend @@ -13,6 +13,7 @@ RDEPENDS:${PN}-extras:append = " \ phosphor-virtual-sensor \ libmctp \ tzdata-core \ + iei-ipmi-oem \ " RDEPENDS:${PN}-devtools:append = " \ diff --git a/meta-ieisystems/meta-nf5280m7/conf/layer.conf b/meta-ieisystems/meta-nf5280m7/conf/layer.conf new file mode 100644 index 0000000000..f0f36da335 --- /dev/null +++ b/meta-ieisystems/meta-nf5280m7/conf/layer.conf @@ -0,0 +1,11 @@ +# 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 += "nf5280m7-layer" +BBFILE_PATTERN_nf5280m7-layer = "^${LAYERDIR}/" +LAYERSERIES_COMPAT_nf5280m7-layer = "nanbield scarthgap" + diff --git a/meta-ieisystems/meta-nf5280m7/conf/machine/nf5280m7.conf b/meta-ieisystems/meta-nf5280m7/conf/machine/nf5280m7.conf new file mode 100644 index 0000000000..2f020adde1 --- /dev/null +++ b/meta-ieisystems/meta-nf5280m7/conf/machine/nf5280m7.conf @@ -0,0 +1,17 @@ +# Add a device tree for nf5280m7 +KMACHINE = "aspeed" +KERNEL_DEVICETREE = " \ + aspeed/${KMACHINE}-bmc-ieisystems-${MACHINE}.dtb \ +" + +UBOOT_MACHINE = "ast2600_openbmc_spl_defconfig" +UBOOT_DEVICETREE = "ast2600-evb" +# UBOOT_DEVICETREE = "${UMACHINE}-ieisystems-${MACHINE}" +SPL_BINARY = "spl/u-boot-spl.bin" + +require conf/machine/include/ast2600.inc +require conf/machine/include/obmc-bsp-common.inc + +FLASH_SIZE = "65536" + +SOCSEC_SIGN_ENABLE = "0" diff --git a/meta-ieisystems/meta-nf5280m7/conf/templates/default/bblayers.conf.sample b/meta-ieisystems/meta-nf5280m7/conf/templates/default/bblayers.conf.sample new file mode 100644 index 0000000000..6297743d11 --- /dev/null +++ b/meta-ieisystems/meta-nf5280m7/conf/templates/default/bblayers.conf.sample @@ -0,0 +1,20 @@ +# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +LCONF_VERSION = "8" + +BBPATH = "${TOPDIR}" +BBFILES ?= "" + +BBLAYERS ?= " \ + ##OEROOT##/meta \ + ##OEROOT##/meta-openembedded/meta-oe \ + ##OEROOT##/meta-openembedded/meta-networking \ + ##OEROOT##/meta-openembedded/meta-perl \ + ##OEROOT##/meta-openembedded/meta-python \ + ##OEROOT##/meta-security \ + ##OEROOT##/meta-phosphor \ + ##OEROOT##/meta-aspeed \ + ##OEROOT##/meta-ieisystems \ + ##OEROOT##/meta-ieisystems/meta-nf5280m7 \ + " + diff --git a/meta-ieisystems/meta-nf5280m7/conf/templates/default/conf-notes.txt b/meta-ieisystems/meta-nf5280m7/conf/templates/default/conf-notes.txt new file mode 100644 index 0000000000..9b3c01a556 --- /dev/null +++ b/meta-ieisystems/meta-nf5280m7/conf/templates/default/conf-notes.txt @@ -0,0 +1,2 @@ +Common targets are: + obmc-phosphor-image diff --git a/meta-ieisystems/meta-nf5280m7/conf/templates/default/local.conf.sample b/meta-ieisystems/meta-nf5280m7/conf/templates/default/local.conf.sample new file mode 100644 index 0000000000..033b6bbde2 --- /dev/null +++ b/meta-ieisystems/meta-nf5280m7/conf/templates/default/local.conf.sample @@ -0,0 +1,17 @@ +MACHINE ??= "nf5280m7" +DISTRO ?= "openbmc-phosphor" +PACKAGE_CLASSES ?= "package_ipk" +SANITY_TESTED_DISTROS:append ?= " *" +EXTRA_IMAGE_FEATURES ?= "debug-tweaks" +USER_CLASSES ?= "buildstats" +PATCHRESOLVE = "noop" +BB_DISKMON_DIRS ??= "\ + STOPTASKS,${TMPDIR},1G,100K \ + STOPTASKS,${DL_DIR},1G,100K \ + STOPTASKS,${SSTATE_DIR},1G,100K \ + STOPTASKS,/tmp,100M,100K \ + HALT,${TMPDIR},100M,1K \ + HALT,${DL_DIR},100M,1K \ + HALT,${SSTATE_DIR},100M,1K \ + HALT,/tmp,10M,1K" +CONF_VERSION = "2" diff --git a/meta-ieisystems/meta-nf5280m7/recipes-kernel/linux/linux-aspeed/nf5280m7/nf5280m7.cfg b/meta-ieisystems/meta-nf5280m7/recipes-kernel/linux/linux-aspeed/nf5280m7/nf5280m7.cfg new file mode 100644 index 0000000000..e1299422a2 --- /dev/null +++ b/meta-ieisystems/meta-nf5280m7/recipes-kernel/linux/linux-aspeed/nf5280m7/nf5280m7.cfg @@ -0,0 +1,39 @@ +CONFIG_BONDING=y +CONFIG_SENSORS_EMC1403=y +CONFIG_SENSORS_ADC128D818=y +CONFIG_SENSORS_MP2888=y +CONFIG_SENSORS_INA2XX=y +CONFIG_IPMB_DEVICE_INTERFACE=y + +CONFIG_PECI=y +CONFIG_PECI_ASPEED=y +CONFIG_PECI_CHARDEV=y +CONFIG_MFD_INTEL_PECI_CLIENT=y +CONFIG_SENSORS_PECI_CPUTEMP=y +CONFIG_SENSORS_PECI_DIMMTEMP=y +CONFIG_SENSORS_PECI_CPUPOWER=y +CONFIG_SENSORS_PECI_DIMMPOWER=y +CONFIG_SENSORS_PECI_PLATFORMPOWER=y + +# Used by nftables configurations +# copied from gbmc +CONFIG_NETFILTER=y +CONFIG_NF_CONNTRACK=y +CONFIG_NF_CONNTRACK_MARK=y +CONFIG_NF_TABLES=y +CONFIG_NFT_CT=y +CONFIG_NF_TABLES_INET=y +CONFIG_NFT_REJECT=y +CONFIG_NFT_LOG=y +CONFIG_IP_NF_IPTABLES=y +CONFIG_NF_LOG_IPV4=y +CONFIG_NFT_FIB_IPV4=y +CONFIG_IP_NF_FILTER=y +CONFIG_IP_NF_TARGET_REJECT=y +CONFIG_IP6_NF_IPTABLES=y +CONFIG_NF_LOG_IPV6=y +CONFIG_NFT_FIB_IPV6=y +CONFIG_IP6_NF_FILTER=y +CONFIG_IP6_NF_TARGET_REJECT=y + +CONFIG_PANIC_TIMEOUT=900 diff --git a/meta-ieisystems/meta-nf5280m7/recipes-kernel/linux/linux-aspeed_%.bbappend b/meta-ieisystems/meta-nf5280m7/recipes-kernel/linux/linux-aspeed_%.bbappend new file mode 100644 index 0000000000..6a0c70228b --- /dev/null +++ b/meta-ieisystems/meta-nf5280m7/recipes-kernel/linux/linux-aspeed_%.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" + +SRC_URI:append: = " \ + file://nf5280m7.cfg \ +" diff --git a/meta-ieisystems/meta-nf5280m7/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json b/meta-ieisystems/meta-nf5280m7/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json new file mode 100644 index 0000000000..eef9cf4a46 --- /dev/null +++ b/meta-ieisystems/meta-nf5280m7/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json @@ -0,0 +1,1062 @@ +{ + "leds": [ + { + "group": "bmc_booted", + "members": [ + { + "Name": "heartbeat", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "On" + } + ] + }, + { + "group": "power_on", + "members": [ + { + "Name": "heartbeat", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "enclosure_identify_blink", + "members": [ + { + "Name": "identify", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "On" + } + ] + }, + { + "group": "enclosure_identify", + "members": [ + { + "Name": "identify", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "system_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "system_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "dimm0_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "memory_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "dimm0_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "dimm0_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "memory_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "dimm0_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "dimm1_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "memory_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "dimm1_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "dimm1_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "memory_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "dimm1_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "dimm2_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "memory_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "dimm2_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "dimm2_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "memory_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "dimm2_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "dimm3_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "memory_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "dimm3_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "dimm3_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "memory_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "dimm3_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "dimm4_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "memory_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "dimm4_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "dimm4_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "memory_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "dimm4_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "dimm5_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "memory_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "dimm5_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "dimm5_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "memory_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "dimm5_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "dimm6_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "memory_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "dimm6_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "dimm6_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "memory_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "dimm6_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "dimm7_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "memory_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "dimm7_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "dimm7_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "memory_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "dimm7_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { + "group": "powersupply_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "psu_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "powersupply_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "psu_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "fan_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "fan_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "fan_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "fan_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "system_hot_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "system_hot_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "system_hot_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "system_hot_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd0_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "hdd0-led0", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd0_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "hdd0-led0", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd1_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "hdd1-led0", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd1_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "hdd1-led0", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd2_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "hdd2-led0", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd2_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "hdd2-led0", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd3_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "hdd3-led0", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd3_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "hdd3-led0", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd4_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "hdd4-led0", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd4_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "hdd4-led0", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd5_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "hdd5-led0", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd5_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "hdd5-led0", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd6_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "hdd6-led0", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd6_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "hdd6-led0", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd7_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "hdd7-led0", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd7_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "hdd7-led0", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd8_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "hdd8-led0", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd8_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "hdd8-led0", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd9_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "hdd9-led0", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd9_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "hdd9-led0", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd10_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "hdd10-led0", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd10_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "hdd10-led0", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd11_fault_critical", + "members": [ + { + "Name": "system_fault", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + }, + { + "Name": "hdd11-led0", + "Action": "Blink", + "DutyOn": 50, + "Period": 1000, + "Priority": "Blink" + } + ] + }, + { + "group": "hdd11_fault_warning", + "members": [ + { + "Name": "system_fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + }, + { + "Name": "hdd11-led0", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "Blink" + } + ] + } + ] +} diff --git a/meta-ieisystems/meta-nf5280m7/recipes-phosphor/leds/phosphor-led-manager_%.bbappend b/meta-ieisystems/meta-nf5280m7/recipes-phosphor/leds/phosphor-led-manager_%.bbappend new file mode 100644 index 0000000000..6b12a398f7 --- /dev/null +++ b/meta-ieisystems/meta-nf5280m7/recipes-phosphor/leds/phosphor-led-manager_%.bbappend @@ -0,0 +1,7 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" + +SRC_URI:append = " file://led-group-config.json" + +do_install:append() { + install -m 0644 ${WORKDIR}/led-group-config.json ${D}${datadir}/phosphor-led-manager/ +} diff --git a/meta-ieisystems/meta-nf5280m7/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend b/meta-ieisystems/meta-nf5280m7/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend new file mode 100644 index 0000000000..3586206559 --- /dev/null +++ b/meta-ieisystems/meta-nf5280m7/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend @@ -0,0 +1,42 @@ +SUMMARY = "OpenBMC for IEISystems - Applications" +PR = "r1" + +inherit packagegroup + +PROVIDES = "${PACKAGES}" +PACKAGES += " \ + ${PN}-chassis \ + ${PN}-fans \ + ${PN}-flash \ + ${PN}-system \ + " + +PROVIDES += "virtual/obmc-chassis-mgmt" +PROVIDES += "virtual/obmc-fan-mgmt" +PROVIDES += "virtual/obmc-flash-mgmt" +PROVIDES += "virtual/obmc-system-mgmt" + +RPROVIDES:${PN}-chassis += "virtual-obmc-chassis-mgmt" +RPROVIDES:${PN}-fans += "virtual-obmc-fan-mgmt" +RPROVIDES:${PN}-flash += "virtual-obmc-flash-mgmt" +RPROVIDES:${PN}-system += "virtual-obmc-system-mgmt" + +SUMMARY:${PN}-chassis = "IEI Chassis" +RDEPENDS:${PN}-chassis = " \ + x86-power-control \ + " + +SUMMARY:${PN}-fans = "IEI Fans" +RDEPENDS:${PN}-fans = " \ + " + +SUMMARY:${PN}-flash = "IEI Flash" +RDEPENDS:${PN}-flash = " \ + " + +SUMMARY:${PN}-system = "IEI System" +RDEPENDS:${PN}-system = " \ + entity-manager \ + iei-ipmi-oem \ + ipmitool \ + " diff --git a/meta-ieisystems/recipes-ieisystems/ipmi/iei-ipmi-oem_git.bb b/meta-ieisystems/recipes-ieisystems/ipmi/iei-ipmi-oem_git.bb new file mode 100644 index 0000000000..4e0f8af8f3 --- /dev/null +++ b/meta-ieisystems/recipes-ieisystems/ipmi/iei-ipmi-oem_git.bb @@ -0,0 +1,24 @@ +SUMMARY = "IEISystems OEM IPMI commands" +DESCRIPTION = "IEISystems OEM IPMI commands" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" + +SRC_URI = "git://github.com/openbmc/iei-ipmi-oem;branch=master;protocol=https" +SRCREV = "0917ac423df7a3ae700bbb21fac32f540cb58682" + +S = "${WORKDIR}/git" +PV = "0.1+git${SRCPV}" + +DEPENDS += "phosphor-ipmi-host" +DEPENDS += "phosphor-logging" + +inherit meson pkgconfig +inherit obmc-phosphor-ipmiprovider-symlink + +PACKAGECONFIG ??= "" + +FILES:${PN}:append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" +FILES:${PN}:append = " ${libdir}/host-ipmid/lib*${SOLIBS}" +FILES:${PN}:append = " ${libdir}/net-ipmid/lib*${SOLIBS}" +FILES:${PN}-dev:append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV}" |