Initial commit
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Phosphor-Pid-Control Margin-based Fan Control Daemon
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
ExecStart={bindir}/swampd
|
||||
RestartSec=5
|
||||
StartLimitInterval=0
|
||||
Type=simple
|
||||
|
||||
[Install]
|
||||
WantedBy=basic.target
|
||||
@@ -0,0 +1,5 @@
|
||||
FILESEXTRAPATHS:prepend:intel := "${THISDIR}/${PN}:"
|
||||
|
||||
inherit obmc-phosphor-systemd
|
||||
SYSTEMD_SERVICE:${PN}:intel = "phosphor-pid-control.service"
|
||||
EXTRA_OECONF:intel = "--enable-configure-dbus=yes"
|
||||
@@ -0,0 +1,4 @@
|
||||
EXTRA_OEMESON += "-Dredfish-cpu-log=enabled \
|
||||
-Dredfish-bmc-journal=enabled \
|
||||
-Drest=disabled"
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
do_install:append:intel(){
|
||||
install -d ${D}${includedir}/phosphor-ipmi-host
|
||||
install -m 0644 -D ${S}/sensorhandler.hpp ${D}${includedir}/phosphor-ipmi-host
|
||||
install -m 0644 -D ${S}/selutility.hpp ${D}${includedir}/phosphor-ipmi-host
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"channels": [
|
||||
{
|
||||
"type": "me",
|
||||
"slave-path": "/dev/ipmb-5",
|
||||
"bmc-addr": 32,
|
||||
"remote-addr": 44
|
||||
},
|
||||
{
|
||||
"type": "ipmb",
|
||||
"slave-path": "/dev/ipmb-13",
|
||||
"bmc-addr": 32,
|
||||
"remote-addr": 56
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
SRC_URI:append = " file://ipmb-channels.json"
|
||||
|
||||
do_install:append(){
|
||||
install -m 0644 -D ${WORKDIR}/ipmb-channels.json \
|
||||
${D}${datadir}/ipmbbridge
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "Phosphor LED Group Management for Intel"
|
||||
PR = "r1"
|
||||
|
||||
inherit obmc-phosphor-utils
|
||||
inherit native
|
||||
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
||||
|
||||
PROVIDES += "virtual/phosphor-led-manager-config-native"
|
||||
|
||||
SRC_URI += "file://led.yaml"
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
SRC=${S}
|
||||
DEST=${D}${datadir}/phosphor-led-manager
|
||||
install -D ${SRC}/led.yaml ${DEST}/led.yaml
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
bmc_booted:
|
||||
|
||||
power_on:
|
||||
|
||||
status_ok:
|
||||
status_green:
|
||||
Action: 'On'
|
||||
status_amber:
|
||||
Action: 'Off'
|
||||
|
||||
status_degraded:
|
||||
status_green:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 1000
|
||||
status_amber:
|
||||
Action: 'Off'
|
||||
|
||||
status_non_critical:
|
||||
status_green:
|
||||
Action: 'Off'
|
||||
status_amber:
|
||||
Action: 'Blink'
|
||||
DutyOn: 50
|
||||
Period: 1000
|
||||
|
||||
status_critical:
|
||||
status_green:
|
||||
Action: 'Off'
|
||||
status_amber:
|
||||
Action: 'On'
|
||||
|
||||
enclosure_identify:
|
||||
identify:
|
||||
Action: 'On'
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:append:intel = " log-threshold"
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"customKeyEnable": true,
|
||||
"keyType" : "VT100+",
|
||||
"customConsoleDisplaySize": {
|
||||
"width": 100,
|
||||
"height": 32
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
FILESEXTRAPATHS:prepend:intel := "${THISDIR}/${PN}:"
|
||||
|
||||
SRC_URI:append:intel = " file://config.json"
|
||||
|
||||
do_compile:prepend:intel() {
|
||||
cp -r ${WORKDIR}/config.json ${S}/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user