diff options
| author | Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> | 2023-07-26 08:30:52 +0300 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2023-08-07 08:56:57 +0300 |
| commit | ad82d62bdfb9654c353df82b518d2bff1df42eab (patch) | |
| tree | c4ab0c61d8fc02da4df8fd2fa87c21b970a6f299 /meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch | |
| parent | c87d6d998b25ad4e0266130e613d8dc71ebf0945 (diff) | |
| download | openbmc-ad82d62bdfb9654c353df82b518d2bff1df42eab.tar.xz | |
meta-facebook: yosemite4: Support host and chassis power control
Description:
- Support host and chassis power control by setting dbus property from phosphor-state-manager
Design:
- Add host/chassis power control services and scripts
- chassis power control:
- do 12V power on/off/cycle by setting virtual i/o exp output port.
Limitation:
- Implementation of host power control and sled cycle are not support for now.
- Host power control will be implemented after both BMC/BIC support PDLM commands.
- Sled cycle will be implemented after power control between CPLD and HSC was ready.
Test Case:
- host power on:
- command:
- busctl set-property xyz.openbmc_project.State.Host8 /xyz/openbmc_project/state/host8 xyz.openbmc_project.State.Host RequestedHostTransition s "xyz.openbmc_proct.State.Host.Transition.On"
- show "Host power on is not support for now" in journal
- host power off:
- command:
- busctl set-property xyz.openbmc_project.State.Host8 /xyz/openbmc_project/state/host8 xyz.openbmc_project.State.Host RequestedHostTransition s "xyz.openbmc_project.State.Host.Transition.Off"
- show "Host power off is not support for now" in journal
- host power cycle:
- command:
- busctl set-property xyz.openbmc_project.State.Host8 /xyz/openbmc_project/state/host8 xyz.openbmc_project.State.Host RequestedHostTransition s "xyz.openbmc_project.State.Host.Transition.Powercycle"
- show "Host power cycle is not support for now" in journal
- host power reset:
- command:
- busctl set-property xyz.openbmc_project.State.Host8 /xyz/openbmc_project/state/host8 xyz.openbmc_project.State.Host RequestedHostTransition s "xyz.openbmc_project.State.Host.Transition.ForceWarmReboot"
- show "Host power reset is not support for now" in journal
- chassis power on:
- command:
- busctl set-property xyz.openbmc_project.State.Chassis8 /xyz/openbmc_project/state/chassis8 xyz.openbmc_project.State.Chassis RequestedPowerTransition s "xyz.openbmc_project.State.Chassis.Transition.On"
- show chassis-poweron started in journal
- chassis power off:
- command:
- busctl set-property xyz.openbmc_project.State.Chassis8 /xyz/openbmc_project/state/chassis8 xyz.openbmc_project.State.Chassis RequestedPowerTransition s "xyz.openbmc_project.State.Chassis.Transition.Off"
- show chassis-poweroff started in journal
- chassis power cycle:
- command:
- busctl set-property xyz.openbmc_project.State.Chassis8 /xyz/openbmc_project/state/chassis8 xyz.openbmc_project.State.Chassis RequestedPowerTransition s "xyz.openbmc_project.State.Chassis.Transition.PowerCycle"
- show chassis-powecycle started in journal
- sled cycle:
- command:
- busctl set-property xyz.openbmc_project.State.Chassis0 /xyz/openbmc_project/state/chassis0 xyz.openbmc_project.State.Chassis RequestedPowerTransition s "xyz.openbmc_project.State.Chassis.Transition.PowerCycle
- show "SLED-cycle is not support for now" in journal
Change-Id: I021e2c438974765bebeff6c7ed7e7d5b56c586a3
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch')
0 files changed, 0 insertions, 0 deletions
