diff options
Diffstat (limited to 'meta-quanta/meta-runbmc-nuvoton/recipes-phosphor')
9 files changed, 0 insertions, 492 deletions
diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/console/files/obmc-console.conf b/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/console/files/obmc-console.conf deleted file mode 100644 index f99eaff470..0000000000 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/console/files/obmc-console.conf +++ /dev/null @@ -1 +0,0 @@ -baud = 57600 diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend b/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend deleted file mode 100644 index 5967ce1bba..0000000000 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend +++ /dev/null @@ -1,12 +0,0 @@ -SUMMARY = "Nuvoton OpenBMC console daemon" -DESCRIPTION = "Nuvoton Daemon to handle UART console connections" -HOMEPAGE = "http://github.com/openbmc/obmc-console" -PR = "r1" - -FILESEXTRAPATHS_prepend := "${THISDIR}/files:" - -OBMC_CONSOLE_HOST_TTY := "ttyS2" - -do_build_append() { - install -m 0644 ${THISDIR}/files/${PN}.conf ${WORKDIR}/${PN}.conf -} diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/config-runbmc-nuvoton.json b/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/config-runbmc-nuvoton.json deleted file mode 100644 index 5a78db6eee..0000000000 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/config-runbmc-nuvoton.json +++ /dev/null @@ -1,400 +0,0 @@ -{ - "sensors" : [ - { - "name": "fan1", - "type": "fan", - "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan1", - "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm1", - "min": 0, - "max": 255 - }, - { - "name": "Core_0_CPU0", - "type": "temp", - "readPath": "/xyz/openbmc_project/sensors/temperature/Core_0_CPU0", - "writePath": "", - "min": 0, - "max": 0, - "timeout": 0 - }, - { - "name": "Core_0_CPU1", - "type": "temp", - "readPath": "/xyz/openbmc_project/sensors/temperature/Core_0_CPU1", - "writePath": "", - "min": 0, - "max": 0, - "timeout": 0 - }, - { - "name": "Core_1_CPU0", - "type": "temp", - "readPath": "/xyz/openbmc_project/sensors/temperature/Core_1_CPU0", - "writePath": "", - "min": 0, - "max": 0, - "timeout": 0 - }, - { - "name": "Core_1_CPU1", - "type": "temp", - "readPath": "/xyz/openbmc_project/sensors/temperature/Core_1_CPU1", - "writePath": "", - "min": 0, - "max": 0, - "timeout": 0 - }, - { - "name": "Core_2_CPU0", - "type": "temp", - "readPath": "/xyz/openbmc_project/sensors/temperature/Core_2_CPU0", - "writePath": "", - "min": 0, - "max": 0, - "timeout": 0 - }, - { - "name": "Core_2_CPU1", - "type": "temp", - "readPath": "/xyz/openbmc_project/sensors/temperature/Core_2_CPU1", - "writePath": "", - "min": 0, - "max": 0, - "timeout": 0 - }, - { - "name": "Core_3_CPU0", - "type": "temp", - "readPath": "/xyz/openbmc_project/sensors/temperature/Core_3_CPU0", - "writePath": "", - "min": 0, - "max": 0, - "timeout": 0 - }, - { - "name": "Core_3_CPU1", - "type": "temp", - "readPath": "/xyz/openbmc_project/sensors/temperature/Core_3_CPU1", - "writePath": "", - "min": 0, - "max": 0, - "timeout": 0 - }, - { - "name": "Core_4_CPU0", - "type": "temp", - "readPath": "/xyz/openbmc_project/sensors/temperature/Core_4_CPU0", - "writePath": "", - "min": 0, - "max": 0, - "timeout": 0 - }, - { - "name": "Core_4_CPU1", - "type": "temp", - "readPath": "/xyz/openbmc_project/sensors/temperature/Core_4_CPU1", - "writePath": "", - "min": 0, - "max": 0, - "timeout": 0 - }, - { - "name": "Core_5_CPU0", - "type": "temp", - "readPath": "/xyz/openbmc_project/sensors/temperature/Core_5_CPU0", - "writePath": "", - "min": 0, - "max": 0, - "timeout": 0 - }, - { - "name": "Core_5_CPU1", - "type": "temp", - "readPath": "/xyz/openbmc_project/sensors/temperature/Core_5_CPU1", - "writePath": "", - "min": 0, - "max": 0, - "timeout": 0 - } - ], - "zones" : [ - { - "id": 0, - "minThermalOutput": 0.0, - "failsafePercent": 100.0, - "pids": [ - { - "name": "fan1", - "type": "fan", - "inputs": ["fan1"], - "setpoint": 40.0, - "pid": { - "samplePeriod": 1.0, - "proportionalCoeff": 0.0, - "integralCoeff": 0.0, - "feedFwdOffsetCoeff": 0.0, - "feedFwdGainCoeff": 1.0, - "integralLimit_min": 0.0, - "integralLimit_max": 0.0, - "outLim_min": 3.0, - "outLim_max": 100.0, - "slewNeg": 0.0, - "slewPos": 0.0 - } - }, - { - "name": "Core_0_CPU0", - "type": "temp", - "inputs": ["Core_0_CPU0"], - "setpoint": 30.0, - "pid": { - "samplePeriod": 1.0, - "proportionalCoeff": -20.0, - "integralCoeff": -0.1, - "feedFwdOffsetCoeff": 0.0, - "feedFwdGainCoeff": 0.0, - "integralLimit_min": 0.0, - "integralLimit_max": 0.0, - "outLim_min": 0.0, - "outLim_max": 16000.0, - "slewNeg": 0.0, - "slewPos": 0.0, - "positiveHysteresis": 1.0, - "negativeHysteresis": 1.0 - } - }, - { - "name": "Core_0_CPU1", - "type": "temp", - "inputs": ["Core_0_CPU1"], - "setpoint": 30.0, - "pid": { - "samplePeriod": 1.0, - "proportionalCoeff": -20.0, - "integralCoeff": -0.1, - "feedFwdOffsetCoeff": 0.0, - "feedFwdGainCoeff": 0.0, - "integralLimit_min": 0.0, - "integralLimit_max": 0.0, - "outLim_min": 0.0, - "outLim_max": 16000.0, - "slewNeg": 0.0, - "slewPos": 0.0, - "positiveHysteresis": 1.0, - "negativeHysteresis": 1.0 - } - }, - { - "name": "Core_1_CPU0", - "type": "temp", - "inputs": ["Core_1_CPU0"], - "setpoint": 30.0, - "pid": { - "samplePeriod": 1.0, - "proportionalCoeff": -20.0, - "integralCoeff": -0.1, - "feedFwdOffsetCoeff": 0.0, - "feedFwdGainCoeff": 0.0, - "integralLimit_min": 0.0, - "integralLimit_max": 0.0, - "outLim_min": 0.0, - "outLim_max": 16000.0, - "slewNeg": 0.0, - "slewPos": 0.0, - "positiveHysteresis": 1.0, - "negativeHysteresis": 1.0 - } - }, - { - "name": "Core_1_CPU1", - "type": "temp", - "inputs": ["Core_1_CPU1"], - "setpoint": 30.0, - "pid": { - "samplePeriod": 1.0, - "proportionalCoeff": -20.0, - "integralCoeff": -0.1, - "feedFwdOffsetCoeff": 0.0, - "feedFwdGainCoeff": 0.0, - "integralLimit_min": 0.0, - "integralLimit_max": 0.0, - "outLim_min": 0.0, - "outLim_max": 16000.0, - "slewNeg": 0.0, - "slewPos": 0.0, - "positiveHysteresis": 1.0, - "negativeHysteresis": 1.0 - } - }, - { - "name": "Core_2_CPU0", - "type": "temp", - "inputs": ["Core_2_CPU0"], - "setpoint": 30.0, - "pid": { - "samplePeriod": 1.0, - "proportionalCoeff": -20.0, - "integralCoeff": -0.1, - "feedFwdOffsetCoeff": 0.0, - "feedFwdGainCoeff": 0.0, - "integralLimit_min": 0.0, - "integralLimit_max": 0.0, - "outLim_min": 0.0, - "outLim_max": 16000.0, - "slewNeg": 0.0, - "slewPos": 0.0, - "positiveHysteresis": 1.0, - "negativeHysteresis": 1.0 - } - }, - { - "name": "Core_2_CPU1", - "type": "temp", - "inputs": ["Core_2_CPU1"], - "setpoint": 30.0, - "pid": { - "samplePeriod": 1.0, - "proportionalCoeff": -20.0, - "integralCoeff": -0.1, - "feedFwdOffsetCoeff": 0.0, - "feedFwdGainCoeff": 0.0, - "integralLimit_min": 0.0, - "integralLimit_max": 0.0, - "outLim_min": 0.0, - "outLim_max": 16000.0, - "slewNeg": 0.0, - "slewPos": 0.0, - "positiveHysteresis": 1.0, - "negativeHysteresis": 1.0 - } - }, - { - "name": "Core_3_CPU0", - "type": "temp", - "inputs": ["Core_3_CPU0"], - "setpoint": 30.0, - "pid": { - "samplePeriod": 1.0, - "proportionalCoeff": -20.0, - "integralCoeff": -0.1, - "feedFwdOffsetCoeff": 0.0, - "feedFwdGainCoeff": 0.0, - "integralLimit_min": 0.0, - "integralLimit_max": 0.0, - "outLim_min": 0.0, - "outLim_max": 16000.0, - "slewNeg": 0.0, - "slewPos": 0.0, - "positiveHysteresis": 1.0, - "negativeHysteresis": 1.0 - } - }, - { - "name": "Core_3_CPU1", - "type": "temp", - "inputs": ["Core_3_CPU1"], - "setpoint": 30.0, - "pid": { - "samplePeriod": 1.0, - "proportionalCoeff": -20.0, - "integralCoeff": -0.1, - "feedFwdOffsetCoeff": 0.0, - "feedFwdGainCoeff": 0.0, - "integralLimit_min": 0.0, - "integralLimit_max": 0.0, - "outLim_min": 0.0, - "outLim_max": 16000.0, - "slewNeg": 0.0, - "slewPos": 0.0, - "positiveHysteresis": 1.0, - "negativeHysteresis": 1.0 - } - }, - { - "name": "Core_4_CPU0", - "type": "temp", - "inputs": ["Core_4_CPU0"], - "setpoint": 30.0, - "pid": { - "samplePeriod": 1.0, - "proportionalCoeff": -20.0, - "integralCoeff": -0.1, - "feedFwdOffsetCoeff": 0.0, - "feedFwdGainCoeff": 0.0, - "integralLimit_min": 0.0, - "integralLimit_max": 0.0, - "outLim_min": 0.0, - "outLim_max": 16000.0, - "slewNeg": 0.0, - "slewPos": 0.0, - "positiveHysteresis": 1.0, - "negativeHysteresis": 1.0 - } - }, - { - "name": "Core_4_CPU1", - "type": "temp", - "inputs": ["Core_4_CPU1"], - "setpoint": 30.0, - "pid": { - "samplePeriod": 1.0, - "proportionalCoeff": -20.0, - "integralCoeff": -0.1, - "feedFwdOffsetCoeff": 0.0, - "feedFwdGainCoeff": 0.0, - "integralLimit_min": 0.0, - "integralLimit_max": 0.0, - "outLim_min": 0.0, - "outLim_max": 16000.0, - "slewNeg": 0.0, - "slewPos": 0.0, - "positiveHysteresis": 1.0, - "negativeHysteresis": 1.0 - } - }, - { - "name": "Core_5_CPU0", - "type": "temp", - "inputs": ["Core_5_CPU0"], - "setpoint": 30.0, - "pid": { - "samplePeriod": 1.0, - "proportionalCoeff": -20.0, - "integralCoeff": -0.1, - "feedFwdOffsetCoeff": 0.0, - "feedFwdGainCoeff": 0.0, - "integralLimit_min": 0.0, - "integralLimit_max": 0.0, - "outLim_min": 0.0, - "outLim_max": 16000.0, - "slewNeg": 0.0, - "slewPos": 0.0, - "positiveHysteresis": 1.0, - "negativeHysteresis": 1.0 - } - }, - { - "name": "Core_5_CPU1", - "type": "temp", - "inputs": ["Core_5_CPU1"], - "setpoint": 30.0, - "pid": { - "samplePeriod": 1.0, - "proportionalCoeff": -20.0, - "integralCoeff": -0.1, - "feedFwdOffsetCoeff": 0.0, - "feedFwdGainCoeff": 0.0, - "integralLimit_min": 0.0, - "integralLimit_max": 0.0, - "outLim_min": 0.0, - "outLim_max": 16000.0, - "slewNeg": 0.0, - "slewPos": 0.0, - "positiveHysteresis": 1.0, - "negativeHysteresis": 1.0 - } - } - ] - } - ] -} diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/fan-full-speed.sh b/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/fan-full-speed.sh deleted file mode 100644 index 9a0d8e2e7d..0000000000 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/fan-full-speed.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!bin/bash - -echo 255 > /sys/class/hwmon/*/pwm1 diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/fan-reboot-control.service b/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/fan-reboot-control.service deleted file mode 100644 index 3ce2e01b02..0000000000 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/fan-reboot-control.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Set Fan to Full Speed as Rebooting -DefaultDependencies=no -After=shutdown.target - -[Service] -Type=oneshot -RemainAfterExit=true -ExecStart=/usr/bin/fan-full-speed.sh - -[Install] -WantedBy=shutdown.target diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/phosphor-pid-control.service b/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/phosphor-pid-control.service deleted file mode 100644 index 57ae69c567..0000000000 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/phosphor-pid-control.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=OpenBMC Fan Control Daemon - -[Service] -Type=simple -ExecStart=/usr/bin/swampd -Restart=always -RestartSec=5 -StartLimitInterval=0 -ExecStopPost=/usr/bin/fan-full-speed.sh - -[Install] -WantedBy=basic.target diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control_%.bbappend b/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control_%.bbappend deleted file mode 100644 index 5d7e0f9774..0000000000 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control_%.bbappend +++ /dev/null @@ -1,29 +0,0 @@ -FILESEXTRAPATHS_prepend_runbmc-nuvoton := "${THISDIR}/${PN}:" - -SRC_URI_append_runbmc-nuvoton = " file://config-runbmc-nuvoton.json" -SRC_URI_append_runbmc-nuvoton = " file://fan-full-speed.sh" -SRC_URI_append_runbmc-nuvoton = " file://phosphor-pid-control.service" -SRC_URI_append_runbmc-nuvoton = " file://fan-reboot-control.service" - -FILES_${PN}_append_runbmc-nuvoton = " ${bindir}/fan-full-speed.sh" -FILES_${PN}_append_runbmc-nuvoton = " ${datadir}/swampd/config.json" - -RDEPENDS_${PN} += "bash" - -SYSTEMD_SERVICE_${PN}_append_runbmc-nuvoton = " phosphor-pid-control.service" -SYSTEMD_SERVICE_${PN}_append_runbmc-nuvoton = " fan-reboot-control.service" - -do_install_append_runbmc-nuvoton() { - install -d ${D}/${bindir} - install -m 0755 ${WORKDIR}/fan-full-speed.sh ${D}/${bindir} - - install -d ${D}${datadir}/swampd - install -m 0644 -D ${WORKDIR}/config-runbmc-nuvoton.json \ - ${D}${datadir}/swampd/config.json - - install -d ${D}${systemd_unitdir}/system/ - install -m 0644 ${WORKDIR}/phosphor-pid-control.service \ - ${D}${systemd_unitdir}/system - install -m 0644 ${WORKDIR}/fan-reboot-control.service \ - ${D}${systemd_unitdir}/system -} diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-runbmc-channels.json b/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-runbmc-channels.json deleted file mode 100644 index 45100bd1da..0000000000 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-runbmc-channels.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "channels": [ - { - "type": "me", - "master-path": "/dev/i2c-5", - "slave-path": "/sys/bus/i2c/devices/5-1010/slave-mqueue", - "bmc-addr": 32, - "remote-addr": 44 - } - ] -} diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend b/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend deleted file mode 100644 index ef0838e103..0000000000 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend +++ /dev/null @@ -1,11 +0,0 @@ -FILESEXTRAPATHS_prepend_runbmc-nuvoton := "${THISDIR}/${PN}:" - -SRC_URI_append_runbmc-nuvoton = " file://ipmb-runbmc-channels.json" -FILES_${PN}_append_runbmc-nuvoton = " ${datadir}/ipmbbridge/ipmb-channels.json" - -do_install_append_runbmc-nuvoton() { - install -d ${D}${datadir}/ipmbbridge - install -m 0644 -D ${WORKDIR}/ipmb-runbmc-channels.json \ - ${D}${datadir}/ipmbbridge/ipmb-channels.json -} - |