summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix power supply presence informationBrandon Wyman2017-11-296-16/+16
| | | | | | | | | | | | | While testing missing power supply, the bottom power supply in the MRW is labeled as psu1, which would obviously map to powersupply1, but when that supply was removed and a power on attempted, the call out was for powerupply0. A simple rename of the labels does not work out right, due to the filenames, so swizzling the GPIO and I2C information. Resolves: openbmc/openbmc#2563 Change-Id: Iaed300becace2409e04c0097be9e2d7fa497dee3 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* Resolve power supply errors when they're replacedMatt Spinler2017-11-291-0/+58
| | | | | | | | | | | | | Add Witherspoon dbus-monitor rules to watch for power supplies to become present. When that happens, invoke the callback to resolve all errors that have that power supply as a callout. This will cause the enclosure fault LEDs to turn off when a power supply is replaced (if no other faults were also setting those LEDs.) Change-Id: I16e603d18fe3c458e1f062e12a7aa0a6a2f4300e Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* witherspoon-pfault-analysis.inc: bump versionAndrew Geissler2017-11-281-1/+1
| | | | | Change-Id: I6af058890fdfdf26c23dbb034f364764264f951e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* init: Add init script to setup /etc mount before starting systemdEdward A. James2017-11-2812-59/+89
| | | | | | | | | | | | | Systemd requires /etc mounted and ready at init time. Previously, we were mounting /etc as an overlay from the persistant filesystem after systemd started. This caused a variety of issues with systemd and associated applications (journal, etc). This change also adds factory reset functionality. Resolves openbmc/openbmc#2542 Change-Id: Ib8a38e99df39f833026fe4475670a7ec2b9c8d4d Signed-off-by: Edward A. James <eajames@us.ibm.com>
* openpower-software-manager.bb: bump versionAndrew Geissler2017-11-281-1/+1
| | | | | Change-Id: I10a7352dfdb708bccf6af9863901226607c6121a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-networkd-rev.bbclass: bump versionAndrew Geissler2017-11-281-1/+1
| | | | | Change-Id: Ib237e0580915b19b951b6cc08bddef75249a3854 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-software-manager.bb: bump versionAndrew Geissler2017-11-281-1/+1
| | | | | Change-Id: I943bc584bee9c06c3aa98666f88965c6ad6bbc20 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-ipmi-host.inc: bump versionAndrew Geissler2017-11-281-1/+1
| | | | | Change-Id: If00a645b5c38375a35c8902722c47acf11990c3e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* meta-zaius: Build openpower-occ-control iff MACHINE=zaiusXo Wang2017-11-281-1/+1
| | | | | | | | Change RDEPENDS for openpower-occ-control to override syntax predicated on "zaius" (which is added by MACHINE_OVERRIDES). Change-Id: Iaaae449bc55d129b7102052f2440a6f78d12bcd1 Signed-off-by: Xo Wang <xow@google.com>
* Move obmc-pydevtools to tools packageAdriana Kobylak2017-11-283-1/+7
| | | | | | | | | | | | | | | | Create a new development tools package and move the obmc-pydevtools there so they're no longer in the extrasdev development feature package. The reason is that the extrasdev contains features that are desirable to be removed from production systems, such as the rest-dbus. On the other hand the pydevtools are binaries that are useful to have even in production systems, so makes sense to put them in a separate tools category. Resolves openbmc/openbmc#2571 Change-Id: Ia66bf6e83d920818c8c355ec9d01a047583b82c0 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* wspoon: Allow fans 30sec before nonfunctionalMatthew Barth2017-11-281-4/+4
| | | | | | | | | | | | | | Increasing the allowed out-of-range time to 30sec for large fan speed changes where the fan hardware was unable to reach the allowed minimum target speed within 20sec. This effectively bumps the shutdown due to fan fail/missing to 35sec since its a 5sec delay after the fans would be marked nonfunctional. Resolves openbmc/openbmc#2660 Change-Id: I48f83b89cfbe91e8d5a6ff9387998644c51b6174 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Resolve fan errors when they become functionalMatt Spinler2017-11-281-3/+123
| | | | | | | | | | | | | | Add Witherspoon dbus-monitor rules to watch for fans becoming functional, which will invoke the callback that resolves all errors that called out that fan. This will cause the fault LEDs to turn off when the fan is replaced and spins back up to speed. Resolves openbmc/openbmc#2513 Change-Id: I7f787854915ca2bb1b66508b343eaa137cede6fd Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* phosphor-mapper.bb: bump versionAndrew Geissler2017-11-271-1/+1
| | | | | Change-Id: Ied443e836e115ea978aba15acc5b7def12c3d226 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-mapper.bb: bump versionAndrew Geissler2017-11-271-1/+1
| | | | | Change-Id: I8450f92d631f0742f60eca1ab2b26cbd11c36e83 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Add required package "pkgconfig"Saqib Khan2017-11-276-0/+6
| | | | | | | | | | This package is required for the following receipes in yocto-2.3. Otherwise we get the error: "fatal error: gio/gio.h: No such file or directory" Change-Id: I020c8f31d707da716956b7856ba14076294bd7c7 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Change inventory string for power suppliesBrandon Wyman2017-11-276-14/+14
| | | | | | | | Change the hardcoded power supply inventory paths to match the ones in the MRW, which are used by the LED manager. Change-Id: I1ba52286233e27b95c7296137aa135bbb4ef2d62 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* Add missing dependency on sdbus++.Saqib Khan2017-11-272-0/+2
| | | | | | | | These receipes failed to build with yocto-2.3 with the error message "configure: error: Cannot find sdbus++". Change-Id: I11867fcb6cc12e2eb4adfe64b7181757cc985fea Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* skeleton-rev.bbclass: bump versionAndrew Geissler2017-11-271-1/+1
| | | | | Change-Id: I98c18516cea5ae3d59a5572ca10d7dcd84803fe7 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* meta-openpower: pdbg bumpJoel Stanley2017-11-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New features: - Hardware Trace Macro support - Host backend - New command: sreset - Build and bug fixes Alistair Popple (6): libpdbg: Add sreset command libpdbg/target.c: Probe all root nodes in the device-tree Rework POWER9 device-trees to share common definitions Add backend for host based debugfs Add indirect SCOM access libpdbg/device.c: Remove usage of libfdt internal functions Cyril Bur (7): Add *.dtsi to .gitignore fake.dts: Whitespace cleanup Look for 'chip-id' as opposed to 'ibm,chip-id' Add Hardware Trace Macro (HTM) to device trees Hardware Trace Macro (HTM) docs: Add HTM to README.md libpdbg: Fix incorrect restore of r1 in ram_instructions() Joel Stanley (11): Makefile.am: Set foreign configure.ac: Enable silent build rules build: Update to do both an in and out of tree build Do not redefine _LARGEFILE64_SOURCE Allow command line to override GIT_SHA1 kernel: Include endian.h for htobe32 and be32toh device: remove use of ccan's endian libpdbg: Remove unused __unused from compiler.h Error out when no device type is specified lipdbg/i2c: Get bus path from device tree i2c: Update i2c device node in dt when specified Thomas Petazzoni (1): Rework generation of .dtb.o Change-Id: I382bfb0d3aacdf03495450acfc0c0792835d5f36 Signed-off-by: Joel Stanley <joel@jms.id.au>
* witherspoon-pfault-analysis.inc: bump versionAndrew Geissler2017-11-211-1/+1
| | | | | Change-Id: I9da4f5eab06d45e0440c275c5cbbab0cc259ad5f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* mboxd.bb: bump versionAndrew Geissler2017-11-211-1/+1
| | | | | Change-Id: I6698fb39bfa1e94f67223658e2610842354beee3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-rest.inc: bump versionAndrew Geissler2017-11-211-1/+1
| | | | | Change-Id: I60e222c7149c8a2b9e464675bbebf6c4e60bb669 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* witherspoon-pfault-analysis.inc: bump versionAndrew Geissler2017-11-201-1/+1
| | | | | Change-Id: I352a93784ce5f3c146e33dc4d0dbf0ca58a6751b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-logging.bb: bump versionAndrew Geissler2017-11-201-1/+1
| | | | | Change-Id: I25690bf773b0ae3419cd70db115c82424cdaaa77 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower-occ-control.inc: bump versionAndrew Geissler2017-11-201-1/+1
| | | | | Change-Id: I3b8ff2e2ec6dcba3b19f32bbaaadcc267f75d913 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-ipmi-net.bb: bump versionAndrew Geissler2017-11-201-1/+1
| | | | | Change-Id: I7294434a2a30fae4ef80aef39023348bc6b2250c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* mboxd.bb: bump versionAndrew Geissler2017-11-181-1/+1
| | | | | Change-Id: I48b548fb0e81590cc4e5bc3636bbbe51aed140f1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* wspoon: Update fan watchdog triggersMatthew Barth2017-11-171-2/+5
| | | | | | | | | | Fan control init and fan monitor init should also trigger the fan watchdog that drives fans to full speed if they fail during poweron. This will allow a system to power on if either of these fail or after a previous condition persists where the fan watchdog was triggered. Change-Id: I2bc4c5e6445406a6ffdf5d5ce5fa9dc3206abbeb Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* phosphor-mapper.bb: bump versionAndrew Geissler2017-11-161-1/+1
| | | | | Change-Id: I11e0a2c082d4a4e1a0cce643851178b095f59bee Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-networkd-rev.bbclass: bump versionAndrew Geissler2017-11-161-1/+1
| | | | | Change-Id: I7a408520e6b2756fe3f48bc762f960708d1b8903 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower-software-manager.bb: bump versionAndrew Geissler2017-11-161-1/+1
| | | | | Change-Id: If7bc1ba9bffc4cbbbebb56be2e6588b8f8cd1a00 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-rest.inc: bump versionAndrew Geissler2017-11-161-1/+1
| | | | | Change-Id: I61e8f9b94a502e5267266f189f7666910244a916 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* sdbusplus.bb: bump versionAndrew Geissler2017-11-161-1/+1
| | | | | Change-Id: I22cc5782900dff7f359bc5f75fca130cf7b433f3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-hwmon.bb: bump versionAndrew Geissler2017-11-161-1/+1
| | | | | Change-Id: Iae1733b1fd7230f1148ce5694a2703c495e1897d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Calculate the version ID of BMC UBI volumes during build time.Saqib Khan2017-11-163-20/+62
| | | | | | | | | | | | | | | | | | | - When the new ubi layout is flashed onto the BMC, the volumes were named kernel-0 and rofs-0 by default. This tends to be misleading as we can't differentiate between two different BMC versions. - Now the ubi volumes will be named kernel-<versionID> and rofs-<versionID> calculated by getting the hash(SHA-512) of the version and taking the first 8 characters. - The Uboot env needs to be updated to point to the correct kernelname which has now changed from kernel-0 to kernel-<versionID> calculated by getting the HASH(SHA-512) of the version and taking the first 8 characters. Resolves openbmc/openbmc#2323 Change-Id: I258d165b399d1ff59ea86f410006f6d03fe13a2e Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* phosphor-networkd-rev.bbclass: bump versionAndrew Geissler2017-11-151-1/+1
| | | | | Change-Id: I5f2d5add4b0c328e300a08d54b5fc2b567ba00da Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Reduce journal storage size from 3MB to 2.5MBAndrew Geissler2017-11-151-2/+2
| | | | | | | | | | | | | | | | | | | Recently hit a situation where an application was core dumping consistently and this maxed out the allowed size for BMC dumps (1MB). When this happened, the BMC started to reach it's maximum persistent filesystem size in /var. The persistent journal usage in /var needs to allow for this worst case usage by BMC dump. This is only an issue on systems where the journal is written to persistent storage. Resolves openbmc/openbmc#2595 Change-Id: Iab484e59d6586677938fe20673716203dacb0846 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* wspoon: Add pcie hwmon confMatthew Barth2017-11-151-0/+1
| | | | | Change-Id: Id3116f6922ebe25e3b6b698f86cf2d2ae8121edb Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* phosphor-dbus-monitor.bb: bump versionAndrew Geissler2017-11-141-1/+1
| | | | | Change-Id: Ide9a0a62bb03ba94d24e2d24cfb6b4720de3bbc3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* obmc-phosphor-image: Add lrzszJoel Stanley2017-11-141-0/+1
| | | | | | | | | This adds xmodem receive shell tools so we can move files onto or off of the BMC over a serial console (without a network connection). This is helpful when debugging issues with failed network connectivity. Change-Id: Id12a3704c690230cb9111aa2f6f50962527e3987 Signed-off-by: Joel Stanley <joel@jms.id.au>
* openpower-occ-control.inc: bump versionAndrew Geissler2017-11-141-1/+1
| | | | | Change-Id: I13b4f9067809f5e33d02df593ef87d627f365398 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-ipmi-host.inc: bump versionAndrew Geissler2017-11-141-1/+1
| | | | | Change-Id: I8972d49376b0858ac59b8a0ab00a0029fc1b0ece Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* kernel: NCSI logging and error handling improvementsJoel Stanley2017-11-141-1/+1
| | | | | | | | | | | | Joel Stanley (1): Revert "net/ncsi: General state debugging" Samuel Mendoza-Jonas (2): net/ncsi: Improve general state logging net/ncsi: Don't return error on normal response Change-Id: I315c8cb6ff3eef5fcfb8764a5cfd831128bf4b6e Signed-off-by: Joel Stanley <joel@jms.id.au>
* Block attempts to create a pnor-patch volume in field modeMichael Tritz2017-11-131-0/+3
| | | | | | | | | | | | | This patch improves the obmc-flash-bios script by blocking attempts to create and mount a pnor-patch volume when the system is in field mode. When this scenario is reached, the current behavior is to error out because the script tries to mount pnor-patch to /usr/local/share/pnor, which is inaccessible in field mode. This fix simply blocks these attempts to suppress the error message. Change-Id: I78b5171e66f194d7b8d2b1baa639ee29a1b11794 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* phosphor-fan.inc: bump versionAndrew Geissler2017-11-131-1/+1
| | | | | Change-Id: Ia4aef881aa3a91216bc5374901b4e860602dba57 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Add LICENSE to uboot bitbake fileSaqib Khan2017-11-131-0/+1
| | | | | | | | - yocto-2.3 enforces the rule to have LICENSE field set for all bitbake recipes. Change-Id: I1cd1949099f765c0f10bc1bc637abc572eadd430 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* openpower-software-manager.bb: bump versionAndrew Geissler2017-11-131-1/+1
| | | | | Change-Id: I6d825abdbf63bd4bca5c49a5aeab8d26123d43b0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* ffdc.bb: bump versionAndrew Geissler2017-11-131-1/+1
| | | | | Change-Id: Ib1b40251ab97b6ddb9472571105fa377efab90b6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-debug-collector.inc: bump versionAndrew Geissler2017-11-131-1/+1
| | | | | Change-Id: I92a8728f204ac27ebf847f3541a8a9da8272130c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Spelling fixesGunnar Mills2017-11-134-4/+4
| | | | | Change-Id: I6d52d12e5409ffdf825234cf9f92ac36c39f0c62 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
OpenPOWER on IntegriCloud