14c474c5 | 24-Apr-2024 |
Sara Lin <sara_sy_lin@wiwynn.com> |
yosemite4: fine tune medusa HSC power and current
ADM1272: current value*4 and power value*4. ADM1281: current value*2 and power value*2.
Testing: 1. Unit tests passed. 2. Get sensor reading passed
yosemite4: fine tune medusa HSC power and current
ADM1272: current value*4 and power value*4. ADM1281: current value*2 and power value*2.
Testing: 1. Unit tests passed. 2. Get sensor reading passed.
Change-Id: Ie55b8f3b55da93ffc28b82e2316ddaa9ac2d1def Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
show more ...
|
b9dbb8c0 | 28-Mar-2024 |
Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> |
schemas: Add Decorator.Revision interface
This adds property `Version` under `xyz.openbmc_project.Inventory. Decorator.Revision` as described in [1]
[1] https://github.com/openbmc/phosphor-dbus-int
schemas: Add Decorator.Revision interface
This adds property `Version` under `xyz.openbmc_project.Inventory. Decorator.Revision` as described in [1]
[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Decorator/Revision.interface.yaml
Change-Id: Icd28f56e2dfccd824cee3ff14b6cbbd0ef17303f Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
show more ...
|
bb8aa370 | 19-Mar-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
schemas: Descriptions must be strings
``` $ python3 -c 'import json; import jsonschema; schema = json.load(open("schemas/global.json")); cls = jsonschema.validators.validator_for(schema); cls.check_
schemas: Descriptions must be strings
``` $ python3 -c 'import json; import jsonschema; schema = json.load(open("schemas/global.json")); cls = jsonschema.validators.validator_for(schema); cls.check_schema(schema)' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 204, in check_schema raise exceptions.SchemaError.create_from(error) jsonschema.exceptions.SchemaError: ['The schema for an entity manager configuration file. An entity ', 'mananger configuration file can consist of a single object, or an ', 'array of objects. Objects must be of type EMConfig.'] is not of type 'string'
Failed validating 'type' in metaschema['properties']['description']: {'type': 'string'}
On schema['description']: ['The schema for an entity manager configuration file. An entity ', 'mananger configuration file can consist of a single object, or an ', 'array of objects. Objects must be of type EMConfig.'] ```
Change-Id: I2b8102e7d6047c8a7e624e182465065268fb8ad9 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
ab725317 | 20-Feb-2024 |
Hieu Huynh <hieuh@os.amperecomputing.com> |
schemas: Add Common.UUID interface
This adds UUID to under xyz.openbmc_project.Common in openbmc-dbus.json which property UUID as described in [1]. This also adds xyz.openbmc_project.Common.UUID to
schemas: Add Common.UUID interface
This adds UUID to under xyz.openbmc_project.Common in openbmc-dbus.json which property UUID as described in [1]. This also adds xyz.openbmc_project.Common.UUID to under EMConfig in global.json so that the interface can be configured in the board's Entity Manager configuration file.
[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Common/UUID.interface.yaml
Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com> Change-Id: I62492928c2268c88754b4946d307022ba63e4c01
show more ...
|
ec42f45b | 15-Feb-2024 |
Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> |
schemas: Add Decorator.Slot interface
This commit adds `Decorator.Slot` in openbmc-dbus.json with property `SlotNumber` as described in https://github.com/openbmc/phosphor-dbus-interfaces/blob/maste
schemas: Add Decorator.Slot interface
This commit adds `Decorator.Slot` in openbmc-dbus.json with property `SlotNumber` as described in https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml\ /xyz/openbmc_project/Inventory/Decorator/Slot.interface.yaml.
This commit also adds `Decorator.Slot` to EMConfig so that the interface can be configured in Entity Manager configuration file.
Change-Id: I098dc476c224fc7fa77c2969d4d1d31f4d0f7af6 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
show more ...
|
692bebd0 | 30-Jan-2024 |
Chau Ly <chaul@amperecomputing.com> |
schemas: legacy: Add Rearm property
This commit adds `Rearm` property to `Aggregate` as a property for Chassis Intrusion Sensor. This is of type enum [Automatic, Manual] and is the method of how the
schemas: legacy: Add Rearm property
This commit adds `Rearm` property to `Aggregate` as a property for Chassis Intrusion Sensor. This is of type enum [Automatic, Manual] and is the method of how the intrusion sensor is rearmed to normal state.
This property was defined in phosphor-dbus-interface [1].
Example: { "Class": "Aspeed2600_Hwmon", "Name": "Chassis_Intrusion_Status", "Rearm": "Manual", "Type": "ChassisIntrusionSensor" }
[1]: https://github.com/openbmc/phosphor-dbus-interfaces/blob/1abc0c57692b679753955b7273c1393369ef4987/yaml/xyz/openbmc_project/Chassis/Intrusion.interface.yaml#L12
Signed-off-by: Chau Ly <chaul@amperecomputing.com> Change-Id: I7815b1e095832769c823177f96eae399eb379f90
show more ...
|
cbf6d01b | 22-Jan-2024 |
Matt Spinler <spinler@us.ibm.com> |
Use common Polarity in schema
Point the definition of the Polarity property in the Presence entry at the common Polarity definition, and also make that an enum since that is how all code uses it.
R
Use common Polarity in schema
Point the definition of the Polarity property in the Presence entry at the common Polarity definition, and also make that an enum since that is how all code uses it.
Recently, CI started failing without this change, though why it started failing is a mystery to me, and the error messages aren't that helpful.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I966974b894a715c563bed3823a6b47b92a7ee94a
show more ...
|
16152b57 | 31-Oct-2023 |
Potin Lai <potin.lai@quantatw.com> |
configurations: Add Minerva Harma system
Introduce initial configuration files for Minerva Harma system
- harma_bsm: BMC storage module - harma_fanboard: Fan board - harma_mb: Motherboard - harma_n
configurations: Add Minerva Harma system
Introduce initial configuration files for Minerva Harma system
- harma_bsm: BMC storage module - harma_fanboard: Fan board - harma_mb: Motherboard - harma_nic: NIC Mezz - harma_scm: SCM board - minerva_pdb: PDB board - minerva_pttv: Power and thermal test vehicle - minerva_sitv: Signal integrity test vehicle
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I7ff14af2d07c21c58b540499b598547c979339f6
show more ...
|
6fa0602d | 24-Sep-2023 |
Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> |
Add mctp eids configuration for Yosemite 4
The MCTP specification is defined in DSP0236. As describe in section 8.17.2, we need a configuration for static EIDs. The `mctpd` from CodeConstuct/mctp wi
Add mctp eids configuration for Yosemite 4
The MCTP specification is defined in DSP0236. As describe in section 8.17.2, we need a configuration for static EIDs. The `mctpd` from CodeConstuct/mctp will be able to know where those static EIDs located. The other services will be able to know what those EIDs stand for by the "Name" as well.
schemas: add `EndpointId` with type `string` and `number`.
Tested: check D-Bus path for configuration. Change-Id: I587f5a69051f783753f5855d2f51242aa1cd5bc4 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
show more ...
|
61854782 | 29-Nov-2023 |
Chau Ly <chaul@amperecomputing.com> |
schemas: Add Decorator.Compatible interface
This commit adds Compatible to under xyz.openbmc_project.Decorator in openbmc-dbus.json with property Names as described in https://github.com/openbmc/pho
schemas: Add Decorator.Compatible interface
This commit adds Compatible to under xyz.openbmc_project.Decorator in openbmc-dbus.json with property Names as described in https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/\ xyz/openbmc_project/Inventory/Decorator/Compatible.interface.yaml. This commit also adds xyz.openbmc_project.Inventory.Decorator.Compatible to under EMConfig in global.json so that the interface can be configured in the board's Entity Manager configuration file. The usage of this interface was mentioned in https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/\ xyz/openbmc_project/Software/README.md#compatibility.
Signed-off-by: Chau Ly <chaul@amperecomputing.com> Change-Id: I447dacb3ffb8dc0dede5d3b17e58cbe06804e214
show more ...
|
82e6a3fd | 08-Aug-2023 |
Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> |
Add mgnt/spider/medusa board sensors for Yosemite 4
- Configure the following type sensors: - adm1272 - adm1281 - adc128d818 - aspeed adc - ina233 - pmbus - tmp75 - tmp421 - Revise condition
Add mgnt/spider/medusa board sensors for Yosemite 4
- Configure the following type sensors: - adm1272 - adm1281 - adc128d818 - aspeed adc - ina233 - pmbus - tmp75 - tmp421 - Revise condition to probe json config for entity-manager
Tested: - Read sensors from entity-manager through dbus
Change-Id: I7d4d8e94aab5f1cbca281e32deab958b593a6930 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
show more ...
|
585d08cc | 07-Nov-2023 |
Zev Weiss <zev@bewilderbeest.net> |
schemas: Expand set of supported hwmon labels
Specifically, iin{1..3}, iout3, pin{1..3}, and temp{2..4}.
Tested: In combination with a configuration for the ASRock E3C256D4I (which uses all of thes
schemas: Expand set of supported hwmon labels
Specifically, iin{1..3}, iout3, pin{1..3}, and temp{2..4}.
Tested: In combination with a configuration for the ASRock E3C256D4I (which uses all of these for an ISL69269 device), scripts/validate_configs.py successfully validates the schema.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Change-Id: I742b453cde4815f788a95f2f9c5c475f8ef3c0f7
show more ...
|
41056ff9 | 12-Sep-2023 |
Patrick Rudolph <patrick.rudolph@9elements.com> |
schemas: Add more names for labels
The MAX5970 has two separate outputs, so add the ability to name both channels. This will be used in the following commit that adds MAX5970 support on SBP1.
All a
schemas: Add more names for labels
The MAX5970 has two separate outputs, so add the ability to name both channels. This will be used in the following commit that adds MAX5970 support on SBP1.
All add to name input current.
Tested: The configuration passes validation.
Change-Id: I28c1c5b6e70fe7b8489e6946cb1a2e2abda12ae8 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
show more ...
|
0422a24b | 22-Feb-2023 |
Josh Lehan <krellan@google.com> |
Add Negative and PositiveHysteresis to PID loop
These were already implemented a very long time ago: https://gerrit.openbmc.org/c/openbmc/phosphor-pid-control/+/17892
Signed-off-by: Josh Lehan <kre
Add Negative and PositiveHysteresis to PID loop
These were already implemented a very long time ago: https://gerrit.openbmc.org/c/openbmc/phosphor-pid-control/+/17892
Signed-off-by: Josh Lehan <krellan@google.com> Change-Id: I9b7e3668a4a5ca86d8c9eeb5bc413dd2bd3ba637
show more ...
|
7499fa6d | 22-Feb-2023 |
Josh Lehan <krellan@google.com> |
Add ZoneIndex to PID zone
Adding ZoneIndex, an optional numeric parameter.
This was already implemented a while ago: https://gerrit.openbmc.org/c/openbmc/phosphor-pid-control/+/36626
Signed-off-by
Add ZoneIndex to PID zone
Adding ZoneIndex, an optional numeric parameter.
This was already implemented a while ago: https://gerrit.openbmc.org/c/openbmc/phosphor-pid-control/+/36626
Signed-off-by: Josh Lehan <krellan@google.com> Change-Id: Id4565599c19f9ebb483b488eeeb51d8e40aa82ad
show more ...
|
04b0b013 | 14-Dec-2021 |
Chris Cain <cjcain@us.ibm.com> |
schema: ibm: add default power mode props. schema
Add PowerModeProperties schema to define the factory default power mode properties of a system: - Power Mode - Idle Power Saver Parameters
All of t
schema: ibm: add default power mode props. schema
Add PowerModeProperties schema to define the factory default power mode properties of a system: - Power Mode - Idle Power Saver Parameters
All of these parameters are part of the version 2021.2 Redfish Schema Supplement under the ComputerSystem 1.16.0 schema: For details on the values and descriptions, see the PowerMode and IdlePowerSaver schemas in the Redfish documentation: https://www.dmtf.org/sites/default/files/standards/documents/DSP0268_2021.2.pdf
These are the factory default values as defined by the system architect. All of these parameters are system-wide parameters and are used to define the operation of that system as it relates to power.
These are the values will be used the first time a system is powered on. They can also be used if the customer wants to restore these settings to their factory defaults.
Signed-off-by: Chris Cain <cjcain@us.ibm.com> Change-Id: Ie2f3ca74db0c898c6a4f3beed29eda674dfcf5c6
show more ...
|
9f591c2a | 08-May-2023 |
Ali El-Haj-Mahmoud <aaelhaj@google.com> |
entity-manager: add `fan1_Name` to the legacy json schema.
PSUSensor already supports renaming the fan sensors. However, schema validation fails at build time because of the undefined token.
Change
entity-manager: add `fan1_Name` to the legacy json schema.
PSUSensor already supports renaming the fan sensors. However, schema validation fails at build time because of the undefined token.
Change-Id: I2faadf8f04f5ca544bbf66b6baa9d576166bf63c Signed-off-by: Ali El-Haj-Mahmoud <aaelhaj@google.com>
show more ...
|
aca73883 | 22-Feb-2023 |
Josh Lehan <krellan@google.com> |
Add InputUnavailableAsFailed and newer to PID
These apply to both PID and Stepwise, and are the same in both.
Adding InputUnavailableAsFailed, an optional boolean parameter, already implemented and
Add InputUnavailableAsFailed and newer to PID
These apply to both PID and Stepwise, and are the same in both.
Adding InputUnavailableAsFailed, an optional boolean parameter, already implemented and merged some time ago: https://gerrit.openbmc.org/c/openbmc/phosphor-pid-control/+/47606
Also adding two new parameters, implemented but not yet merged.
MissingIsAcceptable, optional, an array of strings: https://gerrit.openbmc.org/c/openbmc/phosphor-pid-control/+/60888
TempToMargin, optional, an array of numbers: https://gerrit.openbmc.org/c/openbmc/phosphor-pid-control/+/60303
Signed-off-by: Josh Lehan <krellan@google.com> Change-Id: I8a4193618e980208883e2f2093d72c2a1fe934ec
show more ...
|
48edf9a9 | 21-Feb-2023 |
Andrew Geissler <geissonator@yahoo.com> |
aggregation: add satellite controller schema
This schema will be utilized to add remote satellite controllers to a users system.
bmcweb already has extensive support for utilizing this object. More
aggregation: add satellite controller schema
This schema will be utilized to add remote satellite controllers to a users system.
bmcweb already has extensive support for utilizing this object. More information can be found in the following: https://gerrit.openbmc.org/c/openbmc/bmcweb/+/57925
Tested: - Confirmed a system utilizing new schema worked as expected
Change-Id: Id6172d4f5d2243b95331c5d9076e809ef21de219 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
73963328 | 24-Jan-2023 |
Logananth Sundararaj <logananth_s@hcl.com> |
Add HotPluggable in json file
Added xyz.openbmc_project.Inventory.Decorator.Replaceable interface in configuration file and display under Entity Manager. This configuration will be used for displayi
Add HotPluggable in json file
Added xyz.openbmc_project.Inventory.Decorator.Replaceable interface in configuration file and display under Entity Manager. This configuration will be used for displaying HotPluggable in Redfish.
Tested: Tested and verified in Facebook YosemiteV2 platform.
Change-Id: I00c9998a9bf95b1962d0282826d914cbbc52092d Signed-off-by: Logananth Sundararaj <logananth_s@hcl.com>
show more ...
|
0b5b122f | 31-Jan-2023 |
Adriana Kobylak <anoo@us.ibm.com> |
configurations: Add Bonnell and Pennybacker
Add IBM's Bonnell chassis and its backplane Pennybacker. The IM value for Bonnell is 50004000 as defined by the vpd repo: ``` https://github.com/openbmc/o
configurations: Add Bonnell and Pennybacker
Add IBM's Bonnell chassis and its backplane Pennybacker. The IM value for Bonnell is 50004000 as defined by the vpd repo: ``` https://github.com/openbmc/openpower-vpd-parser/blob/master/const.hpp ``` The CC value for Pennybacker is 2E44. The sensor values for the power supplies are defined in the kernel device tree: ``` https://github.com/openbmc/linux/blob/dev-6.0/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts ```
Tested: Verified that the new json files were added to the rootfs image and that CI passed.
Change-Id: I32c8de73eb4c934da864672677a2a6dae653d241 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
e5c473f7 | 27-Jan-2023 |
Kumar Thangavel <thangavel.k@hcl.com> |
Add FieldReplaceable field in twinlake.json
Added xyz.openbmc_project.Inventory.Decorator.Replaceable interface in twinlake.json configuration file and FieldReplaceable boolean field. This will disp
Add FieldReplaceable field in twinlake.json
Added xyz.openbmc_project.Inventory.Decorator.Replaceable interface in twinlake.json configuration file and FieldReplaceable boolean field. This will display FieldReplaceable in Redfish under chassis path.
Tested: Tested and verified in Facebook YosemiteV2 platform.
Change-Id: Idae9f16d14ef1938a0ec42f80d62a660e0844096 Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
show more ...
|
cbaec708 | 17-Nov-2022 |
BonnieLo-wiwynn <Bonnie_Lo@wiwynn.com> |
configurations: add sensors configurations for greatlakes
Provide sensors configurations for greatlakes. -ADC sensors -HSC sensors -Temperature sensors
Tested: Tested and verified the dbus path nam
configurations: add sensors configurations for greatlakes
Provide sensors configurations for greatlakes. -ADC sensors -HSC sensors -Temperature sensors
Tested: Tested and verified the dbus path names for sensors.
Change-Id: I27690ed134f4594b122b5c8c4aecb8beda0c9e25 Signed-off-by: DelphineCCChiu <Delphine_CC_Chiu@wiwynn.com>
show more ...
|
f7b0b472 | 08-Oct-2022 |
Tao Lin <lintao.lc@inspur.com> |
Add Maximum for calculation sensor uses
Add a type - Maximum for calculation sensor uses.
There are too many NVMe temperature sensors of the same type. The fan speed regulation strategy only requir
Add Maximum for calculation sensor uses
Add a type - Maximum for calculation sensor uses.
There are too many NVMe temperature sensors of the same type. The fan speed regulation strategy only requires a maximum hard disk temperature, which can be used as a PID parameter.
The sensor list does not need to know all the NVMe temperatures, but only the maximum temperature of the NVMe.
For example: In my machine has two sets of NVMes, one is 24 NVMe, the other is 4 NVMe disks, but only the maximum temperature of the two sets is required to participate in PID and display to the customer.
Tested: Need to add code to photoshop-virtual-sensor to calculate sensor value.
usage like: in entity-manager/baseboard.json: add virtual sensor use Type=Maximum: ``` { "Exposes": [ { "Name": "NVMe MAX Temp", "Sensors": [ "NVMe 0 Temp", "NVMe 1 Temp", "NVMe 2 Temp", "NVMe 3 Temp", "NVMe 4 Temp" ], "Thresholds": [ { "Direction": "greater than", "Name": "upper critical", "Severity": 1, "Value": 116 }, { "Direction": "less than", "Name": "lower critical", "Severity": 1, "Value": 1 } ], "Type": "Maximum", "Units": "DegreesC" } ], "Logging": "Off", "Name": "NVMe MAX", "Probe": "TRUE", "Type": "NVMe" } ```
Signed-off-by: Tao Lin <lintao.lc@inspur.com> Change-Id: Id0f2c465200301c95bf54b19f11a5962d662d164
show more ...
|
53172a6a | 05-Dec-2022 |
Bonnie Lo <Bonnie_Lo@wiwynn.com> |
schemas: Add properties for pid and pid_zone
Description:
Add "DCoefficient" in pid.json. Add "AccumulateSetPoint", "CycleIntervalTimeMS", and "UpdateThermalsTimeMS" in pid_zone.json.
These proper
schemas: Add properties for pid and pid_zone
Description:
Add "DCoefficient" in pid.json. Add "AccumulateSetPoint", "CycleIntervalTimeMS", and "UpdateThermalsTimeMS" in pid_zone.json.
These properties are implemented in following commits: https://gerrit.openbmc.org/c/openbmc/phosphor-pid-control/+/58009 https://gerrit.openbmc.org/c/openbmc/phosphor-pid-control/+/58797 https://gerrit.openbmc.org/c/openbmc/phosphor-pid-control/+/59638
Tested: Run run-ci.sh passed.
Change-Id: I8eec6e1f8d0abc7eeff035f206a7465a6e713bae Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
show more ...
|