summaryrefslogtreecommitdiff
path: root/meta-fii/meta-kudo/recipes-kudo/host
AgeCommit message (Collapse)AuthorFilesLines
2021-12-06meta-fii/meta-kudo: Add ampere-host-reset.serviceCharles Boyer4-5/+28
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-24meta-fii/meta-kudo: Remove unused host reset servicesCharles Boyer3-37/+0
The ampere-host-reset.service and ampere-host-force-reset.service are not used. Host is reset with ampere-host-power-cycle.service. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: Ie6c58c5c9d1179d79e5c5be307a37bdb263172ff
2021-11-22meta-fii/meta-kudo: Fix syntax in ampere-hostctrl.bbCharles Boyer1-2/+1
The new yocto syntax was missing from, https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/46289 Also removed an extra empty line from the recipe. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: Id7684b24ecd2a51e7e2a28c10a76b61519ea0872
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-12meta-fii/meta-kudo: Support bios verifyCharles Boyer1-0/+2
Adds support for BIOS verification process to execute before issuing a host reset and boot from AC power. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I31c019a5ea8cb296749f671df15c658a7e2a3b9f
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 Boyer3-1/+22
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 Boyer4-63/+74
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-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams1-7/+7
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement. Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
2021-08-18meta-fii/meta-kudo: follow the new Yocto override syntax changeMohaimen Alsamarai1-2/+2
Changing the syntax for various yocto files ie. (_ to :) changes to bb, bbappend and conf files. Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com> Change-Id: If25577ee9d98398c1a1ab7f85a0373c46af70245
2021-08-03meta-fii/meta-kudo: Use phosphor-state-managerMohaimen Alsamarai9-0/+274
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