summaryrefslogtreecommitdiff
path: root/meta-ibm/meta-witherspoon
AgeCommit message (Collapse)AuthorFilesLines
2020-04-27meta-ibm: move all meta-witherspoon metadataBrad Bishop293-64745/+0
The metadata common to all IBM systems is confusingly split between meta-ibm and meta-witherspoon. Move everything to meta-ibm. The meta-ibm README is re-written to more accurately reflect the scope of the layer. Allow the configuration samples (bblayers.conf.sample, local.conf.sample) to be sourced from either meta-ibm or meta-witherspoon until such a time that any workflows and tooling have had the opportunity to move to meta-ibm. (From meta-ibm rev: 6e05ef2e90b214eaf4e43ee7027bbbb1d8d09442) Change-Id: I3ec890d5300f9649c974ea6b9dca93a2e8a889ab Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-27witherspoon/tacoma: Substitute variable in fan control serviceMatthew Barth2-2/+7
The fan control service has a dependency on the max31785 hwmon service being started where the i2c address of the max31785 is in the name of the service file. That i2c address is different between witherspoon and tacoma, so a systemd substitution is needed to place the correct address based on machine into the fan control service file. Tested: Built witherspoon and verified correct i2c address substituted Built tacoma and verified correct i2c address substituted Built mihawk and verified base fan control service used(no max31785) Built swift to verify base fan control service used(max31785) Verified witherspoon image on hardware (From meta-ibm rev: 7b56fea6e2180ca110d49868b3ad543f9a5e4e76) Change-Id: Ie0e43fb18f9349135ad66f40993a9fad662224ea Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-22Revert "tacoma: Build a wic image"Adriana Kobylak1-3/+1
This reverts commit 09415220c11012635c5de3e9e70ef17d1956ecc4. The layout of the wks file is still being worked out. (From meta-ibm rev: fea65fe4cf652ea9d207d114bc5be9cac4c5533a) Change-Id: I91e8b1b6397f090578b8cd548c0035616666477a Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-21tacoma: Build a wic imageAdriana Kobylak1-1/+3
Build a wic image with the zImage and device tree in the /boot partition. Rename the device tree to aspeed-bmc.dtb so that it's generic instead of having the machine name in the file. (From meta-ibm rev: 09415220c11012635c5de3e9e70ef17d1956ecc4) Change-Id: I0beb845d2de8a2b92d8f7300081054ab04265b52 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-21meta-ibm: witherspoon: phosphor-fan-control-init serviceMatthew Barth1-6/+4
Add the phosphor-fan-control-init service back in to trigger the obmc-fan-control-ready target which is used to start phosphor-fan-monitor. It was not realized that this target was set within the fan control application's init mode. Tested: Built witherspoon image containing phosphor-fan-control-init service Service is started at poweron and sets obmc-fan-control-ready target Fan monitor service now starts (From meta-ibm rev: dc97a9316915d3adc5a31846b76e6a3c2f6cab8e) Change-Id: Ic0124fec814a6d1588c5dc47e5e16ab8529248bf Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-21Revert "rainier and tacoma: Build u-boot spl"Adriana Kobylak2-4/+2
This reverts commit f2f334e6221b659934a8e72f5ca1aa8c9b8ae173. The u-boot openbmc spl defconfig is still in review: https://patchwork.ozlabs.org/project/openbmc/patch/1586370073-71433-1-git-send-email-anoo@linux.ibm.com/ (From meta-ibm rev: 5bea35bdaa05c736796bd1d0f22f0c7eaee9b484) Change-Id: I134d9044595c1e129d8b545ac4e4429a8a4d9f2b Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14rainier and tacoma: Build u-boot splAdriana Kobylak2-2/+4
(From meta-ibm rev: f2f334e6221b659934a8e72f5ca1aa8c9b8ae173) Change-Id: I27c9d505b0699a2d1b1f58a8ce1349b17f15821a Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14meta-witherspoon: tacoma: Enable concurrent console serversAndrew Jeffery4-0/+22
The design uses the same configuration as Rainier. (From meta-ibm rev: 499fc3dae676b969abe64ec58aaa3021910c7bfa) Change-Id: Id8520b86804d2495e37a1b092491ceeddc2b11a0 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14meta-witherspoon: rainier: Enable concurrent console serversAndrew Jeffery4-0/+51
The Rainier design makes use of both virtual UARTs provided by the AST2600. Expose them both to the network via obmc-console. (From meta-ibm rev: 9c0807e8741e95b33cad604d62138650ac2143ea) Change-Id: I8659fad4809a859b857bfc91a14defcfbc3b030d Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14meta-witherspoon: Migrate console configuration to new layoutAndrew Jeffery3-0/+3
The obmc-console has rearranged its configuration file layout to cater to concurrent console server instances. Make use of the new layout. (From meta-ibm rev: 43fb498820e2b21282197833ed52124792a472e5) Change-Id: I124fd5cf37047651bc1f046039ad4b776eb2ff62 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14dunfell: add support for new layerAndrew Geissler1-1/+1
(From meta-ibm rev: 9508c70494a7d0ae3bd8f2a2fe662407ae642ad5) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ib03ada135194b8dffdd3982a98ff08bbbc131995 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-10meta-ibm: add missing phosphor power configurationBrad Bishop1-2/+2
There were a couple _${PN} (package name) style overrides added to DEPENDS and EXTRA_OEMESON with 438174de3490. The package being built is only addeed to OVERRIDES during the packaging task. DEPENDS and EXTRA_OEMESON are used during the configure task. The result is DEPENDS and EXTRA_OEMESON are not updated as intended. (From meta-ibm rev: 4e1950490e3329c1f9f193cba7f2739df6456c59) Change-Id: I7a902ad4ca07cb590cd1bad5f5d1046ecaa9d63e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-07tacoma: Build a mmc-ext4-tar imageAdriana Kobylak1-1/+1
The mmc-ext4-tar image is used for MMC code updates. (From meta-ibm rev: 4471bfb1798201d4b7f03912600474825034db0c) Change-Id: I9c26f9eebfccccce80eb405d8ddf9f7b59c34fd8 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-07meta-ibm: Add mihawk ipmi oem commandBen Pai2-1/+24
In order to detect the riser card on the mihawk platform. (From meta-ibm rev: a50f69fb50ab68137ce1b95d79ccb703c97e47c4) Change-Id: Ief0019f08cc14f3733ba5db67fcf218f46812bb2 Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-03Build openpower-hw-diagsBen Tyner1-2/+3
Updated packagegroup-obmc-apps recipe to build openpower-hw-diags. (From meta-ibm rev: 3816f263d4dff1cf3ab2d55122935d051694a592) Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: Ib69e46853e26087343bf88bb09c7c1b463daa5be Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-03wspoon-tacoma: Remove ibm-loggingMatt Spinler1-0/+1
Now that the PEL code is enabled for this system, we don't need ibm-logging to provide IBM's logging functionality. (From meta-ibm rev: e131146858d6154e3c26a7b1ed1db8a7ed43385c) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I294a5c1254e661f44882e5d4f71fde7e70ecc029 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-03witherspoon: remove kernel patch for witherspoon-128Eddie James2-95/+0
This patch has been added to the openbmc kernel tree, so remove it here. (From meta-ibm rev: 77742a12a561aa70c9e413634ccabefe1297879e) Signed-off-by: Eddie James <eajames@linux.ibm.com> Change-Id: Ie0827dc0ac530ac3f9adbfbd8af3a6bdbdee19a9 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-27wspoon-tacoma: Enable the PEL logging extensionMatt Spinler1-0/+1
Creating Platform Event Logs from OpenBMC event logs has already been enabled on other systems, and this commit enables it on Witherspoon-tacoma. (From meta-ibm rev: fb1595d74e96dd18d5f957bb53e12127f12932c9) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ie6be582c2ab417a3752ff43bf37330c6920fa297 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-26Fix Inventory File For TacomaSantosh Puranik1-0/+8
This commit fixes the inventory file used by openpower-vpd-parser on Tacoma. Changes include: * Fix the EEPROM path used to point to the right I2C bus. * Fix the FRUs and OBJECTs that the file contains. Tested: Made sure that the right inventory file makes it to the image. (From meta-ibm rev: f591790414025f25947b2327021e86d4d70709ab) Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com> Change-Id: I20852c9cc2aa6875673925c7588b335dc2ee29d0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-26witherspoon: Tacoma target should be full imageJoel Stanley1-1/+1
The commonly used target for Tacoma is to build obmc-phosphor-image. (From meta-ibm rev: 2789e4e691624911c9f570a9451518f7947a4e9e) Change-Id: Ie9e53df2127713cc467d85aafe2cd9f9aef2f7c5 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-26tacoma: Create obmc-console configJoel Stanley1-0/+3
This configuration doesn't enable the rear uart. There has been an issue when sending large amount of data from the VUART -> obmc-console-server -> UART that is still under investigation. The rear uart is not used for development, so it can be disabled for now. (From meta-ibm rev: e3befcfc5e7e89bba7eba316c01e2b93001029a4) Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: Ib3ec92572fd8551a3d6db39616b016730edf5612 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-25meta-ibm: All witherspoon tacomas are air cooledMatthew Barth1-3/+2
Set the configuration file to phosphor-cooling-type to set all witherspoon tacomas to be air cooled only. Tested: Removed DEVICE & CODE on witherspoon config to see always be set to air cooled Updated config on witherspoon tacoma and restarted service to see always be set to air cooled (From meta-ibm rev: 373d3485c500ee8d3d07f2f68d0fec896856c374) Change-Id: I1bf483da9580c4fd4b833da5840a0a98e691a811 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-24Add PLDM based host dump offload support.Dhruvaraj Subhashchandran1-0/+3
Add PLDM based host dump offload support for Witherspoon-128, Rainier and Witherspoon-tacoma. (From meta-ibm rev: 2350054c62b5783cb49fd12671cb70809be4e573) Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> Change-Id: Idf26b5cc66860553db651f90b57cd0ac0b7cfd9f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-19Add the rainier target to the targets in local.conf.sampleSunitha Harish1-0/+1
(From meta-ibm rev: c01884719907cf567e748bb00d6ebf3c13dbb1db) Signed-off-by: Sunitha Harish <sunithaharish04@gmail.com> Change-Id: I0c42518e03f06d06baec4a03095180e71508c065 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-18meta-ibm: Change the name of mihawk ledBen Pai2-77/+77
We want to make mihawk's led names the same as witherspoon. (From meta-ibm rev: dfef3e04755e7be5dad40dc7d0cb064372b49694) Change-Id: I60cc8b17df0956a230e1a2824f4a3e247f5a4624 Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-17meta-witherspoon: Use separated phosphor-power packagesLei YU2-5/+20
phosphor-power recipe is splitted into separated packages. In packagegroup-obmc-apps.bbappend, define POWER_SERVICE_PACKAGES_AC_SERVER to include the packages for IBM AC servers and POWER_SERVICE_PACKAGES_RAINIER for rainier server. The package cold-redundancy is not included yet because the repo does not install the files yet. In phosphor-power bbappend, use separated packages as well. It also add phosphor-power to install the psu.json in witherspoon's phosphor-power bbappend, which is needed for multiple packages. Tested: Verify all the ac-server services and utils are installed into Witherspoon's image as before. (From meta-ibm rev: 438174de3490d800181ecd26ac162c6ebe442194) Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I76808e92de7cf144ba2a3b7a455af582eaad3d33 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-17meta-ibm: Configure tacoma machine for new u-bootJoel Stanley1-1/+2
This selects the ast2600 openbmc u-boot configuration and the tacoma device tree. (From meta-ibm rev: b36b9ebc7f25a7d86d5c0e1cec81f156633921bd) Change-Id: I079fc3d82ae1a453719923c743f58dd2c529968d Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-17meta-ibm: Configure rainier machine for new u-bootJoel Stanley1-1/+2
This selects the ast2600 openbmc u-boot configuration and the rainier device tree. (From meta-ibm rev: d3ed8678c77cd88a1953721b053f4fc6c1918fd1) Change-Id: Id97193d6f19e5e6b7e796880d13976417e79f92c Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-12witherspoon-tacoma.conf: Build an ext4 imageAdriana Kobylak1-0/+2
Build an ext4 rootfs image for tacoma to be used in its eMMC chip. (From meta-ibm rev: 211b39b9b2de6bf558c03b9cf92824d3408a52b9) Change-Id: I45d6435b7caf7e3f28fc6a8a47a40bc62e96fb20 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-12Add the phosphor-psu-monitor package to RainierBrandon Wyman1-1/+1
Rainier plans on using the refactored power supply monitoring application. Add that package to Rainier by appending it to the list. (From meta-ibm rev: 11e5638b1df8c10c5cde5ab605410b5d6a7c3eab) Depends-On: I3c1aa4f0daac6a85bb60fc775a5c48dbf3ea203b Change-Id: I035f2687539ae1f7d57d07ee8efc0d3b2b6b1eff Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-02Witherspoon-Tacoma: Update power supply configsBrandon Wyman4-0/+24
The GPIO lines for the power supplies changed from Witherspoon to Witherspoon-Tacoma. The power supply presence lines are GPIOH3 and GPIOE5 (key 59 and 37). The power supply input history sync is on GPIOE6 (38). Tested: witherspoon-tacoma 2.8.0-dev-1205-g01aee77e4 chassison fails Flash custom image with these changes witherspoon-tacoma 2.8.0-dev-1272-g22036b442 chassison succeeds (From meta-ibm rev: e023c109f4a53212ee8ea880a82dd7f0432b8f1c) Change-Id: I0cf1afa738036c5cceb13a9df85c23ff660b97be Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-02-28meta-ibm: Mihawk fan control support NVMe thermal sensorBen Pai1-0/+66
Fan control must support NVMe SSD thermal sensor. Tested: Fan speed is automatically controlled when using NVMe SSD (From meta-ibm rev: 4dc75c91139e71ee5f42ba27ddacf46815c8aa8b) Change-Id: Idb156ebe12d98b26faa7781b462e11b38af5ae7c Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-25meta-ibm: New IBM logging error policy tableBen Pai1-1/+904
Update to Version 1.8.5 for mihawk (From meta-ibm rev: bf39d8f7981252cf0a56f75fd7e5533a828ceb08) Change-Id: Ief4321ca06d729b6b735532c1a03265c63ab0d5d Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-25meta-ibm: Add BMC EEPROMBen Pai1-2/+2
Added the BMC inventory for mihawk. (From meta-ibm rev: 95efbf1fdb48951294a3832137d4c1a56fcab3a2) Change-Id: I3478e33ce305324d2041e69d79d8873585cae23d Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-10Enable IBM D-Bus InterfacesSantosh Puranik1-0/+1
This commit enables the configure option "enable-ibm-dbus-interfaces" for phosphor-dbus-interfaces build to pull in all com.ibm.* interfaces. Tested: Bitbaked to ensure the right configure options are passed. (From meta-ibm rev: 8a2fdae730a41fb96887b6d404679800a9f74c8d) Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com> Change-Id: I788ad7ce6e4e92567176f6dda235f6689d577260 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-10meta-ibm/wspoon: Switch fan presence to JSON configMatthew Barth3-55/+14
Enable the use of JSON and install the fan presence JSON config file into the witherspoon image. The other fan applications will continue to use their respective YAML build time config file(s). Tested: Built witherspoon image, uses JSON config Built mihawk image, continues to use YAML (From meta-ibm rev: a6817ca6ca8c87a10eb325835ba4db59109f6101) Change-Id: I1b675e8a3b064b04007d7474d12e5d5ad2094dad Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-10meta-ibm: Add fan presence JSON configMatthew Barth1-0/+90
JSON config file representing the same configuration that is given as YAML at build time. (From meta-ibm rev: 7e31e7a23d51757132e4d74873a16c65f2a1400b) Change-Id: I8cb2697d93d402bb66f5967cba913e071a16f6b7 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-10meta-ibm: Add dev_id.json for mihawkBen Pai1-0/+2
Currently mihawk is missing information about dev id. (From meta-ibm rev: 28bafefc05285df52eab617ea2158b3886dc93a8) Change-Id: I02b138a1830e0c4627c70b338d31cb7dbaa2d75c Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-06Value setting for IPMI clear security keysJayashankar Padath3-0/+19
Support to set the value for ClearSecurityKeys property which can be used to indicate when certain security keys need to be cleared or reset those values back to its default state from the system by the host. This property is mapped to an IPMI sensor and default value will be zero. Setting this property does not gurantee a successful operation as additional conditions like the physical presence pin or jumper settings will be checked by the host to clear/reset the sensitive data. Tested: Verified that the property is getting created with the expected default value as zero and can be updated to different values using ipmitool or busctl command. 1. Default value output: busctl get-property xyz.openbmc_project.Settings /org/open_power/control/host0/ClearHostSecurityKeys org.open_power.Control.TPM.SecurityKeys ClearHostSecurityKeys y 0 ipmitool -I lanplus -H 9.3.185.33 -U root -P 0penBmc raw 0x04 0x2D 0xE8 00 40 00 00 2. Set to a new value as 5 using busctl command: busctl set-property xyz.openbmc_project.Settings /org/open_power/control/host0/ClearHostSecurityKeys org.open_power.Control.TPM.SecurityKeys ClearHostSecurityKeys y 5 3. After setting to a new value as 5: ipmitool -I lanplus -H 9.3.185.33 -U root -P 0penBmc raw 0x04 0x2D 0xE8 05 40 00 00 4. ipmitool command to set the value as 4 ipmitool -I lanplus -H 9.3.185.33 -U root -P 0penBmc raw 0x04 0x30 0xE8 0x00 0x04 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ipmitool -I lanplus -H 9.3.185.33 -U root -P 0penBmc raw 0x04 0x2D 0xE8 09 40 00 00 5. Invalid value test o/p: ipmitool -I lanplus -H 9.3.185.33 -U root -P 0penBmc raw 0x04 0x30 0xE8 0x00 0x12C 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Given data "0x12C" is invalid. (From meta-ibm rev: 81a9143100d5d4a7d97350afa1794be694d45590) Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: I9e12b6e5abb3a9b198921847605a74b771fd9945 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-17Tacoma: add OBMC_POWER_SUPPLY_INSTANCESLei YU1-0/+2
Tacoma was missing the OBMC_POWER_SUPPLY_INSTANCES config, and thus the power supply monitor service will not start correctly. And with the change in https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/27463 the build will fail on constructing the rootfs. Fix it by adding OBMC_POWER_SUPPLY_INSTANCES in tacoma config. (From meta-ibm rev: 1f2b96d73f0117b9c07ce7e4beca0e1dfddfb8e2) Change-Id: I20f1ca81642bb1d594aa783ca3872b6bd08720da Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-14meta-ibm: Change the order of avsbus-disableBen Pai2-4/+4
Currently avsbus-disable will be executed after power_up to 1. We found that this will cause power on fail, so avsbus-disable should be performed before power on. (From meta-ibm rev: c569a42895ac035837f1508d14903cfea3c5a675) Change-Id: Ib08573efbb1abf510b2683afd31cd74db9f66a2b Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-17Remove setting BMC_DCM_ALL_RESET_N in Rainier power onJim Wright1-8/+0
Reviewing GPIO function with engineering, BMC_DCM_ALL_RESET_N GPIO should be handled differently. Remove BMC_DCM_ALL_RESET_N from Rainier power-on GPIO configuration. (From meta-ibm rev: de595e38e6c38729d7e0c7eb6925fe639cbb5b85) Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I2fa2949b49d192b0a3a6a516c3ce9c49052dd3d7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-11meta-witherspoon: Fix missing power-supply-monitor configsLei YU1-1/+3
The power-supply-monitor configs were installed by SYSTEMD_ENVIRONMENT_FILE_${PN}, which is defined in obmc-phosphor-systemd.bbclass. phosphor-power recipe does not inherit obmc-phosphor-systemd, results in the files installed by SYSTEMD_ENVIRONMENT_FILE_${PN} are not installed at all. Fix this issue by inherit obmc-phosphor-systemd in the bbappend. Tested: Verify the witherspoon build includes the power-supply-monitor configs. (From meta-ibm rev: d4374bf93e5927ccadb9de954384096ffb8590ec) Change-Id: Iaa3a04694c7b591d349a32529a0afef16239203d Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-11meta-ibm: Fix fanx can't get the correct pwmBen Pai2-0/+12
Although 6 fanx_1 pwm targets are deleted, but fan0_1 fan1_1 and fan2_1 will have a default value that causes the issue to remain unresolved. In this way, two Fans control the same pwm, but I think that our current fan control event is controlled at the same time, so it does not affect the fan control. (From meta-ibm rev: c4ec0f10a091fe74f075d2033fe055b5bbd7d498) Change-Id: I42647c92ffe5e20430cee28de6fd26e2716153d9 Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-11meta-ibm: Set over/under voltage/current valueBen Pai2-0/+38
Set warning and critical values for PSU. (From meta-ibm rev: 1b9796d85dd41e8675d0d03132cbff8dd74a1d47) Change-Id: Ie16955f7548e9e6fa54cea2aff767a164abb76f3 Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-11meta-ibm: Add led manager eventBen Pai1-1/+367
Add led fault event, fault led will turn on when cpu or dimm or other components fail (From meta-ibm rev: f0aaa6f39f61366a6599d1e571f1eada4bf93b1c) Change-Id: Ifdd49dab35d915cb7d9ff095e6571fba42801bba Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-03meta-ibm: Add GPU themal policyBen Pai1-0/+86
Mihawk's GPU temperature exceeds 92 degrees Celcius should be shutsown to avoid GPU damage. Tested: GPU temperature exceeds 92 degrees Celcius system will shutdown. (From meta-ibm rev: 623eb4dda626dd3dfb3f14d9afa4e10c86d3bbca) Change-Id: Id085afa2a7d7a29a42cd5d508a03fb64dd53c108 Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-03meta-ibm: Modify power sensor channelBen Pai1-10/+27
Currently power sensor might get the wrong channel. We have to modify it to the correct channel. Tested: Check sensot list user can see the correct power sensor. (From meta-ibm rev: aaceadff166052bef63b860063ccbda66d918629) Change-Id: I2595c727915b8e72af4f56e5383efb183e9b3638 Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-03meta-ibm: Add a mechanism to monitor ambient and occBen Pai1-0/+59
Fan speed can be increased when occ or ambient is abnormal, so add the monitor of the ambient and OCC control services. (From meta-ibm rev: d0a123bdd618570e585a4020593bf9b13395398d) Change-Id: I17eb679760c2e6f6002f5ea54f7d799f1c62680c Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-22meta-ibm: Adjust the mihawk fan control eventBen_Pai2-7/+10
According to our thermal team test report, we need to adjust the fan control event. Tested Fan speed will be based on new fan control events. (From meta-ibm rev: f242630e5a8195eeef089f01537b9be4fde000a2) Signed-off-by: Ben Pai <Ben_Pai@wistron.com> Change-Id: Ib4c296f128d625e78387cead26c46c76faa39535 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>