summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/chassis
AgeCommit message (Collapse)AuthorFilesLines
2021-10-28phosphor-buttons: srcrev bump 6d724ce88b..8381d5aa35Andrew Geissler1-1/+1
Manojkiran Eda (1): Add OWNERS file Change-Id: Ib21f7e74683dd0f8f7afe5d63a3ae61e7c7e7b13 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-27phosphor-buttons: srcrev bump 703c760935..6d724ce88bAndrew Geissler1-1/+1
Patrick Williams (1): catch exceptions as const Change-Id: Ie4ff09c0be8019db0802ea7d590cb989757536a0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-27phosphor-power-control: srcrev bump 4d209a2458..ca9aa00180Andrew Geissler1-1/+1
Manojkiran Eda (1): Add OWNERS file Change-Id: I3a7d6d0e29f6530cfdd20b96618ec9bf9e82918e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-04phosphor-buttons: srcrev bump 5ed4cc0f09..703c760935Andrew Geissler1-1/+1
Patrick Williams (1): exception: switch to public sdbus exception Change-Id: Ida725a4f801f67c857a1c1771a64a7f841e97d05 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams2-13/+13
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement. Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
2021-08-12op-power-start: ensure runs after pre power on targetAndrew Geissler1-0/+1
If no one else has started this synchronization target before this service starts then it will run without waiting since there is no Wants clause. Add the Wants clause to ensure proper synchronization occurs. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I5db6a5800d5456efd97d0f8c2eabd9113d725370
2021-08-11meta-phosphor: prep for new override syntaxPatrick Williams4-10/+10
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
2021-04-06remove host-on and chassis-on file rmAndrew Geissler1-2/+0
The removal of these files was moved into the phosphor-state-manager applications. This is the final commit in that series: https://github.com/openbmc/phosphor-state-manager/commit/4a4c1a69432dd88a4204e7a15a838aae75ae1d12 Clearing them on the power off paths in this service file caused complexity with other paths like BMC resets with the host up and warm reboots. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I33997107a315f888280932fafda1d75d57ba50af
2021-02-25mpreboot: ensure cleared on power offAndrew Geissler1-0/+1
Recently saw an issue where a system was doing an mpreboot but hit a processor checkstop as soon as the reboot of the host started. This caused a full power cycle of the chassis and a normal reboot of the system. In this scenario, the /run/openbmc/mpreboot@0 file was not cleared so the normal boot of the system went very haywire as certain required services do not start when this file is present. Currently this file is only cleared once we get to the op-continue-mpreboot@.service. In the scenario listed above, we never make it to that service, hence the file is never cleared. This commit ensure anytime the system is having chassis power removed, the mpreboot file gets cleared. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I9ec2507d56f8d31b034d18ae03f3867e08d1f152
2020-09-23power-on: wait for power on once power is turned onAndrew Geissler1-0/+2
Currently the op-wait-power-on service is started before power is actually turned on. Ensure this service does not start until the obmc-power-on-pre@.target completes. The bootblock logic prevents the obmc-power-on-pre@.target from completing when a blocking error or code update is occurring. Without the fix in this commit, the system will not power on but this service will fail because it is incorrectly started as a part of the obmc-power-on-pre@.target. (From meta-phosphor rev: 7773d935f6bb7680bb92212d0a58cebb097affd1) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ib2e339bb93af15ffddacb85d77db7ce22c8a5da1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-23power-on: remove redundant before instructionAndrew Geissler1-1/+0
This service already has a Before=obmc-power-start@.target which itself runs before obmc-power-on@.target. (From meta-phosphor rev: 84de9636c93b8b42f0120c8573586b4829b7600d) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ia51a8030cf7f97b9f9090fa1ec5c7266d8014382 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-15phosphor-buttons: srcrev bump 582b3f025a..5ed4cc0f09Andrew Geissler1-1/+1
Patrick Williams (3): sdbusplus: remove deprecated variant_ns MAINTAINERS: remove Ed Tanous as maintainer sdbusplus: replace message::variant with std::variant (From meta-phosphor rev: 7041e3979e04e613ffa3a30cc1a9e087fef2ed78) Change-Id: Ifeffdbec7c5352b48a53776c872b6388f7bd7dac Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-14meta-phosphor: remove some old skeleton-based default virtualsPatrick Williams3-52/+0
(From meta-phosphor rev: 26202e3e79ec092a6af7311b962d81b0576da926) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib4fcc31b4d43807cb3b24cf131deca6744ed63d7 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-25chassid/flashd: avoid QA issues with SRC_URIPatrick Williams1-1/+1
The SRC_URI used ${PN} which can changed depending on target context, such as appending "-native" or prepending "nativesdk-". Use ${BPN} instead. Cleans up the following QA warnings with Tiogapass: WARNING: obmc-phosphor-flashd-1.0-r1 do_package_qa: QA Issue: obmc-phosphor-flashd: SRC_URI uses PN not BPN [src-uri-bad] WARNING: obmc-phosphor-chassisd-1.0-r1 do_package_qa: QA Issue: obmc-phosphor-chassisd: SRC_URI uses PN not BPN [src-uri-bad] (From meta-phosphor rev: 2ac028916f7fd7e291ed3d1a4d38dec4d5663325) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9f507a729277153f6827e6807c00ec6b32154f4b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-02-24phosphor-buttons: srcrev bump 3fdcdb82d0..582b3f025aAndrew Geissler1-1/+1
Tim Lee (1): phosphor-buttons: Make gpio interrupt configuration can be set correctly (From meta-phosphor rev: f654f2bad9c291004c32e5593aec840f8b8b6554) Change-Id: I028cb6864852c3ebe1888360bf72291946b264c1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-06phosphor-buttons: srcrev bump 1ac9ab6d29..3fdcdb82d0Andrew Geissler1-1/+1
Gunnar Mills (1): Fix Maintainers file (From meta-phosphor rev: 29872eb6fd7845d5e37abff56b295ea8e4517d5d) Change-Id: I68c01fb973e45b0a8cfdfb02d9192ac6599c9138 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-20meta-phosphor: Remove references to PHOSPHORBASEBrad Bishop2-2/+2
PHOSPHORBASE is only used for pointing at licenses...point at the licenses in oe-core in meta/files/common-licenses instead. to match the defacto convention used in other oe layers like meta-openembedded. (From meta-phosphor rev: a1cee09419cb1467c3d2b7bf996b40089f0d06f4) Change-Id: If136d24638a8022671988cf0a01620e7fffc545f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-15meta-phosphor: Remove unused obmc-inventory-mgrBrad Bishop2-38/+0
This recipe is no longer used in-tree anywhere. Drop. (From meta-phosphor rev: d589b3fc94db3563ef54195f6a592ba3e8abf9e5) Change-Id: I3aa5b0f4d27102bee500d31e33917d4fb32cfb2c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16phosphor-buttons: srcrev bump 6910122589..1ac9ab6d29Andrew Geissler1-1/+1
Patrick Venture (1): transition to multi-user.target in service files (From meta-phosphor rev: 21e7d1ef2f0f3f44fd027a3684237e09d6f6cc80) Change-Id: I33cf7c09e71705a5d8d78908da18b61404239110 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16obmcutil: Add 'sh' version, remove python versionAnthony Wilson1-0/+18
obmcutil was moved from skeleton to state-manager and converted to 'sh'. obmcutil-completion.sh no longer needed in pydevtools. Add recipe for new repo `phosphor-power-control` to install chassiskill. Adds the phosphor-power-control apps to the chassis-state-mgmt packagegroup. Install the components associated with the phosphor-state-manager package into bin. phosphor-state-manager: srcrev bump 32c532ea9b..19096267d4 Alexander Filippov (1): obmcutil: add more info to state subcommand Anthony Wilson (2): obmcutil: Add to 'make install' list obmcutil: Add chassiskill option Patrick Venture (2): build: pkg anti-pattern: use defaults build: install into bin instead of sbin (From meta-phosphor rev: 3492fb98c0a181a1c2adaae9682ef66683407241) Change-Id: Id0afaa80d1fa0c309d3d6d3483c40d26351f5f06 Signed-off-by: Anthony Wilson <wilsonan@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06update upstream subtreesBrad Bishop6-6/+6
A number of corequisites exist so squashing these all into one patch. meta-ingrasys - refresh master bc513127f4..67bcaf389f meta-hxt - refresh master 86a4df514f..8fe0d38bbb meta-phosphor - refresh master 06c09d7cce..df6ddae3d2 meta-quanta - refresh master 4f126361a1..53f3025271 Change-Id: I3daeef2a0467d8ea4f1fd1c617e526f8b11258af Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06meta-phosphor: obmc-phosphor-buttons: point to binPatrick Venture1-3/+3
Point to bin where the package now installs. phosphor-buttons: srcrev bump 391a21a1bb..6910122589 Patrick Venture (1): build: install into bin instead of sbin (From meta-phosphor rev: 1eed372c024f29a14a042d6d0f0fc58a8b6f7c37) Change-Id: I8f761f8f8569cb8feff80f3275d5ec4e19261dc2 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-29meta-phosphor: drop legacy buttons recipesBrad Bishop4-50/+0
Drop the recipes for the legacy reset and power buttons applications: skeleton/pwrbutton skeleton/rstbutton These applications have been moved to a new subproject, phosphor-buttons. Drop recipes for the legacy apps. (From meta-phosphor rev: bf89459f8f22e2c8201ccf194b3370e756e6f7d1) Change-Id: I66c3d805700056aca8cc58e5c79b5fa1be1b5aa2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-01-24oneshot services should only be run onceAndrew Geissler1-0/+1
Still chasing root cause of openbmc/openbmc#3466 but either way, these services should be configured to only ever run once. They do one-time things and do not make sense to be run multiple times. (From meta-phosphor rev: d9c5bebf10b7e45c714c072a12d058be683d4b18) Change-Id: If199ed739853b353cb11c85039a30c17e9a32e49 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-01-15Add button signals and handler packagesMatt Spinler1-3/+15
The phosphor-buttons repo contains 2 apps - the button signal sender, and the button signal handler, each with their own service files. Make those into packages, so if someone wants to make their own button handler for example, they can just not include the obmc-phosphor-buttons-handler package in their image. Tested: Built into a witherspoon image and installed on a system and saw everything running and working. (From meta-phosphor rev: f69dd65883d8e9a1cf47e9ffcdd99efd75f6b630) Change-Id: I9b81692ab57bbea0ad32751c036d46a33fe35c03 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-12-12phosphor-buttons: srcrev bump f654267db9..391a21a1bbAndrew Geissler1-1/+1
Matt Spinler (7): Add .gitignore Add button-handler framework button-handler: Add power button actions button-handler: Add reset button actions button-handler: Add ID button actions button-handler: Add button-handler service file Add myself as a maintainer (From meta-phosphor rev: 443f1b00f78c2dcacd9f776fd75007523e9ed910) Change-Id: Ia3ded7e495a3ad91a230c1053fffdce615eb7798 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-12-11Add obmc-phosphor-buttons recipe.Kuiying Wang1-0/+23
Add obmc-phosphor-buttons_git.bb file and enable buttons TestBy: export TEMPLATCONF=meta-intel/meta-s2600wf/conf/ bitbake obmc-phosphor-buttons (From meta-phosphor rev: 0d737656491b85b06ecb0aaa1290276abc98234f) Change-Id: I09b182b2adc4d245a3b42794a2e133d940074d55 Signed-off-by: Kuiying Wang <kuiying.wang@intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-08meta-phosphor: master refresh d71a48b236..f05db6a860Brad Bishop1-0/+2
Update meta-phosphor to master HEAD. Patrick Venture (6): meta-phosphor: mrw-api-native: set LICENSE field meta-phosphor: obmc-inventory: set LICENSE field meta-phosphor: mrw-perl-tools-native: set LICENSE field meta-phosphor: mrw-patch-native: set LICENSE field meta-phosphor: obmc-phosphor-fand: set LICENSE field meta-phosphor: obmc-phosphor-chassisd: set LICENSE field Change-Id: Ife52c4042abb732dd6511f20645837a844716e25 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-06meta-phosphor: master refresh 3026b0fa5a..d76a657a63Brad Bishop1-1/+2
Update meta-phosphor to master HEAD. Patrick Venture (52): meta-phosphor: obmc-console: set LICENSE field meta-phosphor: dbus-interfaces: set LICENSE field meta-phosphor: rest-dbus: set LICENSE field meta-phosphor: slpd-lite: set LICENSE field meta-phosphor: ipmi-host: set LICENSE field meta-phosphor: ipmi-net: set LICENSE field meta-phosphor: network: inarp: set LICENSE field meta-phosphor: network: set LICENSE field meta-phosphor: logging: set LICENSE field meta-phosphor: ipmi-tool: fixup LICENSE meta-phosphor: clear-once: set LICENSE field meta-phosphor: preinit-mounts: set LICENSE field meta-phosphor: systemd: obmc-targets: set LICENSE field meta-phosphor: dbus: perms: set LICENSE field meta-phosphor: dbus-interfaces-mapper-config-native: set LICENSE field meta-phosphor: dbus-monitor-config-native: set LICENSE field meta-phosphor: legacy-namespace-mapper-config-native: set LICENSE field meta-phosphor: mapper-config-native: set LICENSE field meta-phosphor: obmc-host-failure-reboots: set LICENSE field meta-phosphor: fan-control-events-config-native: set LICENSE field meta-phosphor: fan-control-fan-config-native: set LICENSE field meta-phosphor: fan-control-zone-conditions-config-native: set LICENSE field meta-phosphor: fan-control-zone-config-native: set LICENSE field meta-phosphor: fan-monitor-config-native: set LICENSE field meta-phosphor: fan-presence-config-native: set LICENSE field meta-phosphor: image-signing: set LICENSE field meta-phosphor: insecure-signing-key-native: set LICENSE field meta-phosphor: inventory-manager-assettag-native: set LICENSE field meta-phosphor: inventory-manager-config-native: set LICENSE field meta-phosphor: ipmi-channel-inventory-native: set LICENSE field meta-phosphor: ipmi-config: set LICENSE field meta-phosphor: ipmi-fru-merge-config-native: set LICENSE field meta-phosphor: ipmi-fru-properties-native: set LICENSE field meta-phosphor: ipmi-fru-read-bmc-inventory-native: set LICENSE field meta-phosphor: ipmi-fru-read-not-sent-by-host-inventory-native: set LICENSE field meta-phosphor: ipmi-fru-whitelist-native: set LICENSE field meta-phosphor: ipmi-inventory-sel-native: set LICENSE field meta-phosphor: ipmi-sensor-config-native: set LICENSE field meta-phosphor: ipmi-sensor-inventory-native: set LICENSE field meta-phosphor: logging-callouts-example-native: set LICENSE field meta-phosphor: logging-error-logs-native: set LICENSE field meta-phosphor: settings-defaults-native: set LICENSE field meta-phosphor: fan-presence-mrw-native: set LICENSE field meta-phosphor: fan-control-fan-config-mrw-native: set LICENSE field meta-phosphor: ipmi-fru-properties-mrw-native: set LICENSE field meta-phosphor: ipmi-inventory-sel-mrw-native: set LICENSE field meta-phosphor: ipmi-sensor-inventory-mrw-config-native: set LICENSE field meta-phosphor: ipmi-sensor-inventory-mrw-native: set LICENSE field meta-phosphor: led-manager-config-mrw-native: set LICENSE field meta-phosphor: logging-callouts-mrw-native: set LICENSE field meta-phosphor: hwmon-config-mrw: set LICENSE field meta-phosphor: settings-read-settings-mrw-native: set LICENSE field Change-Id: Ibe919c3f1a748fae67b45ff6908a236b08902450 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-17meta-phosphor: chassis: obmc-op-control-power: rename as gitPatrick Venture1-0/+1
obmc-op-control-power.bb inherits skeleton-gdbus, which is git-based. (From meta-phosphor rev: ec800d77cf8e27ef011c036e48f86909aa26f094) Change-Id: I8d1a699812851c3e42e10f7e988d5aa27b8983a1 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-16meta-phosphor: chassis: obmc-control-chassis: rename as gitPatrick Venture1-0/+1
obmc-control-chassis.bb inherits skeleton-python, which is git-based. (From meta-phosphor rev: 65b6f86249a2741912327668a89e7867c7960b4f) Change-Id: Ieceabb029edc0259cb18ed66328e46685109b501 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-16meta-phosphor: chassis: obmc-mgr-inventory: rename as gitPatrick Venture1-0/+1
obmc-mgr-inventory.bb inherits skeleton-python, which is git-based. (From meta-phosphor rev: a6434934e7af0662cd63d2cfd0e027afb464a4be) Change-Id: I95fb4aeb862aedc97feaf07f40e0b19d10a0d824 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-16meta-phosphor: chassis: obmc-button-reset: rename as gitPatrick Venture1-0/+1
obmc-button-reset.bb inherits skeleton-gdbus, which is git-based. (From meta-phosphor rev: a7914d6b3817f8feafabb199ca4d15a250c511e7) Change-Id: I9d9f751bbd3bdee5e72a10e6270a7701110fb294 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-16meta-phosphor: chassis: obmc-button-power: rename as gitPatrick Venture1-0/+1
obmc-button-power.bb inherits skeleton-gdbus, which is git-based. (From meta-phosphor rev: a4fb1879ad5b06ae215afb34646d5a20ee61a77e) Change-Id: I33a0d832b7d1214f1e47e36ab8185e318a792d64 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-06Remove dependency to the system manager serviceAdriana Kobylak3-6/+0
The GPIOs have moved out of the system manager's D-Bus object and the skeleton apps have been updated to get the information from json (ref: openbmc/skeleton 0f3fd5aa2d41a1b1bde5df471db74519ec82ef35). Remove the dependency out of the service files since it's not needed anymore. Tested: Verified there were no errors when removing the system manager app. (From meta-phosphor rev: 84bd534fb02c6dc5b4cad8a83b5402946c6cb094) Change-Id: I4cab0ce2f2a93857e9dee0a1b363e859a52108e7 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-27phosphor: pcie: drop unused pcie-detect recipeBrad Bishop2-31/+0
obmc-pcie-detect was only used on Barreleye, which has been dropped from the tree; so this is dead code and unused. Drop. (From meta-phosphor rev: 0bdbb5143f9c36e7cfb724e2d2dd8562d3d5931e) Change-Id: I3e8490ba49a64c2e6d21a948d088b01d0dfdd900 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-06meta-phosphor: Move layer content from common/Brad Bishop25-0/+467
Adopt a more conventional directory hierarchy. meta-phosphor is still a _long_ way from suitable for hosting on yoctoproject.org but things like this don't help. (From meta-phosphor rev: 471cfcefa74b8c7ceb704cb670e6d915cf27c63b) Change-Id: I3f106b2f6cdc6cec734be28a6090800546f362eb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>