summaryrefslogtreecommitdiff
path: root/meta-openbmc-machines/meta-openpower
AgeCommit message (Collapse)AuthorFilesLines
2017-05-18LEDS: Add LampTest group containing all the LEDsVishwanatha Subbanna2-0/+26
LampTest currently expects all the LEDs to be blinking. This change is for Barreleye and Palmetto. Change-Id: I78573124f312195d250b4feebf4cb77249cc1c74 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2017-05-13Remove fan-default-speeds serviceMatt Spinler4-72/+1
This was just a temporary service that bypassed hwmon and programmed the fan controller chip directly. Now that the real fan control is going in, this can be removed. Change-Id: I0b9e85d89ca097faabccb1744862a58a0776be72 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-05-13Add dependency for openpower-debug-collectorMarri Devender Rao1-0/+2
Resolves openbmc/openbmc#1266 Change-Id: Iebf502f778a2d62c7a8cfeedc7fcee7dd3857c8b Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2017-05-13cfam_override@.service - run on ConditionPathExistsMichael Tritz1-1/+1
ConditionFileExists doesn't exist. This commit updates the run condition for cfam_override@.service to ConditionPathExists, which does exist and is the appropriate condition for the service. Resolves openbmc/openbmc#1582 Change-Id: I24f233bc61c1d6c93ea8c237ab85da365c5d6220 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
2017-05-11Install fan monitor yamlMatt Spinler1-0/+1
The phosphor-fan-monitor-config-native recipe will install the fan monitor configuration yaml so other recipes can use it. To install a system specific version of the yaml, a .bbappend in that system's layer should be used, otherwise an empty yaml file will be installed. Change-Id: I310704846915320b5644eda1d5b933471436b2f9 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-05-11Fan monitor config yamlMatt Spinler1-0/+31
Add yaml to define the phosphor-fan-monitor behavior. A possible future improvement would be generate part or all of this file from the MRW, especially the inventory piece. This is being skipped for now due to time constraints. Change-Id: Ia38f8c40d31fca54abcd9c616981fb040cf57b14 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-05-11Add recipe for openpower-debug-collectorMarri Devender Rao3-0/+41
Change-Id: Ic6ee08100116b49f19572edf67fdd9ffa707b813 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2017-05-09meta-zaius: Order refclock fixup before fsi scanJohn Wang1-1/+1
Commit e1dcc23 mentions that the clock generator output configuration fixup should be started before trying to send any FSI transactions, so we need to re-order it to prevent race condition. Resolves openbmc/openbmc#1519 Change-Id: I11edb6ddf1982cbdda713707599fa62de51bcea4 Signed-off-by: John Wang <hsienchiang@gmail.com>
2017-05-08Witherspoon fan zone settingsMatt Spinler1-0/+21
This YAML defines properties of the Witherspoon fan zones. The actual fans in the zones will be obtained from a separate file, which will be generated from the MRW on systems that use it or else manually created. The two files will be taken as inputs by a python parser to generate C++ structures. The zone field is the fan zone number. The cooling_profiles field defines the profile that matches the profile in the MRW, so in addition to the zone number matching, the parser also has to check that the cooling profile matches before saying a fan is valid for this zone. The initial_speed field is the speed the fans should be set to on application startup. Future commits will add more functionality to the file. Change-Id: I579b2c44933e1dc7aa26209016c01f66b2cc1dff Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-05-08Add p9-cfam-override to packagegroup-op-apps.bbMatt Spinler1-0/+3
The cfam recipe is already in p9.inc, but won't get installed without this change. Change-Id: I497fd3b2d722137a8024a3098dd153723cf94b55 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-05-06Recipes for installing fan zone yamlMatt Spinler1-0/+2
Provides the virtual/phosphor-fan-control-zone-config virtual. By default, it will install an empty zones.yaml file into the directory needed by the phosphor-fan-control compile. To provide a system specific fan zone yaml, put one in that system's layer and install it with a .bbappend, which is what is being done in this commit for Witherspoon. Change-Id: Ie58fc9eb7b39cecffa39905266542bae16c0f977 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-05-06Recipe for phosphor-discover-system-stateMichael Tritz1-1/+0
This recipe will add the new program phosphor-discover-system-state to new builds. Additionally, the old Python state manager is removed from the build since discover_system_state.py was the last thing in it. Resolves openbmc/openbmc#773 Change-Id: I99ba0f1f0264cedebc5a9a7e5fa5dbaba0b79502 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
2017-05-05openpower-occ-control.inc: bump versionPatrick Williams1-1/+1
Change-Id: I4dea557d5e347f898c2296409ee4bf4adb3d1958 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-05-04Add needed dependency to build occ-controlVishwanatha Subbanna1-1/+2
occ-control now runs sdbus++ and hence needs to include python Change-Id: Ief2b0c126b3f94aeeebc467bf9acb03a956b4b27 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2017-04-30op-proc-control.bb: bump versionPatrick Williams1-1/+1
Change-Id: Ia04d42fbab321cc7daeebf88b1b41653c19dfa41 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-04-30meta-romulus: Mirror host console to UART1Lei YU2-0/+5
Add Romulus-specific override for obmc-console.conf containing the 'local-tty' configuration option. This enables obmc-console-server to relay the LPC-controlled VUART to another ttyS0/UART1 Change-Id: Ib56d5c34154a38721eb6379cc3636cbf24f34fea Signed-off-by: Lei YU <mine260309@gmail.com>
2017-04-27New Witherspoon MRW XMLMatt Spinler1-1/+1
* Added cooling zone information to the fans. * Gave the TMP275 a hwmon name so it will start being recognized by phosphor-hwmon. Change-Id: I54da1677973b52de1594c6011e4a302fb56558fd Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-04-26witherspoon: obmc-console: Mirror host console to ttyS0Andrew Jeffery2-0/+5
This resolves openbmc/openbmc#1279 in the same way as the Zaius patch at cd021293f1264ace3b0833e63a3f9b4a20fd1ef4. Also, add baud-rate change per Zaius change at dbf3fba037a7c791084b87e0de4e88316386de3c. Change-Id: I59fddac17f0015fcf33c94aa8161dcfd81864cd4 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-04-25meta-romulus: Remove P9 host watchdog workaroundLei YU1-3/+1
Remove the watchdog workaround patch from meta-romulus; And remove the patch itself since no machine is using it anymore. Change-Id: I2a1d8cbce3637562a35f738fce8c6bea2738528c Signed-off-by: Lei YU <mine260309@gmail.com>
2017-04-24meta-zaius: Add obmc-console-server baud rate configurationXo Wang1-0/+1
Add local-tty-baud option to Zaius BMC console configuration, to be read by obmc-console-server when opening the tty for the local UART mirroring. Change-Id: Iae2322b383388d9475e04a6a54ca47563123c812 Signed-off-by: Xo Wang <xow@google.com>
2017-04-20Refactor action target names Host-start-stopJosh D. King13-20/+20
The target change is: obmc-chassis-stop -> obmc-host-stop obmc-chassis-start -> obmc-host-start Removed CHASSIS_FMT and CHASSIS_LINK_FMT because they are no longer needed. CHASSIS_POWER_FMT_2 did not change because its used for obmc-chassis-reset. Deleted files obmc-chassis-start@.target and obmc-chassis-stop@.target because they are no longer needed. I moved over their contents to obmc-host-start and obmc-host-stop. Updated phosphor-state-manager.bb and skeleton-rev.bbclass to have correct commit id. Change-Id: I26cba4153038f39d60e8d450a05969a216848abe Signed-off-by: Josh D. King <jdking@us.ibm.com>
2017-04-20Refactor action target names Power-on-offJosh D. King33-53/+53
The target change is: obmc-power-chassis-on -> obmc-chassis-poweron obmc-power-chassis-off -> obmc-chassis-poweroff Also updated phosphor-state-manager.bb to now have correct commit id. Change-Id: I15aae803e5f0d44d4e6a137278f93e91f848b2c0 Signed-off-by: Josh D. King <jdking@us.ibm.com>
2017-04-18openpower-dbus-interfaces.bb: bump versionPatrick Williams1-1/+1
Change-Id: I73da168f194d2c3d6118a577c26d7861bf349257 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-04-17openpower-occ-control.inc: bump versionPatrick Williams1-1/+1
Change-Id: Ic16cabeee148b0cbe4713d0c8a7c5fae644f3d9d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-04-17Recipe for CFAM override procedureMichael Tritz3-1/+39
This recipe will put the CFAM override procedure into the build. Resolves openbmc/openbmc#1381 Change-Id: If805b6e947c6d9b09703cd6333df61f5fe61db54 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
2017-04-14op-proc-control.bb: bump versionPatrick Williams1-1/+1
Change-Id: I1d12188eeb561a5326cb3960e1213b51f98a48c0 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-04-13Switch FSI clock to synchronous mode on a disableMatt Spinler1-0/+1
Before unloading the FSI Driver, switch the master P9's FSI clock back to synchronous mode. Change-Id: I6309ad08c48cb5f272389925ea19b8cf7f8333d0 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-04-13Move FSI recipe and services to meta-openpowerMatt Spinler7-2/+74
FSI is an OpenPower concept. Change-Id: I0043d6d7b4783179b0893bbf7995aa229df2463f Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-04-09meta-zaius: Boot host automaticallyXo Wang2-0/+7
Add override for the default "powerpolicy" loaded from the settings YAML to ALWAYS_POWER_ON. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Ib753636c616c8f403f9656fa3aa3540e219b7e4a
2017-04-09openpower-occ-control: add missing bbclass inheritDeepak Kodihalli1-1/+3
openpower-occ-control.bb should inherit obmc-phosphor-dbus-service.bbclass, without which the occ-control d-bus service will not be installed. Change-Id: I1d4df8bca9761223c327668fbcf5f76fc83d22a4 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
2017-04-09meta-romulus: Re-order service units for power onLei YU3-15/+1
After OpenFSI driver is integrated, vcs_workaround now depends on fsi_scan service, which depends on PGOOD. Romulus previous vcs_workaround is run after CPLD gives power and before PGOOD is asserted, and thus causes issue openbmc/openbmc#1420. The fix is to move cpld_trigger before vcs_workaround, which will make CPLD to assert PGOOD before it, and thus before fsi_scan. Then Romulus is able to use the common vcs_workaround service, so p9-vcs-workaround.bbappend is deleted. Fixes openbmc/openbmc#1420 Change-Id: Ia6dee472185c74f382c15acf0e1f2ccb7ad288a2 Signed-off-by: Lei YU <mine260309@gmail.com>
2017-04-08Inventory: Add functional/presence sensor support for romulusRatan Gupta2-0/+1125
Add the config.yaml which defines the mapping between sensor numbers and Dbus Properties(present,functional) for CPU,Core and DIMM inventory objects. Resolves openbmc/openbmc#1345 Change-Id: I578111225a68b0a209f0b14701a37818c815cc6c Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-04-08Inventory: Add functional/presence sensor support for garrisonRatan Gupta2-0/+988
Add the config.yaml which defines the mapping between sensor numbers and Dbus Properties(present,functional) for CPU,Core and DIMM inventory objects. Change-Id: I6ebb4af7d55f012d3615decaefde83702c946a82 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-04-08Inventory: Add functional/presence sensor support for firestoneRatan Gupta2-0/+988
Add the config.yaml which defines the mapping between sensor numbers and Dbus Properties(present,functional) for CPU,Core and DIMM inventory objects. Change-Id: Ia603bb5764ddfa4b2a433cf28e93b42281e46a09 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-04-08Inventory: Add functional/presence sensor support for palmettoRatan Gupta2-0/+290
Add the config.yaml which defines the mapping between sensor numbers and Dbus Properties(present,functional) for CPU,Core and DIMM inventory objects. Change-Id: I5d720b09135c2b7b95e705a607c9f2a18373ec54 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-04-08Inventory: Add functional/presence sensor support for barreleyeRatan Gupta2-0/+988
Add the config.yaml which defines the mapping between sensor numbers and Dbus Properties(present,functional) for CPU,Core and DIMM inventory objects. Change-Id: I6e1f372c125cd8cc10bcf8a0689407f825ef21cd Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-04-04openpower-occ-control: initial recipeDeepak Kodihalli4-1/+46
Resolves openbmc/openbmc#1040. Change-Id: I692812389b5bc078da510c8df23b37475188b9b0 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
2017-04-04op-proc-control.bb: bump versionPatrick Williams1-1/+1
Change-Id: Iee9304529711f04d7693b4966fd49a0696b27e0b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-04-04Inventory: Build inventory with eeprom vpdRatan Gupta2-0/+87
Resolves openbmc/openbmc#665 Change-Id: Iccbb20c8600fb0bf52f6fda433a8853d9cf423d4 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-04-04Zaius: Rearrange vcs-on/refclock-fixup/avsbus-enMatt Spinler6-9/+9
Move vcs-on@.service, op-refclock@.service, and avsbus-enable@0.service to run as part of obmc-power-chassis-on.target instead of obmc-chassis-start.target so that after starting just obmc-chassis-start@0.target cronus will be able to run. Resolves openbmc/openbmc#1396 Change-Id: Ic00614abc3ea27167041614e63eed392b5b622f9 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-03-31Define Generic LED groups for all the platformsVishwanatha Subbanna2-14/+0
Regardless of the machine type, there needs to be standard set of LED groups that would get asserted / de-asserted under these conditions: 1) BMC booted 2) Power On 3) Power Off This makes sense on hardwares that have physical LEDs. However, QEMU does not have physical LEDs associated with the groups but the groups themselves can be in asserted state so that if physical LEDs are implemented in future, they can be used. Change-Id: Iaa081e59a356670b9f713db11bd45dbda55a6bd4 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2017-03-30inventory: adding extra fru properties for romulusRatan Gupta2-0/+1
Resolves openbmc/openbmc#1283 Change-Id: Ia5eb257ee27fc832d3b1066ab38312bafbac76a3 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-03-30Inventory: adding extra fru properties for firestoneRatan Gupta2-0/+1
Change-Id: I88dd905cd335c76253853ce210d85e4a6ee51ec2 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-03-30Inventory: adding extra fru properties for garrisonRatan Gupta2-0/+1
Change-Id: Ie771f9354f0b514ba9dab52ecff5b577f06db4fe Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-03-30Inventory: adding extra fru properties for palmettoRatan Gupta2-0/+1
Change-Id: I835e0d3b426e858240d2e71ad8f3ac7364615138 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-03-30Inventory: adding extra fru properties for barreleyeRatan Gupta2-0/+353
Change-Id: I4ee1f49f573b14a36a040517dd6b8e23a782512b Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-03-30openpower-dbus-interfaces: initial recipeDeepak Kodihalli3-0/+39
Resolves openbmc/openbmc#1167. Change-Id: I6fd0029b7e2a160d7d8c91d29870a1cd1a32b1a0 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
2017-03-30witherspoon: Enable hwmon-iio bridgeBrad Bishop1-0/+1
Add the hwmon-iio bridge to the witherspoon config fragment. Change-Id: I4d0bc9717015258dfee5a8fe90b26d6b26aaa7fc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-03-30meta-openpower: fix iicmaster and pflash warningSaqib Khan2-0/+6
In order to fix GNU_HASH warning in the elf binary we need to add the LDFLAGS to the TARGET_CC_ARCH. Opened issues openbmc/openbmc#1361 and openbmc/openbmc#1362 to track removal. Change-Id: Ia6e4ad69c7f3e2c272146e39512400a19b44d760 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
2017-03-27Inventory: changing the location for the fru inventory configRatan Gupta3-1394/+1041
This change is required for barreleye Change-Id: I76d9ae14ac544fddccd10d697bcd12d3eb7b6dc2 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>