summaryrefslogtreecommitdiff
path: root/meta-amd/meta-ethanolx/recipes-phosphor
AgeCommit message (Collapse)AuthorFilesLines
2021-09-10meta-amd: fix compilation errors with latest YoctoKonstantin Aladyshev7-12/+12
Make the following changes to fix compilation errors: - add honister to the LAYERSERIES_COMPAT variable, - increase CONF_VERSION to 2, - use new bitbake override syntax Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I971f0f0f7110e0350994ced151ca429444885056
2021-08-30meta-ethanolx: Fix CPU fan names in IPMI YAML fileKonstantin Aladyshev1-2/+2
The BMC on the AMD Ethanol CRB uses entity-manager for sensor configuration. Therefore IPMI configuration YAML file should use DBus paths to sensors based on the names from the entity-manager JSON files. Currently 'ethanolx-chassis.json' exports CPU fans on a DBus as "P0_Fan"/"P1_Fan". Use these names to correctly populate CPU fans to the IPMI. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I0425e42771e1bfb36ad067dfcad5a23e5f180d67
2021-08-30meta-ethanolx: Add support for Legacy/EFI selectorKonstantin Aladyshev1-0/+1
AMD EthanolX CRB is a board with x86-64 CPU, which means it can support both EFI and Legacy boot. Add 'boot_type' PACKAGECONFIG option for the phosphor-settings-manager package to support EFI/Legacy selector in the BMC boot override feature. This setting is designed for the possibility of setting boot override as: - "PC compatible" boot (legacy) - Extensible Firmware Interface Boot (EFI) Change-Id: I173c5b439b929e80f3a106f5e7775862f889ee16 Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
2021-08-30meta-ethanolx: Support AST2500 internal ADC sensorKonstantin Aladyshev3-0/+214
Populate ADC sensor data to the system. This change make ADC data accessible over DBus, IPMI, Redfish and webui-vue. The threshold values were calculated as 10% from the target values. The "PowerState: On" entity-manager parameter on the "*_RUN" channels is used to make thresholds active only when the board is powered on. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I5322e83fdbfa0815bed454ea81b83725a2221d2c
2021-08-30meta-ethanolx: Support voltage regulatorsKonstantin Aladyshev2-0/+1732
Populate voltage regulator sensors to the system. This change make voltage regulator data accessible over DBus, IPMI, Redfish and webui-vue. AMD EthanolX CRB has 4 voltage regulators per each of its CPUs (P0/P1): -ISL69147 - Px VDD core regulator -ISL69144 - Px VDD SoC regulator -ISL68127 - Px VDD Mem / VPP ABCD regulator -ISL68127 - Px VDD Mem / VPP EFGH regulator All of these voltage regulators are 1st generation multiphase devices. They can be covered with a ISL68137 Linux driver initialized with a "isl68137" parameter, which would bring the necessary "raa_dmpvr1_2rail" initialization. The threshold values were spoofed from the original voltage regulators configuration in the AMD EthanolX CRB. The "PowerState: On" entity-manager parameter is used to make thresholds active only when the board is powered on. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I123db2e356f525e0d269aef780d34d218209592a
2021-08-30meta-ethanolx: Support SB-TSI sensorsKonstantin Aladyshev2-0/+106
Populate SB-TSI CPU sensors to the system. This change make SB-TSI CPU sensors accessible over DBus, IPMI, Redfish and webui-vue. The entity-manager configuration make use of "PowerState: On" parameter as SB-TSI sensors are active only with a powered on CPU. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I80390bb0baa291e7a9d5b49b2e9542cef719da69
2021-08-30meta-ethanolx: Enable only necessary dbus-sensors appsKonstantin Aladyshev1-0/+5
On the AMD EthanolX CRB only few of the dbus-sensors apps are relevant. The rest of them aren't needed and will only waste cpu time and produce ambiguous fail messages at the initilization stage. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I9ce01d93d79b40386a59757244e8b9b8a6008289
2021-08-25meta-ethanolx: Add blacklist file for the 'fru-device' appKonstantin Aladyshev1-0/+3
Some I2C addresses can't be probed for a FRU. For example, device at this address can be already connected to a driver or the I2C bus is not scannable like the APML bus. In this case 'fru-device' app will be producing messages like this: 'fru-device[XXX]: device at bus X address XX busy' To avoid these unnecessary log messages add I2C bus blacklist json file for the 'fru-device' app. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I0618943c9362117d9931defa1e17bcd999621197
2021-05-06meta-ethanolx: Add support for system fansKonstantin Aladyshev3-0/+366
Add system fans to entity manager configuration files and to IPMI YAML configuration files. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Ib86a09553073b6ecf112232ca939758ecc5516c9
2021-05-06meta-ethanolx: Remove 'phosphor-hwmon' app and its configuration filesKonstantin Aladyshev10-107/+0
As now 'entity-manager' and 'dbus-sensors' apps are used for the sensor monitoring, 'phosphor-hwmon' app and its configuration files are no longer needed. Moreover if 'phosphor-hwmon' app is present alongside with the 'dbus-sensors' app, it would produce duplicate sensors on Redfish. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I251663a05a8447ad84e13855c02284930ba8d8f4
2021-04-22build phosphor-hwmon with mesonMatt Spinler1-1/+1
The repository supports it, so switch it over in bitbake. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
2021-04-21meta-amd: Add entity-manager configurations for AMD EthanolXKonstantin Aladyshev3-0/+367
Add entity-manager baseboard and chassis json configurations for AMD EthanolX. bb append entity-manager recipe to include above files. Sigened-off-by: Supreeth Venkatesh <supreeth.venkatesh@amd.com> Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I766be9587149fe54034ff8e01aa1013797f873a9
2020-11-20meta-ethanolx: Add 'channel_config.json' fileKonstantin Aladyshev1-0/+178
Add 'channel_config.json' file with configuration settings for the AMD EthanolX Customer Reference Board (From meta-amd rev: 6ea0bb93cc31d9caeb876411849229c8c49c1a2a) Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I42bbb4f3593e51f845a28e2d7b6c2e040c299819 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-03Use correct coefficients for IPMI sensorsKonstantin Aladyshev1-11/+11
Temperature values are presented as floats on Dbus and therefore don't need any 'scale' coefficients. Fan sensors on the other side have great values (0-10000) and therefore need M=40 (40*256=10240). (From meta-amd rev: c1fb9be8aa6168838eebc2da6fe6f22a0d56daf9) Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I76cf4f098df06b8cb0a6b6440364795b9c830e2a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-03Use correct type for Dbus sensor interface in IPMI sensors YAML filesKonstantin Aladyshev1-10/+10
Dbus sensor interface 'xyz.openbmc_project.Sensor.Value' migrated from int to double. Therefore all old 'int64_t' types in "*-ipmi-sensor.yaml" files for this interface should be changed to 'double'. (From meta-amd rev: 5f837d4db1ec886e7616ad3f457d260aa39135a5) Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I19cb7daf287a9ff77c571c0a82ff7ae7a83fe50f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-09meta-amd: subtree update:0ec4f9ff17..496d83825eBrad Bishop20-0/+1306
Supreeth Venkatesh (22): meta-amd: Add recipe for power control. meta-amd: Override watchdog recipe. meta-amd: Override fans and sel-logger recipes. meta-amd: Define OpenBMC AMD package group applications. meta-amd: Add Linux kernel recipe for EthanolX. meta-amd: EthanolX platform configuration meta-amd: Enable bmcweb and phosphor-webui meta-amd: Enable LED Group Management for Ethanolx meta-amd: Enable OOB BMC firmware update meta-amd: Enable SOL host console meta-amd: Modify device tree to enable thermal sensors for EthanolX meta-amd: Enable hwmon to monitor thermal sensors and fan meta-amd: Enable ipmi fru and sensor configuration meta-amd: Add ipmi config, host and fru .bbappend files meta-amd: Add entity-manager and ipmitool modules meta-amd:linux: Added I2c0 and I2c1 which cater to AMD's APML Interface meta-amd: Remove device tree patch meta-amd: Add device tree patch meta-amd: Add chassis control application meta-amd: Add phosphor host logger application meta-amd: Add fan tach sensor for fan 0 and fan 1 meta-amd: Remove bmcweb bbappend file Change-Id: I53d6f4be203eefce1475d588b55fdf785b2b2024 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>