summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines
Commit message (Collapse)AuthorAgeFilesLines
...
* Clear volatile PNOR partitions when requiredMichael Tritz2018-04-254-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OpenPOWER host firmware requires OpenBMC to clear out certain "volatile" sections of it's flash chip in certain scenarios: - Any fresh power on - Any boot/reboot of the server where a certain "volatile" sensor is enabled This commit utilizes the obmc-host-start target, which is only run during fresh power on operations, to ensure the volatile sensor is set. The new obmc-host-startmin target is then utilized to check for this sensor and clear the host volatile flash sections if the sensor is set. In this way, the volatile flash sections are cleared on all fresh power on operations and in any reboot loop that the host has set the sensor. Testing: - Clean Power On (cleared as expected) Starting Enable the clearing of the Volatile PNOR partitions in host0... Started Enable the clearing of the Volatile PNOR partitions in host0. Starting Clear the Volatile PNOR partitions in host0 if Enabled... Clear /var/lib/phosphor-software-manager/pnor/rw/HB_VOLATILE Started Clear the Volatile PNOR partitions in host0 if Enabled. - Host Reboot with host running (cleared as expected) Starting Clear the Volatile PNOR partitions in host0 if Enabled... Clear /var/lib/phosphor-software-manager/pnor/rw/HB_VOLATILE Started Clear the Volatile PNOR partitions in host0 if Enabled. - Reboot during hostboot, before istep 16 (nothing cleared as expected) Starting Clear the Volatile PNOR partitions in host0 if Enabled... Started Clear the Volatile PNOR partitions in host0 if Enabled. Resolves openbmc/openbmc#2397 Change-Id: I56a897ce8919a95f9e80ab730ecabf880723f1f6 Signed-off-by: Michael Tritz <mtritz@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Add cipher list json to the Witherspoon imageTom Joseph2018-04-242-0/+39
| | | | | | | | | | | | | | | | For IPMI v2.0/RMCP+ sessions, authentication, integrity and confidentiality algorithms are involved. The algorithms used in combination are called Cipher Suites. Each cipher suite has the id as the key and a collection of algorithms. Each algorithm has a number assigned in the IPMI specification. Cipher data information can be read by the Get Channel Cipher suites command, and the RMCP+ messaging Cipher Suite entries support and the RMCP+ messaging Cipher Suite Entries parameter of the Get LAN configuration parameters command. Change-Id: I3460046a0c72acd5cb2f9066f264142a2378120c Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Witherspoon: Change hwmon GPU power labelsMatt Spinler2018-04-241-6/+6
| | | | | | | | | | | Match up the GPU power sensor labels with the temperature ones, so they are both GPU0 through GPU5 instead of P0_GPU0 through P1_GPU2. Resolves openbmc/openbmc#3111 Change-Id: I509349049b8528415084e45c09200c16d2628a31 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* phosphor-gpio-monitor: Add EXTRA_ARGS in serviceLei YU2018-04-241-1/+1
| | | | | | | | | | | | | | | | This is a follow up commit of 1065559c, that is to use ${EXTRA_ARGS} instead of "--continue=", so that this option becomes an optional one without argument. For services need extra arguments, e.g. Romulus' id-button service, specify "--continue" in its config file. Tested: Verify the generated gpio monitor service uses ${EXTRA_ARGS} environment. On Romulus, checkstop monitor starts without extra argument, and id_button monitor starts with --continue argument. Change-Id: I09c5ad7f97f1a40caabfc9ae394e68798396dffe Signed-off-by: Lei YU <mine260309@gmail.com>
* openpower/witherspoon: configure video-related packages into buildJeremy Kerr2018-04-241-1/+1
| | | | | | | | Add the fbterm, uart-render-controller and liberation font packages to the witherspoon build. Change-Id: Ifa20e9455f06f2ae4d7e9547f62e70ea102b4c89 Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* openpower/witherspoon: add uart-render-controller packageJeremy Kerr2018-04-242-0/+44
| | | | | | | | | This change adds a small daemon to monitor the state of the host (power and video device status), and start/stop the fbterm UART renderer as appropriate. Change-Id: I6c7cf7a88e9a19cd87d6b781a4a1519597882345 Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* openpower/witherspoon: add a monospace-only liberation font packageJeremy Kerr2018-04-241-0/+9
| | | | | | | | | For text-to-video rendering, we need a font. This change adds a small overlay to the existing liberation fonts package, to only use the monospace font. Change-Id: I7e0bc307dceb95732f94616d9249df34b484b629 Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* openpower/witherspoon: add fbterm package for UART renderingJeremy Kerr2018-04-244-0/+45
| | | | | | | | | | | | This change adds a definition for fbterm, customised for rendering UART data to a local framebuffer device. fbterm upstream isn't very active - last release was in 2008. So, use a newer git tree, which includes a couple of fixes and customisations for our usage in uart rendering. Change-Id: Ib19e879283548dbe403401b6fecfaaeb8cf74c1c Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* openpower-ipmi-oem.inc: bump versionAndrew Geissler2018-04-241-1/+1
| | | | | Change-Id: I9fbf94ebb374a764bc4afdff9b4293a89bc75830 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower-occ-control.inc: bump versionAndrew Geissler2018-04-241-1/+1
| | | | | Change-Id: I5247e8c03ba3aac7af517e228cd5ef6554f7e58f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* bmcweb.bb: bump versionAndrew Geissler2018-04-241-1/+1
| | | | | Change-Id: I36cacde4d7401fb40e7d30a5d0553332e3d97aac Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Add optional do_report task for ibm-loggingMatt Spinler2018-04-181-0/+27
| | | | | | | | | | | | This task will generate a single JSON file containing all of the errors across all of the *.errors.yaml files. It also compares this error list to the errors in the policy table and shows which errors are in one but are missing in the other. Change-Id: Ic81b4625bf66bd603f15e5a647857b41fec12a52 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Install the Witherspoon error policy tableMatt Spinler2018-04-182-0/+16055
| | | | | | | | | | | | | | | | | This is used by the ibm-logging code, and contains additional information about the error log entries that can show up on a Witherspoon. This file is maintained by the IBM service team, and checked in as-is. A script runs during the build to pull out the fields used by the BMC code. It also enables the use of the com.ibm.Logging.Policy D-Bus interface. Resolves openbmc/openbmc#2998 Change-Id: Idf08e397f4e93112ece5cbfe9db67f5682637c32 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add the IBM log manager recipe and serviceMatt Spinler2018-04-184-0/+72
| | | | | | | | | | | | | | | | Installs the ibm-log-manager application and the com.ibm.Logging.service. The lifetime of this service matches that of the phosphor-logging service. After building the code, the recipe also condenses the policyTable.json file into a version to go onto the flash. The policyTable.json in this layer is empty, and the system specific ones should be installed from their own layers by bbappending this recipe from there. Change-Id: I5310da06e9beb69c7d53a16d0beb44232a937716 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* meta-romulus: Add id-button.bbLei YU2018-04-185-1/+65
| | | | | | | | | | | | | | | This recipe adds the function to assert/deassert identify LED Group when the ID button is pressed: 1. Add phosphor-gpio-monitor for the ID button GPIO key; 2. Start id-button-pressed.service when the key is pressed; 3. The service starts a script to check the identify LED group state, and assert or de-assert it. Tested: Assert/De-assert identify LED group by pressing the ID button on Romulus. Change-Id: I782dbc15563a313418aa90bee1f48fc97a6d25fb Signed-off-by: Lei YU <mine260309@gmail.com>
* wspoon: Enable use of InterfacesRemovedMatthew Barth2018-04-181-1/+17
| | | | | | | | | | | | | | | When a sensor provided from an OCC contains a value of 0x00(unavailable), the sensor will be removed from dbus by hwmon. An InterfacesRemoved signal is triggered when this occurs and this enables fan control to remove that sensor's interface(and associated properties) from its internal cache used across set speed events. Tested: An InterfacesRemoved signal is received for an unavailable sensor That sensor's interface and properties are removed from the cache Change-Id: Ia6343688c2824a984d23a9b16ea9e709d5ed2f9e Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Change over-current warning value on witherspoonAndrew Geissler2018-04-181-4/+4
| | | | | | | | | | | | | The witherspoon power engineer has requested the lowering of the over-current warning values Testing: Going to let CI validate basic boot. The power engineer has done his own more intense testing of these values. Resolves openbmc/openbmc#3099 Change-Id: I4a2b2bb132dd43e05828e4c0ed3448dfd4237301 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* meta-quanta-q71l: new recipes for ipmi preferencesv2.2Patrick Venture2018-04-187-112/+578
| | | | | | | | | | New ipmi-channel-config New fru-merge-config recipe Updated: ipmi-inventory-map Updated: ipmi-sensor-map Change-Id: I508265159eaf9b8c4f1c53080fdbe568ab19c953 Signed-off-by: Patrick Venture <venture@google.com>
* meta-quanta-q71l: phosphor: sensors: add missing inheritPatrick Venture2018-04-181-0/+2
| | | | | | | | | | This recipe uses compose_list which is defined in the obmc-phosphor-utils class. Fixes: openbmc/openbmc#3088 Change-Id: I7450bbc1dc44915c784459e78d26e8836785ca7b Signed-off-by: Patrick Venture <venture@google.com>
* openpower-software-manager.bb: bump versionAndrew Geissler2018-04-171-1/+1
| | | | | Change-Id: I91c566d76c4a5c16ebf36d01a26c31db1212e4b8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower:added "mutability"Jayanth Othayoth2018-04-162-0/+4
| | | | | | | Added "mutability" flag to indicate if a sensor is READ/WRITE/RW. Change-Id: I3dcc27526adc2a5d6b1206e8beee66093220763a Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Revert "systemd: enable watchdog and set watchdog device to wdt2"Eddie James2018-04-132-30/+0
| | | | | | | | | | | | | This reverts commit 9aeb8f0961e8d431192321c188af62b7e1831ad5. Systemd is failing to ping the watchdog while shutting down, resulting in a BMC reset during the shutdown. This results in an unclean shutdown and side switching to the alternate BMC chip. Resolves openbmc/openbmc#3094 Change-Id: I3ddc21a3cd3a1d63403786ca63c8671a72bd4c13 Signed-off-by: Eddie James <eajames@us.ibm.com>
* witherspoon: Enable BMC signature verificationAdriana Kobylak2018-04-131-0/+3
| | | | | | | | | | | | | | | Enable signature verification in the phosphor-software-manager code for witherspoon. This causes an error to be logged if updating to an unsigned image, or image signed with a different key than the one on the system, and if field mode is set, it'll stop the activation process. Tested: Signature verification is enforced on witherspoon, verified error is logged with and without field mode enabled, and activation is prevented with field mode enabled. Change-Id: Ifc8f8054f8d852cc16942af9cbf58d60aff3fc33 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* ibm-dbus-interfaces.bb: bump versionAndrew Geissler2018-04-131-1/+1
| | | | | Change-Id: I44b5726279a4b53a285c0da7003a53d49c281e49 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* witherspoon-pfault-analysis.inc: bump versionAndrew Geissler2018-04-131-1/+1
| | | | | Change-Id: I7a678b64290c99a53dbecb326be767b00e3b7aeb Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Tell the mapper about IBM D-Bus pathsMatt Spinler2018-04-122-0/+11
| | | | | | | | | | | Add /com/ibm and com.ibm to the lists that the mapper uses to know what paths and interfaces to handle. As this is in the meta-ibm layer, it is only applied to IBM systems. Change-Id: I8c3624f4bff86af178b4d951632019d81dcaaf51 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add ibm-dbus-interfaces recipeMatt Spinler2018-04-121-0/+32
| | | | | | | These D-Bus interfaces are only for IBM systems. Change-Id: I62255887d9cb7059472ad33ccf6fddc84d476cf0 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Enable recipes in meta-ibm/recipes-*/Matt Spinler2018-04-121-0/+4
| | | | | | | | This is in preparation for adding recipes that are only for IBM systems. Change-Id: Id5be84d78c9a01fd2cf9dc2abb68cabfa6cedd51 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* zaius: added "mutability"Jayanth Othayoth2018-04-121-0/+8
| | | | | | | Added "mutability" flag to indicate if a sensor is READ/WRITE/RW. Change-Id: Ibe8913a0c72d8c97bdb9288a642901cea34f3a23 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* meta-romulus: fan-control: Handle service failuresLei YU2018-04-111-0/+54
| | | | | | | | | | | | | | | | Handle dependent service failures: 1. When ambient temperature is unavailable, set default floor speed; 2. When occ services are unavailable, set to max speed. Tested: Verify that the default floor speed is set when outlet temp sensor is missing; Verify that the max speed is set when occ service is killed; With https://gerrit.openbmc-project.xyz/#/c/9584/, verify that the floor speed is set back according to outlet temp when the sensor and occ service are back. Change-Id: I395f99ac8a6e76fdeb11a189294b096ee6256b76 Signed-off-by: Lei YU <mine260309@gmail.com>
* wspoon: Remove OCC sensors on EAGAINsMatthew Barth2018-04-102-0/+4
| | | | | | | | | | | | | When an EAGAIN return code(11) is returned for any sensor from an OCC, remove that sensor from dbus. Functionally requires: https://gerrit.openbmc-project.xyz/#/c/9893/ Tested: OCC sensors are removed from dbus when EAGAIN is returned Change-Id: I2fee78ff7876b8750555454436dd7b53eb3a0e78 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* systemd: enable watchdog and set watchdog device to wdt2Eddie James2018-04-102-0/+30
| | | | | | | | | | Should only enable this for specific machines, since the watchdog configuration is machine-dependent. Resolves openbmc/openbmc#2427 Change-Id: I03169b5dca6dccabe5eef2b5c759fe9b075450ac Signed-off-by: Eddie James <eajames@us.ibm.com>
* dreport: Collect IBM error objects on IBM systemsMatt Spinler2018-04-102-0/+50
| | | | | | | | | | | | Add a plugin for systems in the meta-ibm layer to collect the com.ibm.Logging objects in a dump. Resolves openbmc/openbmc#3043 Tested: Run dreport and check that the IBM data is there. Change-Id: Iaa01a07633265c767649caaf8b9b1580f31ce7cd Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* openpower-fru-vpd.inc: bump versionAndrew Geissler2018-04-101-1/+1
| | | | | Change-Id: Id9250fda132995b64f29d8e72fe2597915069506 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower-software-manager.bb: bump versionAndrew Geissler2018-04-101-1/+1
| | | | | Change-Id: I0418f3f06dc5653d8a538bb0268822907a8195ad Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Introduce new host-startmin action targetAndrew Geissler2018-04-065-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requirements have arisen for OpenBMC firmware to run certain services only during fresh power on operations. To achieve that, break the obmc-host-start action target into two targets. The existing obmc-host-start target will now call the new obmc-host-startmin target. The startmin target will be the minimum services required to start the host. The obmc-host-start target is where services that should only be called during a fresh power on can be placed. The initial use case for this is the obmc-host-reboot target. It will call this new obmc-host-startmin target to do the bare minimum on a reboot operation. This then allows the use case for OpenBMC to only reset the host reboot count on a fresh power on operation. A new service will be added to the obmc-host-start target to do this. If a reboot operation is issued, or a host watchdog is triggered to cause a reboot, this service would not be started, ensuring the reboot count is properly decremented. Tested: Verified on/off/reboot and ran CT regression suite. https://gerrit.openbmc-project.xyz/#/c/9821/ is required for reboots to work properly. Change-Id: I86df03e6d671178c1525f852e196c4102bb73cb6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* romulus added "mutability"Jayanth Othayoth2018-04-051-0/+71
| | | | | | | Added "mutability" flag to indicate if a sensor is READ/WRITE/RW. Change-Id: I69d3683bacae80b96cf57ce1b7b5d875c425d3a8 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* network: Add the ncsi-netlink serviceRatan Gupta2018-04-052-0/+15
| | | | | | | | | | | | This service file needs to be started only for witherspoon. This is used to stop the ethernet port failover on the system. Resolves openbmc/openbmc#2931 Change-Id: I0f144942df1d77de4d990a4aad8d9764d8455251 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* palmetto: added "mutability"Jayanth Othayoth2018-04-051-0/+21
| | | | | | | Added "mutability" flag to indicate if a sensor is READ/WRITE/RW. Change-Id: Ifd13c0573abfbee23f99d11e0362cdaf9bea1eb5 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* garrison: added "mutability"Jayanth Othayoth2018-04-051-0/+63
| | | | | | | Added "mutability" flag to indicate if a sensor is READ/WRITE/RW. Change-Id: I4bfcde7f09183cf3a4df94d1a6f7bd5d90502275 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* firestone: added "mutability"Jayanth Othayoth2018-04-051-0/+63
| | | | | | | Added "mutability" flag to indicate if a sensor is READ/WRITE/RW. Change-Id: If52ae660431a40e256380271f8b7fc22dc63549e Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Add POWER8 Barreleye READMEGunnar Mills2018-04-051-0/+6
| | | | | | | | | | | Added a POWER8 Barreleye README with a line about POWER8 Barreleye no longer being a supported machine. This can up updated in the future if POWER8 Barreleye becomes supported again. Calling this "POWER8 Barreleye" to differentiate from the POWER Barreleye/Zaius system. Change-Id: Ia5738cc7a34f96657307322cd924ad71d9e3cc40 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add recipe for OpenPOWER FFS repositoryBrad Bishop2018-04-042-0/+25
| | | | | | | | FFS is the BMC Flash File Structure which is currently used on OpenPOWER machines for the flash layout. Change-Id: I2549828a0f0ea070c77316a3f7fd56ec9fbe5bf8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add Firestone READMEGunnar Mills2018-04-041-0/+6
| | | | | | | | | Added a Firestone README with a line about Firestone no longer being a supported machine. This can up updated in the future if Firestone becomes supported again. Change-Id: I9b845b56e57333323a119250a775a378d9a10955 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add Garrison READMEGunnar Mills2018-04-041-0/+6
| | | | | | | | | Added a Garrison README with a line about Garrison no longer being a supported machine. This can up updated in the future if Garrison becomes supported again. Change-Id: Ib3040500ed8b634b1fb0f5ce1b3156f7885d49aa Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* meta-q71: sensors: phosphor-hwmon enable errno valPatrick Venture2018-04-031-1/+1
| | | | | | | | When the sensor fails, use the -errno value as the sensor value instead of removing the sensor. Change-Id: I8caaa9f30d68cc4dac3004522fe76995ecf35edc Signed-off-by: Patrick Venture <venture@google.com>
* meta-romulus hwmon: Use negative-errno-on-fail configLei YU2018-04-032-41/+1
| | | | | | | | | | | | | | | In phosphor-hwmon, the config "--enable-negative-errno-on-fail" is introduced for sensors that should return errno instead of failing and exiting. Enable this config for Romulus so the fan sensors are working, otherwise hwmon will fail and exit when fans are not working. Tested: Verify that the fan_tach sensors return -ETIMEOUT when host is powered off and do not exit with failure. Change-Id: I0d52a2b1a7fb4bf9fc542de6a88823b36bd2bc48 Signed-off-by: Lei YU <mine260309@gmail.com>
* op-proc-control.bb: bump versionAndrew Geissler2018-04-031-1/+1
| | | | | Change-Id: I0bb8820aacd3fe879daeccfe61899216ab558d71 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower-debug-collector.inc: bump versionAndrew Geissler2018-04-021-1/+1
| | | | | Change-Id: Ifb3e2c178829397812e72be68e42f364dad2bd76 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower-software-manager.bb: bump versionAndrew Geissler2018-03-301-1/+1
| | | | | Change-Id: I277ff0cfd9c60f28a924419d3cb46a0c86e05c1a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
OpenPOWER on IntegriCloud