diff options
author | Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> | 2023-08-22 12:09:25 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2023-10-12 22:11:59 +0300 |
commit | 94e158308f6abbaaa52a78d3e8d7c39bfe27719b (patch) | |
tree | 8ce10ad62dfb8a0b6b8fced19ea837eb5076bebc /meta-aspeed/OWNERS | |
parent | 8fc47a6e2730f04f7954197576112dace1d4ba70 (diff) | |
download | openbmc-94e158308f6abbaaa52a78d3e8d7c39bfe27719b.tar.xz |
meta-facebook: yosemite4: Support sled power cycle
Description:
- Support sled power cycle
- Revise 12v power control and host power control
Design:
- Add sled power cycle action as chassis 0 by setting virtual i/o exp output port.
- Revise gpio setting and command parameter for 12v power control and host power control.
Test Case:
- Set sled cycle by phosphor-state-manager: pass
- Set 12V on/off/cycle by phosphor-state-manager: pass
- Set host on/off/cycle/reset by phosphor-state-manager: pass
Test Log:
root@yosemite4:~# 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"
root@yosemite4:~# journalctl --since "20 second ago"
Jul 28 07:03:44 yosemite4 phosphor-chassis-state-manager[349]: Change to Chassis Requested Power State: xyz.openbmc_project.State.Chassis.Transition.PowerCycle
Jul 28 07:03:44 yosemite4 systemd[1]: Created slice Slice /system/chassis-powercycle.
Jul 28 07:03:44 yosemite4 systemd[1]: Starting Chassis Power Cycle: 0...
Jul 28 07:03:45 yosemite4 chassis-powercycle[661]: Starting sled cycle...
Change-Id: I6cdb26a2fd8d4d445ca41302d070a369a40c79dd
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
Diffstat (limited to 'meta-aspeed/OWNERS')
0 files changed, 0 insertions, 0 deletions