#
5d261d3f |
| 18-Feb-2025 |
Chau Ly <chaul@amperecomputing.com> |
meta-ampere: Refactor phosphor-fan and related files
This commit refactors phosphor-fan configurations, overriding services and ampere_fanctrl.sh script for Mt.Jade, Mt.Mitchell and Mt.Jefferson:
1
meta-ampere: Refactor phosphor-fan and related files
This commit refactors phosphor-fan configurations, overriding services and ampere_fanctrl.sh script for Mt.Jade, Mt.Mitchell and Mt.Jefferson:
1. phosphor-fan overriding service files, under 3 platforms are moved to meta-common/ 2. ampere_fanctrl.sh is beautified and added 2 commands for getting speeds of all fans and setting speeds for all fans. 3. phosphor-fan config files for Mt.Jade are moved to a folder ahead instead of being placed in mtjade/. 4. ampere_fanctrl.sh script is added for Mt.Jade but only supports "setspeed all" to replace the ampere_set_fan_max_speed.sh. This ensures a constant behavior among platforms.
This commit also lets platform_init script use ampere_fanctrl.sh to set initial fan speed.
Signed-off-by: Chau Ly <chaul@amperecomputing.com> Change-Id: I4a8f9590ce52aac28fe21b1c6545d53933da747b
show more ...
|
#
abb40c4a |
| 19-Dec-2024 |
hieul.ampere <hieul@amperecomputing.com> |
meta-ampere: Adapt to styhead syntax changes.
Signed-off-by: hieul.ampere <hieul@amperecomputing.com> Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com> Change-Id: I73975d53f8f95c3163c431965
meta-ampere: Adapt to styhead syntax changes.
Signed-off-by: hieul.ampere <hieul@amperecomputing.com> Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com> Change-Id: I73975d53f8f95c3163c431965939b276c98a792b
show more ...
|
Revision tags: 2.18.0-dev |
|
#
deffe1d5 |
| 07-Nov-2024 |
Chau Ly <chaul@amperecomputing.com> |
meta-ampere: mtmitchell: Fan config selection for 1P/2P
There was no way for phosphor-fan to know if it host boots with 1P or 2P, so when it detects absence of any of the thermal sensor used for the
meta-ampere: mtmitchell: Fan config selection for 1P/2P
There was no way for phosphor-fan to know if it host boots with 1P or 2P, so when it detects absence of any of the thermal sensor used for thermal control on Socket 1, it will consider as a sensor failure and set fan PWM to 100%. However, the effort to support GPIO presence detection in phosphor-fan just to decide whether to put one sensor into consideration is big.
There's a need to support 2 different config set for mtmitchell 1P and 2P
Their common config files will be placed in /usr/share/phosphor-fan-presence/<daemon>/mtmitchell/ together with the 2 different files groups_1p.json and groups_2p.json in /usr/share/phosphor-fan-presence/control/mtmitchell/. These two files contains the thermal sensors needed for thermal control in 1P and 2P system which is the only different point between 1P and 2P. The file to be loaded which is groups.json will have the same content as groups_2p.json at build time.
phosphor-fan will read the PrettyName property under the xyz.openbmc_projects.Inventory.Item interface to look for the sub-folder if any config can't be found in the default location.
The property is configured in Entity Manager config so it can be probed together with the Motherboard with the value "mtmitchell". When BMC boots and ampere-platform-init service detects CPU1 presence, it will copy groups_2p.json into groups.json. Otherwise, it will copy groups_1p.json into groups.json.
That way, phosphor-fan can used a different set of thermal sensors for 1P.
Tested: BMC boots on 1P system, in normal condition, fans are not driven to the max speed.
Signed-off-by: Chau Ly <chaul@amperecomputing.com> Change-Id: If67efc4792b3d3295478a892ab73bdd9f3a41fa3
show more ...
|
Revision tags: 2.17.0-dev, 2.16.0-dev, 2.14.0, 2.14.0-rc1, 2.15.0-dev, 2.13.0, 2.14.0-dev, 2.12.0, 2.12.0-rc1 |
|
#
2a98e334 |
| 13-Jun-2022 |
Chau Ly <chaul@amperecomputing.com> |
meta-ampere: mtmitchell: support automatic FAN control
Implement automatic FAN control table provided by ODM. The FAN console service will set Fans to 100% duty cycle in below cases: - Lacking any o
meta-ampere: mtmitchell: support automatic FAN control
Implement automatic FAN control table provided by ODM. The FAN console service will set Fans to 100% duty cycle in below cases: - Lacking any of the fans - Any of the fan tachs is non-functional (not running at the desired target) - Any of the controlling sensors is non-functional (except for pluggable device sensors)
Change-Id: Id7069e0731cb330a9d39c9334d4d20ad4179e9e5 Signed-off-by: Chau Ly <chaul@amperecomputing.com>
show more ...
|