summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines
Commit message (Collapse)AuthorAgeFilesLines
* Check /media for active PNOR versions.Saqib Khan2017-08-191-17/+24
| | | | | | | | | | | | - On several systems we found out that the persistence priority file was not deleted as part of the delete interface. Therefore creating symlinks based just on those files was not a reliable solution. - The new design approach checks both /media and the persistence priority files before updating the symlinks. Change-Id: Ida2a4a5d5daf4ae8b9c9a17d755b6ca0ccd1c132 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* PNOR code update: clear existing volumes before creating new onesMichael Tritz2017-08-181-14/+34
| | | | | | | | | | | | | | | | In testing, a number of issues have occurred in which which we have attempted to create a read-only volume to mount the squashfs file, but it's failed because of an existing volume or UBI block of the same name. This commit resolves those issues by simply removing any mounts or volumes of the same name prior to creating and mounting a new read-only volume during the activation process. Resolves openbmc/openbmc#2109 Change-Id: Ifa4db46fc873d2177025ec973cace3b23cf17097 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* openpower-software-manager.bb: bump versionPatrick Williams2017-08-181-1/+1
| | | | | Change-Id: I23a2ebe3d4eedee36eb342c064a87598893dfaa6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* openpower-occ-control.inc: bump versionPatrick Williams2017-08-181-1/+1
| | | | | Change-Id: I51bff72dd3647f3f45ebfaf3956e342173b5f71b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Disable OCC active on host stopAndrew Geissler2017-08-183-0/+44
| | | | | | | | | | | | The OCC active sensor drives the binding and unbinding of the OCC device driver to the OCC's. Need to ensure if the host is stopped for any reason, that the OCC sensors are set to non-active. Resolves openbmc/openbmc#2148 Change-Id: I5e4bc5469ddda16c961b9f46c771c101b7092cd6 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* openpower-ipmi-oem.bb: bump versionPatrick Williams2017-08-171-1/+1
| | | | | Change-Id: Ica5b38fe0305a60c384e01e984bf1e6c5803ce0f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* openpower-ipmi-oem: add recipe DEPENDsPatrick Williams2017-08-171-0/+11
| | | | | Change-Id: I039ec6edad495ee5afe22ed703257ea9e2f7f49f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Generate OCC Sensor mapping during build timeVishwanatha Subbanna2017-08-175-0/+48
| | | | | Change-Id: Ieb0ba06bc8875af382b1f8e9ed38ec36eeaece48 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* openpower-software-manager.bb: bump versionPatrick Williams2017-08-171-1/+1
| | | | | Change-Id: Ib1c8b04cdc4cde632fc85758757fb899ca098fb2 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* ipmi sensors: fix d-bus mappings in input yamlDeepak Kodihalli2017-08-161-2/+1
| | | | | | | | | | | | | | | | | A system specific YAML file helps map ipmi sensors to corresponding d-bus objects. This YAML was using the sensor type as the key. This was an issue because there is a possibility of different sensors, with the same sensor type, mapping to different d-bus objects and interfaces. While still maintaining the sensor number as the key in the "output" YAML (generated by an MRW parser), use the sensor instance name as the key in the input YAML. This helps to have 1x1 mappings between sensors and d-bus objects. Resolves openbmc/openbmc#2130. Change-Id: I3e87fa88d8622615f1a21aa46084f7082dcc4d0f Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* meta-mellanox: meta-msn: add msn specific defconfig layer.Mykola Kostenok2017-08-152-0/+22
| | | | | | | | Add msn specific defconfig layer. It adds configs used by msn boards. Change-Id: Idba0423d554b50c61801c830b7b9daab73633725 Signed-off-by: Mykola Kostenok <c_mykolak@mellanox.com>
* PNOR: Create a service file for updating symlinks.Saqib Khan2017-08-153-0/+63
| | | | | | | | | | | | - Replace the functionality of updating the symlinks under openpower-pnor-code-mgmt to a service file. - The new service has a dependency on mboxd.service. This allows us to only defer the symlink creation/update until the mboxd.service is started, which prevents symlink updates while HOST is running. Change-Id: I8542aa24a9058af9560a32eec5140ff5ddee60d1 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Add fsidbg tool. Remove iicmaster.Edward A. James2017-08-154-25/+19
| | | | | | | | | | | iicmaster no longer works with the (soon to be) upstreamed FSI-based I2C driver. fsidbg is one tool to access FSI engines and perform client driver operations, including SCOM, SBEFIFO, OCC, and I2C. Change-Id: I1802977d1b812d42213b38462596ee49838cfd3b Signed-off-by: Edward A. James <eajames@us.ibm.com>
* Increase AVDD on witherspoonAndrew Geissler2017-08-151-0/+33
| | | | | | | | | | Per request of power team, adding an AVDD override to our power on sequence Resolves openbmc/openbmc#2112 Change-Id: I82478e6f3eb30a108c4e7332369d36568e425315 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* openpower-software-manager.bb: bump versionPatrick Williams2017-08-141-1/+1
| | | | | Change-Id: I79ec3a085de3d5e3935ecfe9e7a8f5ee0c94a085 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Update to event group typeMatthew Barth2017-08-141-3/+3
| | | | | | | | Parser update requires the group type be the fully qualified path to each group member Change-Id: I09c30e678e1cef4bdec091d687c6d5e60bea69b3 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Resolves the dependency issue on usr-local.mountSaqib Khan2017-08-141-2/+0
| | | | | | | | | | | | | | | - We had a dependency issue on usr-local.mount file where org.open_power.Software.Host.Updater.service wanted usr-local.mount before ubipatch.service, but ubipatch.service wanted usr-local.mount after itself. - Removed the dependancy on usr-local.mount from org.open_power.Software.Host.Updater.service because usr-local.mount should only be triggered by ubipatch.service. Resolves openbmc/openbmc#2098 Change-Id: I54536cc9ac9ffae8b2437c611c6114c9ec4df24f Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* PNOR: Check if device formatted as UBI.Saqib Khan2017-08-141-10/+5
| | | | | | | | | | | | | | - Check if device is formatted as "UBI" before attempting to re-attach the pnor mtd device to ubi. - This helps reduce the error logs that we get on systems that doesn't support UBI, such as barreleye. Resolves openbmc/openbmc#2066 Change-Id: I21091644950aa245df655d0a871e0f203782932c Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Make 'Blink' as action for 'bmc_booted' group on PalmettoVishwanatha Subbanna2017-08-141-1/+1
| | | | | | | | | | | | | | | | It is a requirement that Firmware notifies users about its READY state and the mechanism was to assert 'bmc_booted` group which would result in user defined behavior on corresponding physical LED. Blinking a particular physical LED is one of the most common ways to let users know. Currently on Palmetto and Barreleye, the behavior was set to ON and this commit changes it to 'Blink' only on Palmetto and leaves the Barreleye behavior as is based on the discussion with system Engineer. Change-Id: I4a976a8906ced0429c46967262208d9505c2f3e3 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Configure hwmon to remove objects on failsMatt Spinler2017-08-141-0/+2
| | | | | | | | | | | | phosphor-hwmon changed its default behavior to exit the program on an access failure. To preserve the behavior that this platform needs, an option needs to be passed to the configure step. Resolves openbmc/openbmc#2111 Change-Id: I124178629be25c7758e59ba356bb1c5dc3e4b57d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* op-proc-control.bb: bump versionPatrick Williams2017-08-121-1/+1
| | | | | Change-Id: I46627db564603cd33cdff04d250adf02eb2e46d3 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* openpower-occ-control.inc: bump versionPatrick Williams2017-08-111-1/+1
| | | | | Change-Id: I3b4168ac416b5779a4bb4fd4fdaf48b1fff85821 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* packagegroup-op-apps: select pkgs with openpower-ubi-fsPatrick Williams2017-08-101-6/+4
| | | | | | | | | | The old set of skeleton python apps for host firmware management and the newer openpower should be mutually exclusive. Enable the correct set toggled by the openpower-ubi-fs MACHINEFEATURE. Change-Id: I2fa73d47b83141a2a5d50de49cf2b04e75a8e664 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-software-manager: make version a virtual pkgPatrick Williams2017-08-101-0/+1
| | | | | | | | | | | | | phosphor-software-manager-version provides a set of dbus interfaces that are only useful if there is an 'updater' package also installed. Rather than explicitly install phosphor-software-manager-version, have it RPROVIDE a virtual package and set up RDEPENDS correctly so it is added to the image whenever an 'updater' package is installed. Change-Id: Id6850aca023bb546881fe1583c57d9a24405e25a Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* meta-openpower: Convert MACHINE_FEATURE openpower-pflash to openpower-ubi-fsPatrick Williams2017-08-103-3/+1
| | | | | | | | | | Since pflash is no longer used when openpower-ubi-fs is enabled and the only use of the openpower-pflash feature was to enable a pflash dependency in obmc-op-flasher, remove obmc-op-flasher when openpower-ubi-fs is enabled (thus removing pflash from the machine). Change-Id: Ia11d2b11ac201a139e1c4d014d539d346e0c2479 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* mbox: Use MACHINE_FEATURES for virtual-pnorPatrick Williams2017-08-102-3/+1
| | | | | | | | Define MACHINE_FEATURE openpower-ubi-fs to enable the virtual-pnor functionality and enable on Witherspoon. Change-Id: I57a6a39cf36501cf6c638df13b4e4b08a70fec26 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* mboxd: convert virtual-pnor to PACKAGECONFIGPatrick Williams2017-08-101-1/+1
| | | | | Change-Id: Iad65d850e224f9c869a3c14c2698bbb13faa766b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Enable LED support for Romuluscausten2017-08-093-0/+45
| | | | | | | | | | | | | | | Support for groups bmc_booted, power_on, enclosure_fault, enclosure_identify, and lamp_test. Allows lamp test to display all LED colors on a multi color LED as part of the lamp test. Notice there is no LED change for Power states. That is because the Romulus op panel does not run on standby power. It is impossible to do anything useful with the power LED. Change-Id: Ib60ced92cd3d3da6176a486870640137a7ab08fb Signed-off-By: Chris Austen <austenc@us.ibm.com>
* witherspoon: enable gpio presenceBrad Bishop2017-08-091-0/+16
| | | | | | | | | Add witherspoon gpio presence support. Resolves: openbmc/openbmc#1318 Change-Id: Icace7a8ad444f13c0005411029d2438df40e6306 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Witherspoon MRW XML revision bumpMatt Spinler2017-08-081-1/+1
| | | | | Change-Id: Ib715367623d8790bc1fa5ec43affa9273773b14b Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* meta-palmetto: Fix occ-hwmon configLei YU2017-08-081-13/+40
| | | | | | | Update Palmetto's occ-hwmon config for new phosphor-hwmon service. Change-Id: I99a2508c3116b0ad34169dc769b3448f90eb8ce3 Signed-off-by: Lei YU <mine260309@gmail.com>
* Adding OccActive to sensor config yaml for non MRW systemsDhruvaraj Subhashchandran2017-08-086-0/+187
| | | | | Change-Id: I32a9e0ee08731566c2958ce5703e12cc4afce5c1 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Sensor YAML update for non MRW systemsDhruvaraj Subhashchandran2017-08-086-1/+518
| | | | | Change-Id: I8f6a00d33a2c398e423554a43118aaee823a8c98 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Merge hardcoded sensor yamls with generated sensor.yamlDhruvaraj Subhashchandran2017-08-082-0/+36
| | | | | | | | This change will enable adding sensors which is not part of the MRW to the MRW bases systems. Change-Id: I0d7d2ff94a668ae77bb8c906e85ef6280dc49830 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Configuration yaml changes for virtual sensorsDhruvaraj Subhashchandran2017-08-083-0/+32
| | | | | Change-Id: I270a62022340d6be382091a6595859dafdb634ae Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Add 5 seconds delay before processing host checkstopVishwanatha Subbanna2017-08-071-0/+3
| | | | | | | | | | | | | At checkstop, OCC does some house keeping such as debug data collection and hence need to delay before processing the checkstop condition. 5 seconds delay is in agreement with Hostboot. Fixes openbmc/openbmc#2094 Change-Id: Ibeadd167968c374efa1553e972b11ec56a41f015 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* skiboot: Use commit SHA instead of tag.yuenn2017-08-041-1/+1
| | | | | | | | | Using a tag forces bitbake to go out and try to contact the source even if the repo has been downloaded in mirror tarball. It prevents building on a machine without network access using a local mirror. Change-Id: I71a984fc784ada82fa81294917c9e2fbc0a4935b Signed-off-by: yuenn <yuenn@google.com>
* openpower-software-manager.bb: bump versionPatrick Williams2017-08-021-1/+1
| | | | | Change-Id: I0fed5a32f50c9a617a03e3f3494023cd24255630 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* witherspoon:Decrease VDN to .8v for power onAndrew Geissler2017-08-031-0/+8
| | | | | | | | | | Per request of power team, reduce our VDN voltage from .9v to .8v Resolves openbmc/openbmc#1959 Change-Id: I3667aa256fc5c79d240adad1360879ced03c4ec6 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* witherspoon:Increase memory VDDRAndrew Geissler2017-08-031-0/+9
| | | | | | | Increase by ~18mv per request of power team Change-Id: Ifaf45926e04fc441eb0a49de462bc82cec1ad6bf Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* witherspoon: update fan-presence configBrad Bishop2017-08-031-25/+39
| | | | | | | | React to the configuration file format enhancements introduced by the application. Change-Id: I90c30c4331c70e499dafaa00e9592f2b740bd54c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* mboxd: Enable virtual pnor on witherspoonAdriana Kobylak2017-08-021-0/+2
| | | | | | | | Clear the EXTRA_OECONF setting that disables the virtual pnor support in the default mboxd recipe. Change-Id: I83cb38dc4d266d6923e340a7495163b4a1a32d59 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* PNOR: Check if the pnor mtd is already attached.Saqib Khan2017-08-021-0/+5
| | | | | | | | | | | - In the pnor ubi attach function, check if the pnor is already attached to ubi, since a second attempt may fail. Resolves openbmc/openbmc#2074 Change-Id: Ic07d56c5f656d4a236d85fd77acc9aef214a9c3b Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Unhardcode gpio keys device for checkstop monitorBrandon Wyman2017-08-021-1/+1
| | | | | | | | The move to gpio-keys-polled will require evdev code to use the symlink that the udev rule (60-persistent-input.rules) will get created. Change-Id: I2be9dcbbf21a8bd212bc273ac488c891f07dd415 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* openpower-occ-control.inc: bump versionPatrick Williams2017-08-021-1/+1
| | | | | Change-Id: I19d19033b1d3ccc3427b30921c879be80a2468e4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* openpower-software-manager: Create ubi volume for pnor patchesAdriana Kobylak2017-08-024-2/+19
| | | | | | | | | | Create a ubi volume to store pnor patches and mount it under /usr/local/share/pnor/. Resolves openbmc/openbmc#1333 Change-Id: Id62549e5e0dc0e5373510a59193736fcf87bb18a Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* wspoon: Unhardcode cooling type gpio keys deviceBrad Bishop2017-08-021-1/+1
| | | | | | | | | Use the udev created symlink given the forthcoming introduction of additional input devices (gpio-keys-polled) and the non-deterministic probe order that comes along with that. Change-Id: I0f0ffa96adb958be0c1835ccb1a1e73d5378de03 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* openpower-occ-control.inc: bump versionPatrick Williams2017-08-021-1/+1
| | | | | Change-Id: I69b4d6cc6bb56f4217607ab4c54aba7b376b17ba Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* openpower-software-manager.bb: bump versionPatrick Williams2017-08-021-1/+1
| | | | | Change-Id: Id5f9969b8c15712b7c6eaff1b16b70b289d70846 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* openpower-software-manager: Create a mount dir for ubi volumes.Saqib Khan2017-08-021-0/+4
| | | | | | | | | | | | | | | After a BMC Code update the directories under /media/ are deleted. Therefore the obmc-flash-bios-ubiremount.service fails to mount the PNOR ubi volumes as mount point is no longer exist. Add a check to create the mountdir before mounting the ubi volumes on /media dir. Resolves openbmc/openbmc#2062 Change-Id: I4f148fb376795102bd630e87fc8045e422e796ff Signed-off-by: Saqib Khan <khansa@us.ibm.com>
OpenPOWER on IntegriCloud