summaryrefslogtreecommitdiff
path: root/meta-facebook/meta-yosemite4/conf
AgeCommit message (Collapse)AuthorFilesLines
2023-08-07meta-facebook: yosemite4: Support host and chassis power controlDelphine CC Chiu1-0/+2
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>
2023-08-07meta-facebook: yosemitev4: enable MCTPDelphine CC Chiu1-0/+1
Add DISTRO_FEATURES 'mctp' for yosemitev4. This adds the `mctp` tool and `mctpd`. We should be able to setup and manage MCTP network. Tested: `mctp` tool and `mctpd` work for mctp binding. Change-Id: Ie0d7b1f494d4d25e4bd0f9eb86de3202c8e0f555 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2023-08-07meta-facebook: yosemite4: Initial commitDelphine CC Chiu5-0/+311
Initial commit for platform Yosemite V4. Tested: Build Success. Change-Id: Ifb1e77c9dd8f4e5faaebe41a362076089c72e65f Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>