summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor
AgeCommit message (Collapse)AuthorFilesLines
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-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-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 Reynolds1-0/+58
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 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-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-12meta-ibm: set OBMC_ORG_YAML_SUBDIRS in machinesPatrick Williams1-2/+0
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: 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>
2021-04-08ibm: inventory-manager: Replace rainier with p10bmcAdriana Kobylak4-3/+3
The IBM rainier machine name is being replaced with the generic p10bmc. Tested: Built rainier and verified files were installed: rainier-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs/usr/share/phosphor-inventory-manager/ibm,everest_associations.json rainier-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs/usr/share/phosphor-inventory-manager/ibm,rainier-4u_associations.json rainier-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs/usr/share/phosphor-inventory-manager/ibm,rainier-2u_associations.json Change-Id: I422374d25966e731147eebd1772d5cfc4f62f9d9 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-08ibm: fans: Replace rainier with p10bmcAdriana Kobylak22-31/+31
The IBM rainier machine name is being replaced with the generic p10bmc. Tested: Built rainier and verified the fan files were installed, ex: obmc-phosphor-image/1.0-r0/rootfs/usr/share/phosphor-fan-presence/control/ibm,rainier-4u/zones.json obmc-phosphor-image/1.0-r0/rootfs/usr/share/phosphor-fan-presence/control/ibm,rainier-2u/zones.json obmc-phosphor-image/1.0-r0/rootfs/usr/share/phosphor-fan-presence/control/ibm,everest/zones.json Change-Id: I10edb9e30716cffa3f510fe94822eadb08326912 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: obmc-phosphor-image: Replace rainier with p10bmcAdriana Kobylak1-1/+1
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: I0a265a7eb9d763a8385a7139dae47bf2f475c672 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: certificate-manager: Replace rainier with p10bmcAdriana Kobylak1-1/+1
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: I0ab8ca402117e6eae8508d3f27cac7ad8c8b8aca Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: mboxd: Replace rainier with p10bmcAdriana Kobylak1-1/+1
The IBM rainier machine name is being replaced with the generic p10bmc. Tested: Built rainier and verified that the mboxd service file had 64M: $ cat tmp/work/rainier-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs/lib/systemd/system/mboxd.service .. ExecStart=/usr/bin/env mboxd --flash 64M --window-size 1M Change-Id: I7c5bf66ac38ab0b97efa1eba7ceccba86565ed85 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: network: Replace rainier with p10bmcAdriana Kobylak3-2/+2
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: Ic76f6202f9ae43440e5e6a793ca835a45d6ab088 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: debug-collector: Replace rainier with p10bmcAdriana Kobylak1-3/+3
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: I5e0b884b405f56da7aa746b059d2490a1de2caab Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: openssl: Replace rainier with p10bmcAdriana Kobylak1-2/+2
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: I5b7b173bd0255fcbe1956042cc365bf1fb6c7520 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: sensors: Replace rainier with p10bmcAdriana Kobylak6-4/+4
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: I43d08c3be45d8cc8b03914b9bc257df2668e9fe0 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: packagegroups: Replace rainier with p10bmcAdriana Kobylak1-8/+8
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: If32498a59ce621b1e456fdf0ec965c92d646ab86 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: dbus-interfaces: Replace rainier with p10bmcAdriana Kobylak1-1/+1
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: I7bfbbf2310be78a2ae601047710204f5fb9f0da0 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: obmc-console: Replace rainier with p10bmcAdriana Kobylak4-8/+8
The IBM rainier machine name is being replaced with the generic p10bmc. Tested: Built rainier and verified the console files were installed: rainier-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs/etc/obmc-console/ Change-Id: Ida1010ae6c6c0e1eecf2b62521c06bfe055b0d88 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: settings: Replace rainier with p10bmcAdriana Kobylak2-1/+1
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: I3947988f73e601ca281b6222a6116bc7f50c8c32 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: skeleton: Replace rainier with p10bmcAdriana Kobylak1-0/+0
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: Id9cbde5f3ccc505635c37c8ffd92efef191e9320 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: logging: Replace rainier with p10bmcAdriana Kobylak1-1/+1
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: I9fa2bb6f199144816bd9d90405afe4fba36fc575 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: software-manager: Replace rainier with p10bmcAdriana Kobylak1-4/+4
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: Iba75dcfe5eee66bcb0afb5a01feddbf26b2c7988 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: host-postd: Replace rainier with p10bmcAdriana Kobylak1-1/+1
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: I430e6ed6bf006a114e185d4adb507d1c5c6e2cd4 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-01ibm: gpio-monitor: Replace rainier with p10bmcAdriana Kobylak5-2/+2
The IBM rainier machine name is being replaced with the generic p10bmc. Tested: Built rainier and verified the files were installed as expected: rainier-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/rootfs/etc/default/obmc/gpio/phosphor-power-supply-0.conf Change-Id: I6539c71cfc37fa67027204b17c68a0c7f8fec5a6 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-03-30leds: rainier: Create virtual physical LEDsVishwanatha Subbanna3-1/+45
These virtual physical LEDs are a mirror of real enclosure fault and enclosure Identify physical LEDs. However, these virtual LEDs are needed to be able to communicate the effective state of the enclosure fault and enclosure identify LEDs during lamp test. During lamp test, real physical enclosure fault and enclosure id LEDs should not be updated and they must be updated only after the lamp test finishes. However, Hypervisors would need to know the effective state of enclosure level fault and identify LEDs and that problem is resolved by these virtual LEDs. Once the lamp test finishes, these virtual physical LEDs would again be in sync with real enclosure fault and Identify LEDs. Tests: root@bmc:/lib/systemd/system/multi-user.target.wants# busctl tree xyz.openbmc_project.LED.Controller.virtual_enc_fault └─/xyz └─/xyz/openbmc_project └─/xyz/openbmc_project/led └─/xyz/openbmc_project/led/physical └─/xyz/openbmc_project/led/physical/virtual_enc_fault root@bmc:/lib/systemd/system/multi-user.target.wants# busctl tree xyz.openbmc_project.LED.Controller.virtual_enc_id └─/xyz └─/xyz/openbmc_project └─/xyz/openbmc_project/led └─/xyz/openbmc_project/led/physical └─/xyz/openbmc_project/led/physical/virtual_enc_id root@bmc:/lib/systemd/system/multi-user.target.wants# busctl get-property xyz.openbmc_project.LED.Controller.virtual_enc_fault /xyz/openbmc_project/led/physical/virtual_enc_fault xyz.openbmc_project.Led.Physical State s "xyz.openbmc_project.Led.Physical.Action.Off" root@bmc:/lib/systemd/system/multi-user.target.wants# busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/ddimm0_identify xyz.openbmc_project.Led.Group Asserted b true root@bmc:/lib/systemd/system/multi-user.target.wants# busctl get-property xyz.openbmc_project.LED.Controller.virtual_enc_id /xyz/openbmc_project/led/physical/virtual_enc_id xyz.openbmc_project.Led.Physical State s "xyz.openbmc_project.Led.Physical.Action.On" root@bmc:/lib/systemd/system/multi-user.target.wants# busctlset-property xyz.openbmc_project.LED.GroupManager /xyz/op_ebmc_project/led/groups/ddimm0_identify xyz.openbmc_project.Led.Group Asserted b false root@bmc:/lib/systemd/system/multi-user.target.wants# busctl get-property xyz.openbmc_project.LED.Controller.virtual_enc_id /xyz/openbmc_project/led/physical/virtual_enc_id xyz.openbmc_project.Led.Physical State s "xyz.openbmc_project.Led.Physical.Action.Off" Change-Id: Ic0ee5b0f376911650d5489d8bb84a4e83247190f Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2021-03-26ledmanager: Remove phosphor-led-manager-ledmanager packageVishwanatha Subbanna1-4/+4
phosphor-led-manager has 3 packages - phosphor-led-manager : Default - phosphor-led-manager-ledmanager : Packages phosphor-ledmanager - phosphor-ledmanager-faultmonitor : Packages phosphor-fru-fault-monitor Because of this, it was not possible to install files via Makefile and that always needed a corresponding update to FILES_{PN}-ledmanager. Removing phosphor-led-manager-ledmanager will eliminate this problem. Change-Id: I00ca4c34346a47f887872464b9050a46d8f5e8e9 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2021-03-25Inventory: rainier: Add LED group associations to Inventory objectsVishwanatha Subbanna2-5/+5408
This commit adds below forward and reverse associations "rType": "fault_inventory_object", "fType": "fault_led_group" "rType": "identify_inventory_object", "fType": "identify_led_group" Change-Id: Icaad89e6e690c3c0a635362e8c604874bc3f37fe Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2021-03-251s4u: support presence config.json for new systemAndrew Geissler2-0/+90
The 1s4u is just like the 2s4u except it has two less fans. Tested: - Booted up system with entity-manager loading rainier-1s4u config and verified fan applications found and loaded new 1s4u files and system was able to chassis power on. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I575a63edb242c1b94e1a6f1eafd86a96e4518e37
2021-03-251s4u: support zones.json for new systemAndrew Geissler2-0/+13
The 1s4u is just like the 2s4u except it has two less fans. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I56ed73ee573df250072bd014a0e4c8a4072e974e
2021-03-251s4u: support fans.json for new systemAndrew Geissler2-0/+30
The 1s4u is just like the 2s4u except it has two less fans. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I35333e49c883fb9ac8c84223545fe3b903a66d7d