summaryrefslogtreecommitdiff
path: root/meta-ampere/meta-common/recipes-phosphor/ipmi
AgeCommit message (Collapse)AuthorFilesLines
2023-10-16meta-ampere: mtjade: update scripts with new gpio linenameThu Nguyen2-0/+14
Mt.Jade GPIO line-names are updated to follow naming convention at https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md. This commit updates related scripts to use the correct linenames. Tested: Check below features to work as before: + UEFI and SCP firmware update. + Host power control + Ampere UART mux switch + SCP failover Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Change-Id: I080f844047618327042a7742d3fa6423b62be744
2023-05-12meta-ampere: ipmi: disable dynamic-sensorsThang Q. Nguyen1-3/+0
Both Mt.Jade and Mt.Mitchell platforms use yaml to declare IPMI configuration, not dynamically calculated via entity-manager's minValue and maxValue. So, having dynamic-sensors enabled by default is not correct. Instead of enabling dynamic-sensors for ipmitool fru print to use information from EM, should add more option for this feature instead. Tested: 1. Verify if ipmitool sdr list can report sensor information correctly Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I3d7d4a692e059367e9edea38a6230b4a2112d602
2023-05-11meta-ampere: move ipmi config to commonThang Q. Nguyen3-0/+182
The same channel_config.json and power_reading.json are used across Ampere platforms so move to meta-ampere/meta-common to avoid duplicate. Tested: 1. Check if "ipmitool lan print 1/2/3" works. 2. On Mt.Jade, check if "ipmitool dcmi power reading" works Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I77f401d0b74455c3951fb746f8bea2ddb1c3667b
2023-04-10meta-ampere: remove env call from service fileThang Q. Nguyen1-1/+1
We are suppose to use direct executable calls in service files rather than indirections through /bin/env (See Anti-patterns). Tested: - Check related services to work like before Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: Idb494ce781fa1bdcac176cd89612e6016e6e04d9
2022-11-08ampere-ipmi-oem: srcrev bump db24557c20..2a19152956Andrew Geissler1-1/+1
Thang Tran (1): Support IPMI OEM command to edit BMC MAC Address Change-Id: I0429e47d9831f2cd49bdda344760b28a33c41a19 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-08-16ampere-ipmi-oem: srcrev bump 14b2feea99..db24557c20Andrew Geissler1-1/+1
Thang Q. Nguyen (1): MAINTAINERS: remove file Change-Id: I8d759bba932e9727c4baa0bf914e7e553ef12d24 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-08-09meta-ampere: ampere-ipmi-oem: convert cmake to mesonHieu Huynh1-4/+2
Change build option from cmake to meson as the ampere-ipmi-oem repository already changed to meson build. Tested: - Support Get System Interface Capabilities command - Support Clear Message Flags command - Support IPMI Sync RTC time to BMC command Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com> Change-Id: Ibf9036145069f5867849222c9925720f2c19e00f
2022-08-05ampere-ipmi-oem: srcrev bump 90a4fb85e8..14b2feea99Andrew Geissler1-1/+1
Thang Q. Nguyen (1): OWNERS: switch 'matches' to 'matchers' Change-Id: I36f1b6afb4dc3f569162672028f2506451f26091 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-08-05ampere-ipmi-oem: srcrev bump 4c556399c7..90a4fb85e8Andrew Geissler1-1/+1
Hieu Huynh (1): Convert project to meson and C++20 Change-Id: If7bd84c84c24774f4f310119e6178d987776ae85 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-05-11meta-ampere: adjust phosphor-ipmi-host PACKAGECONFIGPatrick Williams1-1/+1
The bbappend was previously defining a PACKAGECONFIG but that PACKAGECONFIG was already defined in the base recipe. I suspect the intention was to _enable_ the existing PACKAGECONFIG. Adjust accordingly. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9f88451454fc1de8b6bb43caa3657c65cafd3b0d
2022-03-18meta-ampere: move IPMI power soft to commonThang Q. Nguyen3-0/+39
Ampere processor uses ACPI graceful shutdown which is triggered from BMC via a GPIO pin named SHD_REQ. This feature is common for all Ampere platforms. This commit moves the configuration for IPMI power soft to meta-ampere/meta-common so other platforms can use without changes Tested: 1. Do A/C power the system and boot the Host to OS. 2. Run ipmitool chassis power soft 3. Check if the Host is graceful shutdown. Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I8a3425c859c4be077075e6a51f12d50283eacdf7
2022-02-18meta-ampere: ipmi-oem: add missing pkgconfig dependencyThang Q. Nguyen1-1/+1
Add inherit contrain pkgconfig on the ampere-ipmi-oem application so that it can be compiled successfully. Tested: 1. Compile Mt.Jade OpenBMC without error. Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I62c93fbd6f9789e03a961d03c2801e04237b302b
2022-01-25treewide: fix up github SRC_URIsPatrick Williams1-1/+1
Per [1], Yocto is going to start requiring both branch names and `protocol=https` in GitHub SRC_URI variables. Ran the upstream tool to automatically fix our URIs. 1. https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n10 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5f9619f7ff707050b469ae74c8aa16846568c5e4
2021-12-16meta-ampere: mtjade: fru: use dynamic sensorsThang Q. Nguyen1-0/+9
Change to use dynamic sensors for FRU support to take advantage of IPMI fru read/write commands. Tested: 1. Check FRU reading $ ipmitool fru print 2. Write fru.bin into FRU EEPROM Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Signed-off-by: Thang Tran <thuutran@amperecomputing.com> Change-Id: I0d0b52ae7b0fd301a14d0d2894268637d867a5b8
2021-10-26ampere-ipmi-oem: srcrev bump 1463f7013a..4c556399c7Andrew Geissler1-1/+1
Manojkiran Eda (1): Add OWNERS file Change-Id: I60701ca35fc2027fa31db97029d846f9efacc31c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-25meta-ampere: enable ampere-ipmi-oem repoHieu Huynh1-0/+32
Adds the ampere-ipmi-oem.bb file to support ampere-ipmi-oem features. Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com> Change-Id: I869a3e73573dd43103b52640ef3ac2d1912280dc