summaryrefslogtreecommitdiff
path: root/meta-fii/meta-kudo/recipes-kudo/host/files
AgeCommit message (Collapse)AuthorFilesLines
2021-12-06meta-fii/meta-kudo: Add ampere-host-reset.serviceCharles Boyer1-4/+13
1. ampere-host-power-cycle.service will force off host followed by force on. 2. ampere-host-reset.service will pulse the sysreset pin Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I4736c82f8f462a21650d5abba55c036a05da8e25
2021-11-13meta-fii/meta-kudo: Fix syntax error ampere_power_util.sh fileavenash.thambi1-1/+1
The ampere_power_util.sh file has a syntax error of missing double quotes in a echo print. This is a follow up to the gerrit commit https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/48477 Signed-off-by: Mustafa Shehabi <mustafa.shehabi@fii-na.com> Signed-off-by: avenash.thambi <avenash.thambi@fii-usa.com> Change-Id: Iff734c390507201c2d539dc6468de09a888623c7
2021-11-11meta-fii/meta-kudo: Add power button supportCharles Boyer1-1/+23
Adds support for Power On for power button press and Power Off when holding the power button. This is a temporary and rudimentary method to handle button presses. The intention is to eventually use phosphor-buttons with Nuvoton support. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: Iede64f89c716102a688880280c11ff7f3068021b
2021-11-11meta-fii/meta-kudo: Customize chassis power cycle actionCharles Boyer1-1/+7
Instead of a host or chassis restart for a Chassis PowerCycle, have both the BMC and host perform a hard reset. This requires changes to phosphor-state-manager to add the handling of xyz.openbmc_project.State.Chassis.Transition.PowerCycle. Currently, there is handling for On and Off, but not PowerCycle. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I3d934c47a68899b2fd8fcba966f8d92c97554a77
2021-11-09meta-fii/meta-kudo: Fix power control states and timingCharles Boyer1-50/+60
Summary of changes: 1. Adjust start time of xyz.openbmc_project.State.Chassis.service to fix initial chassis state 2. Add shutdown ack service 3. Remove reset ack service 4. Remove heartbeat mode 5. Remove sysreset pin control from power_control.exe 6. Remove all phosphor-fan services that caused power off during a system reset 7. Adjustments to ampere_power_util.sh (See below) ampere_power_util.sh: 1. Use GPIO instead of dbus for host state 2. Wait 3 seconds before checking power status for power on 3. Wait 6 seconds before checking power status for power off 4. Have force_off act GPIO while power_off sets Chassis state 5. Graceful shutdown acts GPIO 6. Check host status before issuing system reset 7. Set Watchdog Expire Action to None before power off and reset Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: Ie2720ee60d489c4160165c6827a78a400ae4d30b
2021-08-03meta-fii/meta-kudo: Use phosphor-state-managerMohaimen Alsamarai1-0/+117
Added 1. phosphor-state-manager 2. ampere-hostctrl 3. Nuvoton chip and skeleton GPIO support in obmc-libobmc-intf 5. obmcutil support Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: I2628a0cab35a9be5afd702cc6269932c0c901e6a