summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower
Commit message (Collapse)AuthorAgeFilesLines
* openpower-occ-control.inc: bump versionAndrew Geissler2017-11-071-1/+1
| | | | | Change-Id: I7713619a306ec6f9672895e1556f7ea418fe228c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Create Witherspoon fan errorsGunnar Mills2017-11-074-442/+545
| | | | | | | | | | | | | | | | | | | | | Moved the code to create NotPresent and Nonfunctional errors to a new yaml, fan-errors.yaml. Fixed the problem with duplicate errors, caused by a 2nd fan going nonfunctional or not present which would create a 2nd error for the 1st fan previously nonfunctional or not present. Create a notpresent error if fan 0, 1, 2, or 3 is not present for more than 20 seconds. Create a Nonfunctional error if fan 0, 1, 2, or 3 is not functional for any amount of time. The system must be powered on in both of these cases. If a water cooled system, don't create errors for fan 1. An error is created each time the chassis powers on if a fan is removed or nonfunctional. Resolves openbmc/openbmc#2472 Change-Id: Ibd71bf3a3b2381df623e7310a510a2f044c525e4 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* meta-romulus: Add power LED rulesLei YU2017-11-061-0/+10
| | | | | | | | Set power led blink on bmc_booted, and set it on when host is powered on. Change-Id: Ia25c1b2fa358ed508bc02b7b8545d8b0d93586a4 Signed-off-by: Lei YU <mine260309@gmail.com>
* openpower-dbus-interfaces.bb: bump versionAndrew Geissler2017-11-031-1/+1
| | | | | Change-Id: I65c612edfded8749f4cff54a760a886681492c89 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* wspoon: Apply offset to ambient temp sensorMatthew Barth2017-11-012-0/+2
| | | | | | | | | According to thermal characterization, the ambient temperature sensor requires a -2C offset applied to reflect the correct ambient temperature. Change-Id: I354988013d51ee57403fa68c3fa5120e59d16b74 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* openpower-debug-collector.inc: bump versionAndrew Geissler2017-11-011-1/+1
| | | | | Change-Id: Id9862afcd019817d26005cd7384ba11ac8d730dd Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower-fru-vpd.inc: bump versionAndrew Geissler2017-10-311-1/+1
| | | | | Change-Id: Ia814828f41083ae2cd9dd86ff9733f489ea03f0f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower-software-manager.bb: bump versionAndrew Geissler2017-10-311-1/+1
| | | | | Change-Id: I705b73b5e7d766e695a6e3f6c5f54bb63bc1cc65 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Spelling fixes in meta-barreleyeGunnar Mills2017-10-311-1/+1
| | | | | Change-Id: I25e888ab410c558abb2d5e90c52f0dfcef5849a2 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Spelling fixesGunnar Mills2017-10-314-4/+4
| | | | | | | | | Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2. Change-Id: I649a843483394562fef2e9f1a8b3d38c0cbc6a38 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Create Shutdown Error on fan count shutdownGunnar Mills2017-10-312-2/+24
| | | | | | | | | Create a Shutdown error log when the system shuts down due to not enough present and functional fans. Changed in both air cooled and water cooled yamls. Change-Id: I1dbf13e5689bfd7a1b08eb1d1c52e3de3a084642 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Write journal to persistent storageAndrew Geissler2017-10-304-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the journal is written to a RAM based filesystem which is lost on BMC reboots. This commit will move the journal to a persistent filesystem location so it will be available after BMC reboots for debug. This change is only being done by default on witherspoon systems with this commit. Other systems may use this as a reference if they wish to move. By default, journald uses 10% of the filesystem (default is /var/log/journal/) and it will ensure 15% of the filesystem space is left free. Specific machine configs in openbmc can override these defaults if they wish. For witherspoon, we will use 3MB max and use the 15% left free default. Due to the way openbmc mounts its filesytems, a systemd-journald.service file override is required to ensure journald does not start until the /etc/ filesystem is fully mounted. journald uses /etc/machine-id to create a directory in which it stores its journal data. journalctl uses /etc/machine-id to know which directory to look into when a user requests the data. Without this override, journald will end up making a random machine-id and using that because /etc/machine-id is not available when systemd-journald.service is started. journalctl looks up the /etc/machine-id when its run, so it will use the correct one (but not the one journald is using). Witherspoon uses the new UBI filesystem, and only has a total of 4MB available within /var. Ensure the journal only ever uses 3MB of that space to leave room for other applications. In testing it was found that the persistence of journald had minor impacts to overall flash erase blocks. With persistence enabled or disabled, it was noted that the UBI maximum erase count value incremented by 1 for every 10-20 boots of the host. Our CI system, which gets a lot of activity (new image flashing, REST api testing, and host boots) average 10-12 erase counts a day. A worst case of 15 erase blocks a day would mean 18.2 years before hitting the 100,000 erase block limit. Resolves openbmc/openbmc#1627 Change-Id: I30211108f26bd9cd758800f457c17ed03d13e802 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* meta-p8-systems: Correct OCC path for P8 systemsLei YU2017-10-304-7/+7
| | | | | | | | | | | On P8 systems the occ control objects are changed to named like occ_<i2c-bus>_<address> E.g. occ_3_0050 for the occ device on i2c-3, address 0x50. Update the occ sensor configs to match the change. Change-Id: If4c3ed2438e9534915e1f1bfa9bbff134ba94f33 Signed-off-by: Lei YU <mine260309@gmail.com>
* openpower-occ-control.inc: bump versionAndrew Geissler2017-10-271-1/+1
| | | | | Change-Id: Iafe15227413b1936b87bb2a90192b60e5ead31f4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower-software-manager.bb: bump versionAndrew Geissler2017-10-271-1/+1
| | | | | Change-Id: Ie62f00a004e82710d1e206a50e81325770a3d0dd Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Copy the error yaml's for logging manager parsingTom Joseph2017-10-262-0/+20
| | | | | | | Resolves openbmc/openbmc#2380 Change-Id: I9eb6a203e030d0e11141df2dcf099d9d23b9ebf1 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Move SRC_URI and SRC_REV to the .inc fileTom Joseph2017-10-262-4/+9
| | | | | | | Add suuport to run sdbus++ to generate code from error yaml. Change-Id: I5bc8e5d7c0d6f511e0022fea812bdab3e833f894 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Add openpower-debug-collector-watchdog-timeout unit filespashabk-in2017-10-262-0/+15
| | | | | | | | Trigger a service to capture SBE and HB istep info on watchdog timeout Change-Id: I44ef86960d022133a703cc8ec3dcc2955be44335 Signed-off-by: Shakeeb Pasha <shakeebbk@in.ibm.com>
* witherspoon-pfault-analysis.inc: bump versionAndrew Geissler2017-10-261-1/+1
| | | | | Change-Id: Iaa816cb739387da538fe77e17f4cf776d4f5a593 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower-ipmi-oem.bb: bump versionAndrew Geissler2017-10-261-1/+1
| | | | | Change-Id: Iad35b57c3cd5b25efea42177474cc159062b8150 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* witherspoon-pfault-analysis.inc: bump versionAndrew Geissler2017-10-261-1/+1
| | | | | Change-Id: I0565eef10ddcfceaa0e14df572b75261887b9391 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower-occ-control.inc: bump versionAndrew Geissler2017-10-261-1/+1
| | | | | Change-Id: Ia6ac3bd2e5e9c3026b28c16031725b6f48ca7c9a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Change the NetFn for Partial Add eSEL command.Tom Joseph2017-10-261-1/+1
| | | | | | | Resolves openbmc/openbmc#2510 Change-Id: I0b36c49c5fc0d6e6146ea499a9b2daf24dd95c10 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Add missing boot progress sensor valueDhruvaraj Subhashchandran2017-10-266-0/+18
| | | | | | | | | | Adding the missing PCI Resource initialization step to boot progress stages. Resolves openbmc/openbmc#2298 Change-Id: I5b3b42c15d5f0d43351921749a4e31aaa3f22b48 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* openpower-software-manager.bb: bump versionAndrew Geissler2017-10-261-1/+1
| | | | | Change-Id: Ib9ca373f556c137399cde1dd86c70b04439568f1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Update error YAML pathBrandon Wyman2017-10-252-3/+3
| | | | | | | | | | The YAML files are moving from xyz/openbmc_project/Power to org/open_power/Witherspoon. Resolves: openbmc/openbmc#2334 Change-Id: Ib408ef99885b034e2ab811cca05f00a7ebfee413 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* openpower-software-manager.bb: bump versionAndrew Geissler2017-10-251-1/+1
| | | | | Change-Id: I6a84a33cd55bcf3330f6ca5951ecb58d4ff97f8a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower-ipmi-oem.bb: bump versionAndrew Geissler2017-10-251-1/+1
| | | | | Change-Id: Id28a1a02dac4349a67bdb25ecbdbbf47cb290b1a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* op-proc-control.bb: bump versionAndrew Geissler2017-10-251-1/+1
| | | | | Change-Id: Ia6594272c9b48e3a871d7bc304d026ed5f878f4b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* wspoon: Update fan/thermal shutdown targetMatthew Barth2017-10-253-3/+3
| | | | | | | | A chassis hard poweroff should be used when too many cores are overtemp and when not enough fans are found functional or present. Change-Id: Ic472e2e7c2e0a49c0bf1869924491e743e3ed24d Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* meta-zaius: Use udev dev and fix DEVPATH/PATHXo Wang2017-10-241-1/+1
| | | | | | | | | For the checkstop GPIO monitoring configuration, use gpio-keys device created by udev rule. Also port the DEVPATH fix for the $PATH env being overridden. Change-Id: I9ff522b20bdf92f1832dccb9f87664b6104bb5c1 Signed-off-by: Xo Wang <xow@google.com>
* Add OCC default threshold valuesMatt Spinler2017-10-242-0/+455
| | | | | | | | | | | These will show up in D-Bus, and cause the corresponding D-Bus alarm properties to get set when crossed. Users can always set their own threshold values on D-Bus if desired. Resolves openbmc/openbmc#2387 Change-Id: I3b8e0eb8466f07f66f185b8d1378cee5683edd7f Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add power cap boundary validationGunnar Mills2017-10-242-0/+12
| | | | | | | | | | | Limit the power cap boundaries based on values from the MRW. Use OPEN_POWER_N_PLUS_ONE_BULK_POWER_LIMIT_WATTS and OPEN_POWER_SOFT_MIN_PCAP_WATTS from the MRW for the boundaries. Resolves openbmc/openbmc#1863 Change-Id: I16ff55dc8dab8a0f8b837e815e9e409ad23db644 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* MRW: Bump Witherspoon MRW revisionBrandon Wyman2017-10-241-1/+1
| | | | | | | Adding in Host Auto Reboot Control Sensor Change-Id: I224d223e64cd6ff5694b6d115d1ae90bed14165c Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* Add power supply default threshold valuesMatt Spinler2017-10-242-0/+38
| | | | | | | | | These will show up in D-Bus, and cause the corresponding D-Bus alarm properties to get set when crossed. Users can always set their own threshold values on D-Bus if desired. Change-Id: I96f8d36597ce0c304964590bb24e9946206b2f5d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* openpower-debug-collector.inc: bump versionAndrew Geissler2017-10-241-1/+1
| | | | | Change-Id: Ia3905ac0166ccd10da0bffcb2964cb492a15068f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower-debug-collector: Rework to use native sdk for errorlogMarri Devender Rao2017-10-245-21/+33
| | | | | | | | | | | | Fixed 1) openpower-debug-collector: Removed manual copying of error yamls files 2) openpower-debug-collector: extend recipe for native processing 3) Removed dependency on phosphor-logging-error-logs-native recipe Resolves openbmc/openbmc#1772 Change-Id: I2c0ced34e9a684bd9df34513b4800716cf93cffb Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Dynamically set size of pnor read-only partitionSaqib Khan2017-10-231-5/+4
| | | | | | | | | | | | | - The pnor read-only partition contains the contents of the squashfs image. Therefore the corresponding ubi volume should only be as big in size. - This would allow us to increase the number of active pnor version we can possibly store on pnor chip. Resolves openbmc/openbmc#1840 Change-Id: I5e35a0fcd62e947919f4c9489642188ae2fe49bb Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Add IR35221 default temperature threshold valuesMatt Spinler2017-10-234-0/+36
| | | | | | | | | These will show up in D-Bus, and cause the corresponding D-Bus alarm properties to get set when crossed. Users can always set their own threshold values on D-Bus if desired. Change-Id: Ic2d146ee61c92ce029dfba98537a55a28aae47cc Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add TMP275 default temperature threshold valuesMatt Spinler2017-10-231-0/+4
| | | | | | | | | These will show up in D-Bus, and cause the corresponding D-Bus alarm properties to get set when crossed. Users can always set their own threshold values on D-Bus if desired. Change-Id: Ic6a06e691f5dd46893a02a1c81792f17e63d4eb5 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add DPS310 default temperature threshold valuesMatt Spinler2017-10-231-0/+4
| | | | | | | | | These will show up in D-Bus, and cause the corresponding D-Bus alarm properties to get set when crossed. Users can always set their own threshold values on D-Bus if desired. Change-Id: I0a22b9288de6617a8341720ce4146c9ddd1f93c6 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add BMP280 default temperature threshold valuesMatt Spinler2017-10-231-0/+4
| | | | | | | | | These will show up in D-Bus, and cause the corresponding D-Bus alarm properties to get set when crossed. Users can always set their own threshold values on D-Bus if desired. Change-Id: I9cd2663feed9cd9a343c1b986e3aa6d2d564c2cd Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* wspoon: Raised floor active fan controlMatthew Barth2017-10-201-10/+10
| | | | | | | | | Provide initial release of active fan control with a 7200 RPM floor speed for all ambient temperatures. This allows the ceiling speeds to be set to their currently defined values. Change-Id: I239ca95e12824e787219d2f4a16a4fd4b308b165 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* op-apps: Add pdbg to the op-apps package groupAndrew Jeffery2017-10-192-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is justified by Nick Piggin below, with some rework of the original email to abstract unnecessary detail. Hi, We are having a continuing discussion about shipping host debug tools on our standard OpenPower BMC image, and I promised Brad some justification for the request. I'm including a wider cc list to keep people on the same page. The exact host debug tool can be debated, but the capability to send system reset interrupts and read host registers is a baseline, so I have "pdbg" in mind, as that's what I have used. Justification: - The most basic capability is the system reset, which is an existing tool for pSeries (KVM and PowerVM) guests. The similar 'ipmi nmi' is available on x86 BMCs. This is required functionality expected by customers. An important hang at Pfizer was solved last year because they were able to system reset the Linux lpar to get a crash dump. - It's common to be pointed to a crashed system to debug. More convenient to have a good baseline set of debug tools, and not modify the BMC of the system that is not yours. - Hardware and software partners similarly would like to have this functionality. They could download and install tools, but it can turn into a an ongoing inconvenience. Many of them are not openpower/openbmc experts, and may not have ability or inclination to find and install tools. Having everything just work out of the box and not having to follow ibm.com link is a big relief. - Experience with customers when collaborating to resolve bugs is we often don't have easy access to their P9 systems, and they are often unaware of how to flash firmware, or they don't know if they have permission to modify the BMC, etc. - On customer sites, live debugging is not uncommon. A bug may not be solveable with a single crash dump or system hang, so it may take some iterations working with the customer. It is also common that the customer may have redundant capacity or a test environment which means they can leave a machine in crashed state. They may be bringing up a new installation that is not yet online. This will certainly be the case with large supercomputers. - Customers may have policy or legislation that makes uploading code difficult or impossible. - Some consumers may customize everything on the BMC, but even so, having reference host debugging tools would show what's available. In some cases of small scale trials with P9 systems the BMC has not had much host debugging capability, making it very difficult to understand problems like hard hangs of the host. - A strong host debug capability on the BMC can be a differentiating point. For example very large sites often prefer to debug problems themselves. So I advocate for a reasonable host debug capability to be shipped with standard OpenPOWER OpenBMC images, and for host firmware teams to have responsibility and control of the low level tools and libraries that access host registers. Thanks, Nick Change-Id: I87baf40b6bd1004b234cdec139759de9e587d705 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* wspoon: Add PCIE temperature sensorMatthew Barth2017-10-191-0/+37
| | | | | | | | Integrate the use of the PCIE temperature sensor into the set speed events of fan control. Change-Id: If347e1c23c4544e1bc5a828e970cfb55dd155dbb Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Update hwmon labels for 2 OCC propertiesMatt Spinler2017-10-191-2/+2
| | | | | | | | | Change the names of the power value the OCC reports for APSS channels 14 and 15. Channel 14 actually reports the fan + disk power, and 15 does IO power. Change-Id: I8a2769482a0948489a409aea380c238f490f9a8d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* meta-firestone: Mirror host console to physical UARTLei YU2017-10-162-0/+5
| | | | | Change-Id: I761c3f1ed6277f12f6200a297489c593157b2ab6 Signed-off-by: Lei YU <mine260309@gmail.com>
* meta-firestone: Add phosphor-hwmon configLei YU2017-10-164-0/+162
| | | | | | | Add configs for occ and rtc. Change-Id: Id811d4b1c180fd68660d76019551fd5a8b90b47d Signed-off-by: Lei YU <mine260309@gmail.com>
* meta-firestone: Add openpower-occ-controlLei YU2017-10-162-0/+2
| | | | | | | Add openpower-occ-control and enable i2c-occ configure for Firestone. Change-Id: I9420a9907109d1c189f405bdac96cdb9779fae08 Signed-off-by: Lei YU <mine260309@gmail.com>
* openpower-dbus-interfaces.bb: bump versionAndrew Geissler2017-10-141-1/+1
| | | | | Change-Id: I3b10e3acfd7314117d154d25cfedd0e81f8d56b1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
OpenPOWER on IntegriCloud