summaryrefslogtreecommitdiff
path: root/meta-ampere/meta-common/recipes-phosphor/state/phosphor-state-manager
AgeCommit message (Collapse)AuthorFilesLines
2021-09-25meta-ampere: mtjade: clean up unused codesThang Q. Nguyen1-18/+0
There are some redundant codes inside meta-mtjade: - ampere-reset-host-check@.service: no longer be used. - redundant :mtjade in phosphor-software-manager_%.bbappend - Incorrect GPIO function call in ampere_platform_init.sh This commit fixes the above issues. Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: Iadde88ba6472815556a2c0839c1e3e127c2a04d4
2021-08-04meta-ampere: host-check: overide phosphor-reset-host-checkThuBaNguyen1-0/+18
When BMC boots, phosphor-host-check uses the software interfaces(IPMI inband Hearbeat command or PLDM interface) to verify the host state and creates the host on indicator file. Ampere Altra SoCs do not support those software interfaces. They use the GPIO interface. GPIO pin S0_FW_BOOT_OK go high when the host is on. This commit appends ampere-reset-host-check@.service to phosphor-state-manager This service will replaces the role of phosphor-reset-host-check@.service. Tested: 1. Boot up BMC with the host is off/on. 2. Verify the CurrentHostState. Signed-off-by: ThuBaNguyen <thu@os.amperecomputing.com> Change-Id: Ie4f73538266fff7d8c5fd40b437ffebc82cb12c5
2021-02-01meta-ampere: Support Ampere power controlTung Nguyen1-0/+2
Implement the Ampere power control requirements for Altra system. Tested: - Check the ipmi commands: ipmi power on/off/soft/reset/cycle - Check the redfish commands: On, Off, ForceOn, ForceOff, GracefulShutdown, GracefulRestart, ForceRestart, PowerCycle Signed-off-by: Tung Nguyen <tungnguyen@os.amperecomputing.com> Change-Id: Id0c64c1284a6338ce47ca720d0ef75e99d21aa3c