summaryrefslogtreecommitdiff
path: root/meta-ibm
AgeCommit message (Collapse)AuthorFilesLines
2021-07-08meta-ibm: Adds SI7020 to kernel configBruce Mitchell1-0/+1
This sensor on the Op_Panel, one of them being a SI7020 type sensor which needed to be enabled. Signed-off-by: Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com> Change-Id: Ib6a86a6fae52414ad9c6901e5f6f8aa8c8a383c3
2021-07-07ibm: Prepare for fan control services installed from repoMatthew Barth1-0/+1
Witherspoon uses a specialized phosphor-fan-control@.service file and uses the phosphor-fan-control-init@.service file still to just set the fans ready target. To correctly be included in the FILES directive, these services need to be explicitly added on wiherspoon machines. Change-Id: I76129a7833337aaf74fd83b0e28f3083f1a41b0a Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2021-07-06everest: Add association entriesLakshminarayana R. Kammath1-2/+3143
- ddimm - capi connector - nvme - pcie slot - pcie cable card top and bottom enclosures - base op panel Signed-off-by: Lakshminarayana R. Kammath <lkammath@in.ibm.com> Change-Id: I7de498f83ab3bace4ce39deb98c31c71c40f2dd4
2021-07-01Set MaxBootCycleCount for progresscodes on IBM systemsManojkiran Eda1-0/+4
MaxBootCycleCount is a dbus property that is used to indicate the maximum number of boot cycles that the post-code-manager daemon can store the progress codes for, before it starts wrapping. Unlike Intel postcodes, IBM progress codes are huge and it is possible to get close to 230+ progress codes per boot cycle, so tweaking this value to 5 boot cycles for IBM systems so that we can get less number of log entries on a redfish GET request. Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: Ida10e73992b01535d57c844d83366d786cd448e2
2021-06-30meta-ibm: Adds virtual Altitude sensorBruce Mitchell1-0/+26
The Altitude measurement is from the computation of the DPS310 pressure sensor with this "Expression": "44330.0 * (1.0 - ((P0/101325.0) ^ (1/5.255)))" Tested: busctl introspect xyz.openbmc_project.VirtualSensor \ /xyz/openbmc_project/sensors/altitude/Altitude returned results consistent with location of the Rainier system. Signed-off-by: Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com> Change-Id: I07b83dd6b8f4ccf0755ccbdc81c40976a3e571cd
2021-06-30meta-ibm: sbe error handling supportJayanth Othayoth1-0/+4
Phosphor logging PEL infrastructure provide supports to process SBE chip-op failures and creating PEL. PEL creation required to process SBE provided FFDC packets. This FFDC is initially created by SBE using FAPI based infrastructure for the hardware procedure execution failures. To extract this data to convert into PEL required format requires additional processing. This processing required PHAL(Power Hardware Abstraction layer) based back-end support. Added required packages support for PHAL feature enabled systems. Test: verified build. Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I5cf1a30514aa0a5bfdf2fe3a288dac9d5a0b5b47
2021-06-30meta-ibm: Add phal support for p10bmcJayanth Othayoth1-0/+1
OpenBMC requires additional capabilities for the OpenPOWER systems such as - A common mechanism to access and control the host hardware from the BMC. - A storage mechanism to store the data that can be used for initialize, control and access the CEC hardware. - An infrastructure to initialize the hardware using the hardware procedures provided by the hardware team. - Common mechanism to handle the hardware failures for the host hardware. These above features are essential for the BMC to provide better RAS capability and to support lab debug for the enterprise class systems. The phal(POWER Hardware Abstraction Layer) aims to provide a common layout such that the OpenPOWER  application can use this infrastructure to boot, enable RAS features like dump, diagnostics, and lab debug tooling purpose. The phal is a combination of open source packages that are tailored/customised  to use in OpenBMC. For instance POWER hardware access and control is managed through pdbg and host hardware data modelling is done via devicetree. phal is group of libraries running in BMC. These libraries are used by OpenPOWER specific application for host hardware interactions, Hostboot and SBE initialization, diagnostics and debugging. Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I187d9582598743871279a1e407451f4cf4f72668
2021-06-25meta-ibm: mctp: Enable astlpc raw KCS support for p10bmcAndrew Jeffery1-0/+2
Install the udev files to cover the transition between drivers and devices. Change-Id: I87ffe3ae82bb7a073a8140adcb308b09fc43c9b9 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-06-25meta-ibm: packagegroup-obmc-apps: p10bmc requires libmctpAndrew Jeffery4-1/+7
libmctp provides the MCTP implementation for communication between the host and the BMC. Change-Id: I6ae5a23fbb34c27db16a152afefb79ca6a649759 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-06-25meta-ibm: packagegroup-obmc-apps: Reorder p10bmc appendsAndrew Jeffery1-1/+1
These were separated in a strange fashion. Perhaps we should reorganise the whole file in platform-specific sections. Change-Id: I51b8bb20060447c6e88557824e9465b1713f082f Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-06-17meta-ibm: linux-aspeed: p10bmc: Enable magic sysrqAndrew Jeffery1-0/+1
Currently /proc/sysrq-trigger is the only supported backend for debug-trigger. Once we have kdump support, we'll add a kexec backend and drop the magic sysrq. Change-Id: I07dfa50474d9f6333428b6fb38020c7b7fd0adec Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-06-17meta-ibm: Add debug-trigger to p10bmcAndrew Jeffery2-1/+4
Change-Id: Ic1cde1cd67fa6f8f68df80a1f327ace64a39d72b Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-06-11meta-ibm/state: fix meson param statementAnton D. Kachalov1-1/+1
Change-Id: I4453f9b01f986a529c76710d665ab57639232b2d Signed-off-by: Anton D. Kachalov <gmouse@google.com>
2021-06-08ibm: rainier4u: Increase poweron fan speed to 10000rpmMatthew Barth2-4/+4
It's been found that the processors are generating more preheat than anticipated and the rainier 4u systems currently being built may not have the baffles available to be installed. Increasing the poweron fan speed to overcome this preheat affect to the PCIE area so PCIE cards do not overtemp. Change-Id: I03414fc4cc9cd3aa8d248c4b1408bab658978f48 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2021-06-07meta-ibm:checkstop-monitor: remove from p10bmcAndrew Geissler1-0/+1
p10bmc systems have their own checkstop monitor, provided by the openpower-hw-diags package. Having both installed on p10bmc systems is wasteful and has shown some intermittent issues (checkstop-monitor service core dumping when checkstops occur). Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I118b359bf551e6502086800a9081ca8856ecf4ae
2021-06-07treewide: Remove obsolete image-mklibs classWilliam A. Kennington III3-5/+3
This is apparently not actually working anymore and is removed in the next poky update. Change-Id: Ia1c6a258d124a4a30a14fc42e8e0bba95e64faeb Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-27meta-ibm:host-watchdog: increase timeout to 10 minAndrew Geissler2-0/+8
The IBM host firmware team has requested an initial timeout of 10 minutes for the host watchdog. The goal is to bring this down once bringup is complete. When inband IPMI was used, there was a mechanism for the host to adjust this timeout so the BMC firmware would set the initial 30 second timeout and the host firmware would change it to 10 minutes once they started. With PLDM there is no way for the host to adjust this timeout so we need to start with the larger value. Tested: - Verified a p10bmc image had the new poweron file installed with 10 minute timeout. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: If94766d5f2d62271c4adf366631f0b31a75ef8d0
2021-05-24Set default system power mode to Maximum PerformanceChris Cain1-0/+6
Signed-off-by: Chris Cain <cjcain@us.ibm.com> Change-Id: I2ce6a862e0d16fe8a67c9dc12ceacbc01d3a0b1b
2021-05-20associations: rainier: Add associations for assemblyVishwanatha Subbanna2-0/+38
This commit adds associations for all the inventory that gets represented as Assemblies in Redfish. Change-Id: Id4e9e4ac870e5bed665462d161abde00c4b85554 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2021-05-19ibm: Remove rainierAdriana Kobylak2-3/+0
The rainier machine has been replaced with the generic p10bmc. Change-Id: Ia7b6e8b6ad569d6f607d4a38318704fb402f2a1f Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-05-19meta-ibm: Sign the p10bmc SPL using dev keyKlaus Heinrich Kiwi1-0/+3
Use the 'insecure/imprint' development key to sign the p10bmc SPL. The key can be overriden for a production key if necessary. Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com> Change-Id: I6e4abecb5859fb59c6185a097cf88bdcb958e207
2021-05-19meta-ibm: Sign p10bmc kernel/uboot with dev keyKlaus Heinrich Kiwi1-0/+17
Use the insecure key provided by commit '748d586bc1 meta-aspeed: Add development key for Kernel sign' to sign both the Kernel as well as U-Boot fitImages. This is used for U-Boot FIT Signature Verification using a known key, fit for development purposes. For production purposes, a secure private key must be used. Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com> Change-Id: If0c39f4aa17e6eaa5f6952a90283457f252a64d3
2021-05-18ibm: Update rainier 2U fan monitor configMatthew Barth1-24/+24
To support the new rainier 2U fan hardware, the fan monitor config needs to be updated to reflect the factor/offset between the target and feedback speeds of the new hardware. Change-Id: Ic63d678e89b210da77d4681ad44a209dd2807836 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2021-05-18ibm: Increase journal size for p10bmcAdriana Kobylak3-4/+12
The p10bmc system uses a MMC flash chip with much larger storage than a NOR chip. Increase the current journal size allocation from 2MB to 16MB so that p1bmc saves more data for debug. Tested: Verified that a witherspoon and p10bmc image had the expected journal size file (2MB for witherspoon and 16MB for p10bmc) under rootfs/lib/systemd/journald.conf.d/ Change-Id: Idcdb01bbf017c411c7b97406191e90774e8a8753 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-05-18meta-ibm: phosphor-networkd: Remove autotools specific configWilliam A. Kennington III1-1/+1
We want to use packageconfig options instead of build system specific ones. Change-Id: I587d33e3dae82c4c9d85f59f4ee34618443f1dcb Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-17ibm: fans: Switch to the 'count' fault methodMatt Spinler4-40/+70
Switch over to the 'count' method of determining fan faults. As a starting point, use a count interval of 1 and a threshold of 30. This is the preferred method as it is better at catching flakey fans. See docs/monitor/method.md in the phosphor-fan-presence repo for more info on how this works. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I153d05779a5a7af854f351c1be3a3448b85fc461
2021-05-17ibm: Use the generic fan-presence I2C pathsMatt Spinler5-24/+24
The fan presence detect application uses I2C device paths in its config files to address the IO expanders that IBM systems use to monitor fan presence detects. Use the /sys/bus/i2c/devices/... paths in these config files instead of the absolute paths. These new paths are links to the actual paths, and shouldn't change even if some internal kernel change drives an actual device path change. There are other config files today that do this the same way. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I39ed9d703cf6bdc821a54c6d5d087f7fc080705b
2021-05-13IBM DISTRO_FEATURE ibm-service-account-policyJoseph Reynolds4-0/+68
This creates a new DISTRO_FEATURE "ibm-service-account-policy" which - Adds an admin account which cannot SSH to the BMC's command shell. - Adds a service account which can SSH and has passwordless sudo access. This feature is applied to witherspoon-tacoma and p10bmc (rainier). Tested: The image behaves as before when the distro feature is not configured. When the distro feature is configured: The root user has the same access as before. The admin user: - Is not allowed to access the BMC's command shell. - Console login gets: This account is currently not available. - SSH login gets: Permission denied, please try again. - Redfish and REST API access works with role=Administrator. The service user: - Console login to the BMC's command shell works. The home directory is /. Passwordless sudo works. - SSH login works and using sudo from a SSH session works. - Redfish and REST API access works with role=Administrator. Change-Id: Icac5ba7f4fa663047709ab55007bbcfec8158f5e Signed-off-by: Joseph Reynolds <joseph-reynolds@charter.net>
2021-05-12associations: everest: Update association entriesVishwanatha Subbanna1-1/+1084
Change-Id: Ib7a9802582e146b5e2e5edb7b2df1800dfe36b22 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2021-05-12associations: rainier: Update rainier associationsVishwanatha Subbanna2-2/+841
Power supply, fans and pcie slots are tied to a particular chassis and thus need the associations for redfish to use them. Change-Id: I71b9596b811c910fac65c16af4f008954a934b30 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2021-05-12meta-ibm: rainier-4u: inventory: Add powersupply led associationsVishwanatha Subbanna1-0/+56
Rainier-4U systems have 4 power supply D-Bus objects and hence updated the associations json to have a mapping for powersupply2 and powersupply3 led group D-Bus objects. Change-Id: I21ea628928a5f6a7d2dc014eb25559c6d2e15722 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2021-05-12phosphor-power: Only build monitor when told toMatt Spinler1-0/+4
The 'monitor' package provides a power supply monitor application that uses an org.open_power phosphor-dbus-interface that is only used on a subset of the OpenPower systems. So that non OpenPower systems can use phosphor-power and not need to include the org.open_power D-Bus interfaces, add a packageconfig option for this application to turn off its compilation. It will then only be enabled for certain machines. Fixes openbmc/phosphor-power#6 Tested: Built Witherspoon, application still built and installed. Built Rainier, application not built. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ib7fca16217d93b7d021ba8fb6659e9ddca17d1d9
2021-04-22build phosphor-hwmon with mesonMatt Spinler2-2/+2
The repository supports it, so switch it over in bitbake. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
2021-04-22Replace IRC with DiscordBruce Mitchell1-2/+2
Discord has more users. IRC traffic has ground to a halt. Signed-off-by: Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com> Change-Id: Ifa5c04ae211a93ebac2b3a887656965db1e00942
2021-04-22meta-ibm: use systemd_system_unitdirBrad Bishop1-2/+2
This variable was added to bitbake.conf so lets use it. Using it is best pratice and enables things like alternative base_libdir paths. Change-Id: I9adcec7856c6242d86f0ffad8646a23219ccca21 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2021-04-20rainier-1s4u: add ibm logging callout supportAndrew Geissler1-0/+1
Starting with a link to the 4u file. The only difference between the two is 2 less fans so there should be no real impact to the callout file. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Iae528ef6378fdcad524faeefcd6139a1d8223789
2021-04-20PELs: Rainier 4U device callouts fileMatt Spinler3-0/+17883
Now that entity manager provides the system name, name the Rainier 2U device callouts file after it and add the Rainier 4U device callouts file. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I95ba6cee167616ec01bd7779e88defc0e77810df Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2021-04-15ibm-logging: srcrev bump aeaa374a6f..074d53b723Andrew Geissler1-1/+1
Patrick Williams (2): bootstrap: fix shellcheck warnings MAINTAINERS: remove Deepak Change-Id: Id06241aa091d2c8f16b0f18383e244924030b12f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-13meta-ibm: p10bmc: save ttyVUART1 data to separate fileAndrew Geissler1-0/+2
The hostboot team has started utilizing VUART1 for extra debug data during a boot. This extra debug data is enabled within the CI infrastructure. This extra debug data causes the critical information going to VUART0 to get wrapped out of the default /var/log/obmc_console.log file. Redirect the VUART1 data to its own /var/log/ file. The only other user of VUART1 on p10bmc systems is the PHYP software. That is mostly used for interactive purposes so writing its data to a separate log file should be fine. I will work with the test teams to ensure this new file is collected as a part of the standard debug data collection process. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I248e5e8536e58e137b5de35d7572789215566763
2021-04-121s4u: replace fan3 with fan4Andrew Geissler3-8/+8
The 1s4u hardware is configured with fans at 0,1,2, and 4 locations. Tested: - Verified that we can now power on a 1s4u machine with this change plus a kernel device tree change to move to fan 4. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ic1415da9ab900c0e553600df89a1e26893f8b0bd
2021-04-12Bad VPD Installation in dreportPriyangaRamasamy1-1/+14
Bad VPD plugin is an IBM specific plugin which collects all the corrupted VPD files from /tmp/bad-vpd and puts it as a part of user initiated BMC dump. Openpower-vpd-parser makes a copy of the corrupted vpd's into /tmp/bad-vpd at runtime, whenever there occurs a VPD ECC exception or VPD record/keyword data exception. Installed badvpd plugin in dreport via phosphor-debug-collector recipe. Placed badvpd plugin in openbmc/phosphor-debug-collector/tools/dreport/ibm.d directory as we collect bad vpds' only when "ibm-parser" feature flag is enabled. Tested on simics. root@rainier:~# dreport -v Wed Mar 3 04:43:18 UTC 2021 Name: obmcdump_00000000_1614746598.tar.xz Wed Mar 3 04:43:18 UTC 2021 Epochtime: 1614746598 Wed Mar 3 04:43:18 UTC 2021 ID: 00000000 Wed Mar 3 04:43:18 UTC 2021 Type: user Wed Mar 3 04:43:18 UTC 2021 INFO: Collected disk usage Wed Mar 3 04:43:18 UTC 2021 INFO: Collected failed services Wed Mar 3 04:43:19 UTC 2021 INFO: Collected Journal pretty log Wed Mar 3 04:43:19 UTC 2021 INFO: Copied Memory info /proc/meminfo Wed Mar 3 04:43:19 UTC 2021 INFO: Collected top Wed Mar 3 04:43:19 UTC 2021 INFO: Copied Bad VPD /tmp/bad-vpd Wed Mar 3 04:43:19 UTC 2021 INFO: Copied OS release info /etc/os-release Wed Mar 3 04:43:19 UTC 2021 INFO: No elog entries Wed Mar 3 04:43:19 UTC 2021 INFO: Collected inventory Wed Mar 3 04:43:19 UTC 2021 INFO: Copied OBMC console log /var/log/obmc-console.log Wed Mar 3 04:43:19 UTC 2021 INFO: Collected ip addr Wed Mar 3 04:43:19 UTC 2021 INFO: Collected ip link Wed Mar 3 04:43:19 UTC 2021 INFO: Collected PRI-Flash: U-Boot environment variables Wed Mar 3 04:43:19 UTC 2021 INFO: Copied GUARD Records /var/lib/phosphor-software-manager/pnor/prsv/GUARD Wed Mar 3 04:43:19 UTC 2021 ERROR: /etc/alt_fw_env.config does not exist Wed Mar 3 04:43:19 UTC 2021 INFO: Copied CPU info /proc/cpuinfo Wed Mar 3 04:43:19 UTC 2021 INFO: Collected uptime Wed Mar 3 04:43:19 UTC 2021 INFO: Collected BMC State Wed Mar 3 04:43:19 UTC 2021 INFO: Collected Chassis State Wed Mar 3 04:43:19 UTC 2021 INFO: Collected hostnamectl Wed Mar 3 04:43:19 UTC 2021 INFO: Collected Host State Adding Dump Header :/usr/share/dreport.d/include.d/gendumpheader Wed Mar 3 04:44:08 UTC 2021 Report is available in /tmp Wed Mar 3 04:44:08 UTC 2021 Successfully completed Check the dump tar file generated in /tmp directory. After skipping 628 bytes of dump header in tar, untar it. The files in /tmp/bad-vpd directory gets collected into the bmc dump. Signed-off-by: PriyangaRamasamy <priyanga24@in.ibm.com> Change-Id: Ifdbfa56b8c67263271059dbee390092b92977775
2021-04-12kdump: Added needed packages for kdumpBruce Mitchell1-2/+2
Specifically kdump is a product requirement; makedumpfile is required to reduce the size of the crash dump image as well as not saving unneeded data at some point it will be useful from a privacy perspective by not saving "sensitive" information. Smaller crash dumps are faster to save thus allowing the reboot to normal BMC mode sooner. Signed-off-by: Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com> Change-Id: Ib07690cd26e519e1e3e51013ac76e623a3dad6a9
2021-04-12Replace IRC with DiscordBruce Mitchell1-3/+3
Discord has more users. IRC traffic has ground to a halt. Signed-off-by: Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com> Change-Id: I9e0a695ca5397cdad9489c63edd4f01d295c44a6
2021-04-12meta-ibm: set OBMC_ORG_YAML_SUBDIRS in machinesPatrick Williams6-2/+4
The OBMC_ORG_YAML_SUBDIRS variable is intended to be set system-wide and not via bbappends. There was an existing 'ibm-distrovars.inc' that was unused. Rename it as appropriate, add it to the machines, and remove the bbappend files. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id5acd359f41c17ec9e68d1f0717e2f5c1bf96dcf
2021-04-12ibm: power: Replace rainier with p10bmcAdriana Kobylak4-5/+5
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: I8dece8c720fd520de7a6857a7311b62a65c054ba Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-12ibm: Remove the openbmc-witherspoon distroAdriana Kobylak5-11/+13
The meta-ibm layer supported two different DISTROs depending on the machine being built. This caused complexity since the user needed to remember to specify the DISTRO name, in addition to the CI build scripts needed to check for the machine name being built to override the default DISTRO. For simplification, remove the openbmc-witherspoon DISTRO, which is the openpower DISTRO plus additional features, and move these features to the machine configuration files. Make the openpower DISTRO the default. Tested: Built witherspoon and p10bmc using "source setup <machine> build" followed by "bitbake obmc-phosphor-image" without specifying the DISTRO. Verified witherspoon built a ubi image and p10bmc built a emmc image. Change-Id: If33441ab4ad2dc0fbedde09f0db91d691d2da4f7 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-12ibm: Add back fru-fault-monitor to Rainier and Everest systemsVishwanatha Subbanna1-1/+0
Commit f7b1f26 removed fru-fault-monitor from Rainier since the idea then was to have PEL daemon set the Asserted property of LED Group Object that is mapping to the Inventory D-Bus object. However, that was not accepted by the community and we now have a new way of monitoring faults. With the new way, when monitor-operational-status feature is enabled, fru-fault-monitor will watch Functional property of xyz.openbmc_project.State.Decorator.OperationalStatus interface and sets the Asserted property of appropriate LED Group D-Bus objects that is mapped via "fault_led_group" association with the Inventory D-Bus object. When monitor-operational-status feature is enabled, fru-fault-monitor will not monitor the OBMC events and would only watch OperationalStatus. This is done because these 2 features will result in conflicting end result on the LEDs. Change-Id: I739b5fc261b0c79d50a8dc34ab19a3e108e84edc Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2021-04-12fru-fault-monitor: Enable OperationalStatus monitor featureVishwanatha Subbanna1-2/+3
Currently, the phosphor-fru-fault-monitor updates the Asserted property of the Led Group D-Bus object by monitoring the `/xyz/openbmc_project/logging` object path. The intent behind this commit is to add another way to monitor the `xyz.openbmc_project.State.Decorator.OperationalStatus` interface of the Inventory D-Bus object, and check whether the Inventory D-Bus object is associated with the LED group D-Bus object, and then update the Asserted property of the LedManager. Since both these methods handle the faults differently, Only ONE of these 2 methods can be enabled and NOT both. The first way is supported by default. To turn OFF the default way AND turn ON this second way, Enable monitor-operational-status. Change-Id: I03701e599b6a120bc1f83da6f473b12f38660d64 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2021-04-08ibm: Add power button GPIO definitionMatt Spinler1-0/+5
This allows a power button press to power on the system. Rainier and Everest use the same GPIO. Tested: Button was pressed and the system booted. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ib8f373dda2adb5575f2a0001d986962e5430fba5
2021-04-08ibm: led-manager: Replace rainier with p10bmcAdriana Kobylak1-9/+9
The IBM rainier machine name is being replaced with the generic p10bmc. Tested: Verified the rainier build included the expected service files and LED override file, example: - rainier-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs/usr/share/phosphor-led-manager/lamp-test-led-overrides.json Change-Id: I8f9ecbc6ebe1d320a649b24bf71c5023cfc035c8 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>