summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon
Commit message (Collapse)AuthorAgeFilesLines
* [Subtree] Move board support packages to top levelDave Cobbley2018-08-221-2/+2
| | | | | | | | The new subtree paradigm has moved the meta-bsp layers to the top level Change-Id: Ic4f64c39465be699bed3649e125e027d17daf938 Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* [Subtree] Removing import-layers directoryDave Cobbley2018-08-221-10/+10
| | | | | | | | | As part of the move to subtrees, need to bring all the import layers content to the top level. Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* remove use of meta-virtualizationBrad Bishop2018-08-211-2/+0
| | | | | | | | | | | | | | | Remove meta-virtualization from any bblayer.conf.samples. It was originally added for the python-pyyaml and python-gevent recipes but better maintained versions of these recipes are provided by meta-python. Before this can be done the python-gevent bbappend in the phosphor layer must be removed. The version scope was wildcarded to any version but the patches don't apply to python-gevent_1.2.2, which becomes the default from meta-python when meta-virt is removed. Drop the bbappend. Change-Id: I6658a163460e3c8e63dc7371ffff803a7b6915b5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* ibm: Set LAYERSERIES_COMPATBrad Bishop2018-07-181-0/+1
| | | | | | | | Starting with sumo, bitbake emits a warning if this variable is not set. Indicate sumo branch compatibility. Change-Id: I592ecf6f9940004b2dccb0f4217464d389c771d4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Get whitelisted URLs - witherspoon jsonNagaraju Goruganti2018-07-182-0/+15
| | | | | | | | This commit adds witherspoon specific json file that specifies whitelisted URLs to be allowed access by REST server. Change-Id: Iaa9c77a38ac60748df8d819191596c17c635a18a Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
* Move systemd bbappend to match base layer pathAndrew Geissler2018-07-184-0/+0
| | | | | | | | | | | | | | | yocto requires bbappend paths match the path of the layer that is being appended to. This was working with prior yocto releases but seems like the latest now enforces this rule. Testing: Verified override conf files are back in witherspoon image. Resolves openbmc/openbmc#3316 Change-Id: Idaace35871276ad20ef4d5bef51974fcdfbce9f1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* witherspoon: Use systemd_unitdirBrad Bishop2018-06-251-4/+4
| | | | | | | | | | | | | Somewhere between systemd 234 and 237 the install process stopped making /usr/lib/systemd/network for us. When we move to Yocto 2.5 this will result in an install failure. bitbake.conf provides a variable for /lib/systemd. Use it, as it's the correct location for these configuration/unit files anyhow. Tested: Booted QEMU witherspoon image to shell: Change-Id: I000b6f1b5548efb920d31226558159cba3deb8d6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* witherspoon: Move systemd to recipes-coreBrad Bishop2018-06-255-0/+1
| | | | | | | | | | Technically bitbake does not care where bbappends live but the universal norm is to put bbappend files in the same directory as the base recipe. Update to match meta-witherspoon and oe-core. Tested: Booted QEMU witherspoon image to shell Change-Id: I9b06de644ae414f76c2b8f390a6d32fe1e3e55d2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* wspoon: Improve fan error resolving rulesMatt Spinler2018-06-191-41/+56
| | | | | | | | | | | | | | | | | | | | | | | | The previous phosphor-dbus-monitor rules would only watch for the functional property to change on a fan, and then resolve errors for that fan if the property changed to true. This change will watch for both present and functional property changes, and resolve fan errors if both properties are true at that time. This closes the window of where if a fan is removed long enough for the present property to change to false but replaced fast enough that the functional property always stays true then the NotPresent error that was created will never get resolved so the fault LEDs won't turn off. Resolves openbmc/openbmc#3231 Tested: Various combinations of Present/Functional property state changes and also fan plugs/unplugs. Change-Id: I3255c0510b95509810b018a2a71d307bd7d4a946 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* obmc-console: Rename recipeBrad Bishop2018-06-181-0/+0
| | | | | | | | | | | | OE norms dictate recipes that track HEAD be named: foo_git.bb and set PV explicitly to "x.y.z+git${SRCPV}" Change-Id: Iaeffab1e3bb1df6720ae4e236c3515fb1ec30cc8 Tested: Built the obmc-console recipe Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* witherspoon-pfault-analysis.inc: bump versionAndrew Geissler2018-06-151-1/+1
| | | | | Change-Id: I71ef26fc33bf9a7f85eaf59bc48139d8b42d0929 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* machines: Drop ast2400/ast2500 layersBrad Bishop2018-06-151-2/+0
| | | | | | | | | The Aspeed layer now supports both chips and the SOC specific layers do not have any content. Drop the redundant layers. Change-Id: I48a813fe4c02b8fc8861c6dd58906ae559c64403 Tested: Built and verified witherspoon and palmetto images Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Rename and move kernel recipeBrad Bishop2018-06-153-2/+2
| | | | | | | | | | | | | | | | | Rename linux-obmc to linux-aspeed and move to the Aspeed layer. Like recipes for u-boot forks, recipes for kernel forks in support of different SOCs are typically provided in the BSP supporting the SOC. Moved a number of phosphor-isms out of the kernel recipe and put those in a bbappend in aspeed-layer/bbappend. Removed COMPATIBLE_MACHINE setting. We simply use PREFERRED_PROVIDER in machine configuration files to set the default kernel recipe. Tested: Booted spoon/palmetto images using QEMU Change-Id: I7dc73629cad4789dcd5aeb0f7b6214fe064c6adc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* openbmc-machines: Remove unncessary CONFIG_HWMONJoel Stanley2018-06-071-1/+0
| | | | | | | | CONFIG_HWMON is implied by the drivers that use it, so we do not need to specify it in the defconfigs. Change-Id: I1c6e8679412f80dc0db69ef0f72a9c73e8602fb9 Signed-off-by: Joel Stanley <joel@jms.id.au>
* Add witherspoon specific channel.yamlNagaraju Goruganti2018-06-042-0/+9
| | | | | | | | | | channel.yaml keeps the info about number of available Ethernet channels on the given machine. Resolves openbmc/openbmc#3191 Change-Id: I904e02a96bb6f295c6456b8a8ba26e756c218df0 Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
* witherspoon-pfault-analysis.inc: bump versionAndrew Geissler2018-06-041-1/+1
| | | | | Change-Id: Ib13ae97aaba4a0af0aefb5b4dbd2d0d6f3c08728 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* wspoon: Change ir35221-on-bind.service dependencyMatt Spinler2018-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | Make this service have a .wants dependency to the obmc-chassis-poweron@.target instead of .requires. This way if it fails, the power on will still continue, just without the failing drivers bound to their devices. The drivers are only used for surfacing hwmon temps and voltages. The only ones of those actually used by code are the water cooled witherspoon VDD VRM temperatures which are used by fan control, and fan control can deal with missing VRM temps. Tested: Inject a fail into the bind script, and ensure the service fails but the power on still continues. Resolves openbmc/openbmc#3205 Change-Id: Id7551b8dd9e36c105f11e91697035d7ca90bdec3 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* wspoon: Retry on VRM bind failsMatt Spinler2018-05-301-16/+49
| | | | | | | | | | | | | | | | | Enhanced the ir35221-unbind-bind.sh script to: 1) Retry a few times on failures binding the device driver. 2) Still try to bind other devices even if one device fails. The script will still return a nonzero exit code if any of the binds fail. Tested: * Do several power cycles. * Modify script to fail a bind. Check that it returns nonzero. Change-Id: Ia235557292d792998a1c10260fe2bf8b2e631b2c Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* wspoon: Revert increase fan fail shutdown delayMatthew Barth2018-05-302-4/+4
| | | | | | | | | | | | | | | | A change was put in to wait 10 seconds before powering off a system when too many fan enclosures were non-functional, this reverts that change back to the original 5 seconds. The original change was done to help mitigate a performance issue where PDM was held off from being able to process fan functional state changes. Reverted change: https://gerrit.openbmc-project.xyz/#/c/8352/ Tested: System shutdown after 5 seconds with 2 non-functional fan enclosures Change-Id: If40b54f475a54d151439922fc0893686caeb8ae7 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Witherspoon: Add sync managerAdriana Kobylak2018-05-232-0/+5
| | | | | | | | Add the sync manager which watches for files to be synced to the alternate BMC chip. Change-Id: I543dacf389629c024b35d1b855745bbcc0bbd848 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* witherspoon-pfault-analysis.inc: bump versionAndrew Geissler2018-05-231-1/+1
| | | | | Change-Id: I75cd0dcc7f42ae34cab232312f1f453f28cd480d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Witherspoon: Enable PNOR signature verificationAdriana Kobylak2018-05-221-0/+1
| | | | | | | | | | | | | | | Enable signature verification in the openpower-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: PNOR 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: I6b8b74f146066da058e137779faf9af157f7131b Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* wspoon: Move faulted OCC sensor eventsMatthew Barth2018-05-221-45/+46
| | | | | | | | | | | | | The OCC related sensor fault events should be subscribed after the OCCs active precondition state passes. This keeps from registering for OCC provided sensor fault signals prior to the OCC driver being bound and active. Tested: OCC fault sensor signals only registered for after being active Change-Id: I032ebb0145b5d16e4d54e4873429916e05d3cf48 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Witherspoon: Set default value of TPMEnable to trueAdriana Kobylak2018-05-222-0/+8
| | | | | | | | | | | | Set the default value of the TPMEnable sensor to true on Witherspoon systems to catch systems that have a missing TPM card populated. Tested: Verified the settings value for TPMEnable is set to true (1) when the BMC boots up. Change-Id: I445e67dc53d3bac5dc7f6f613ac03202aab567c4 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* wspoon: Remove GPU power sensorsMatt Spinler2018-05-222-167/+0
| | | | | | | | | | | | | | | | | | | The power values being displayed were basically instantaneous readings as measured by the APSS monitor device, and as such could show a lot of peaks and valleys that would be undesirable to surface. In the future they may get added back in with some averaging done. In the meantime, the user can use the nvidia-smi command line tool on the host to get the proper power values. Tested: No GPU power sensors in D-Bus. Resolves openbmc/openbmc#3183 Change-Id: Ie2d92560867f29dbf852c53c55b8d371f5fef06f Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* wspoon: Rename GPU power sensors in IPMI YAMLMatt Spinler2018-05-221-6/+6
| | | | | | | | | The GPU power hwmon sensors recently changed names to match the GPU temperature sensor naming conventions. Update this YAML to reflect that. Change-Id: I5100ee514bed3ec7901deddcfd3bd9d619d8cd51 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* wspoon: Copy in the MAX31785 hwmon config fileMatt Spinler2018-05-221-2/+2
| | | | | | | | | | | | | | | | | | | | | The code will now copy the correct air or water cooled config file to the correct name so phosphor-hwmon can find it. It was just a link before, but that would cause problems with code updates as this directory is preserved, so if older code was put back on the link would point to nothing and phosphor-hwmon would never start for the MAX31785. Now with the copy the old code can still pick up this file. The only hole this has is if someone goes from the new code back to the old code, and then swaps air/water cooling, as the old code will then pick up the config file generated by the newer code, which now won't match the actual config. This would be a very unlikely scenario. Change-Id: I45db3c3ac8265caae30163a4e90035189e861e82 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Witherspoon v1.7.1 RAS policy tableMatt Spinler2018-05-221-678/+1770
| | | | | | | | | Pick up the latest RAS policy table, which is used to add the EventID and Description fields to error logs on Witherspoon. Change-Id: I18c0e855372d438a5c5171fcf6fbf56bd7376aed Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* wspoon: Find OCC power labels using function IDsMatt Spinler2018-05-151-70/+86
| | | | | | | | | | | | | | | | | Change to using an indirect lookup with the *_function_id file to determine what the OCC's hwmon power values represent, similar to how the OCC temps used the *_label files. The current code was hardcoding them, assuming hwmon would number them the same every time, but that is not the case. The function IDs are documented here: https://github.com/open-power/docs/blob/master/occ/OCC_P9_FW_Interfaces.pdf Resolves openbmc/openbmc#3152 Change-Id: Id4c50c7175a8108c317d9c301ad4a682a4f4c89f Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* witherspoon: Add support for GPU FRUSNagaraju Goruganti2018-05-102-0/+30
| | | | | | | | | | | -commit #f24faab provides basic infra for FRUs which are accessible through host but host is not sending the details for those FRUs. -GPU FRUs are of type mentioned at commit #f24faab.This commit hardcodes the WITHERSPOON GPU FRU info into YAML. Change-Id: I783bf77d8e95abf687d2605e2c97a5bb10504c70 Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
* phosphor-ipmi-host: Move configuration to phosphor-ipmi-configAndrew Jeffery2018-05-108-48/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Witherspoon requires an dev_id.json file whose content is partially derived from data provided by the os-release package. os-release is updated for each commit, as some of its content (VERSION and VERSION_ID) can be derived from `git describe`. As dev_id.json was provided by the phosphor-ipmi-host package, every commit transitively triggered a rebuild of phosphor-ipmi-host in order to satisfy Witherspoon's requirements. Always rebuilding phosphor-ipmi-host is unhelpful for several reasons: * It needlessly reduces CI throughput, as it is likely the commits in question do not modify the phosphor-ipmi-host package. * GCC suffers from what appears to be an unfixable[1] bug[2] that causes phoshor-ipmi-host to consume large (>5GiB) amounts of RAM when compiling some (at least Witherspoon) sensor configurations. To avoid this, separate the configuration files out into virtual/phosphor-ipmi-config and phosphor-ipmi-config packages that phosphor-ipmi-host RDEPENDS on. Witherspoon provides an alternative implementation in witherspoon-ipmi-config to mangle dev_id.json to its particular requirements. A virtual is used rather than a simple bbappends for Witherspoon, as the bbappend approach breaks builds of machines other than Witherspoon if Witherspoon is built first: The Witherspoon-specific dev_id.json file is deployed in its mangled form into e.g. a Zaius image. Specifically, the following sequence will trigger the issue: $ TEMPLATECONF=.../witherspoon.conf . openbmc-env $ bitbake obmc-phosphor-image $ rm -rf conf $ TEMPLATECONF=.../zaius.conf . openbmc-env $ bitbake obmc-phosphor-image [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290#c26 [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290 Change-Id: Ib9629fc77b29e2deeab3f1c3a145d9e966c14ec4 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* wspoon: Only create/monitor fan1 on air cooledMatthew Barth2018-05-082-0/+22
| | | | | | | | | | | | | Add a condition check for fan1 that will only create fan1 associated functional properties and actively monitor fan1 if the condition passes. The condition checks the CoolingType is not WaterCooled. Tested: Fan1 functional properties are created when condition passes Fan1 is monitored when condition passes Change-Id: I0d9a91ceea500f82e4ccad2dbdc887a14286cf95 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* wspoon: Fixup watchdog monitor config on fan appsMatt Spinler2018-05-041-2/+2
| | | | | | | | | | | | | | | | | | The phoshor-fan-monitor-init and phosphor-fan-control-init package names that the SYSTEMD_OVERRIDE directives were given don't actually exist, as those apps are just part of the phosphor-fan-control and phosphor-fan-monitor packages. Fixup these directives so the fan watchdog configuration is used for these services which means if they fail the fan watchdog will trip as desired. Tested: Check that phosphor-fan-control-init@0.service.d and phosphor-fan-monitor-init@0.service.d now show up, and killed fan-control-init and watched that the watchdog triggered. Change-Id: I1786891ec5da7045b4f0a9f72d5ae29f454fa9a0 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Enable use of meta-webserver layerChris Austen2018-05-041-1/+3
| | | | | | | | | One use case on some systems for this layer will be to pull in Nginx Signed-Off-By: Chris Austen <austenc@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I1ac55bc182e7d24704d0fe3405438d8e1c97f1a4
* witherspoon: Remove machine specific host UART over VGA packagesJoel Stanley2018-05-047-98/+0
| | | | | | | | | | | These packages are now part of meta-phosphor, so they can be removed from the meta-witherspoon directory. The feature is still enabled by their inclusion in meta-witherspoon/recipes-phosphor/images/obmc-phosphor-image.bbappend. Change-Id: I653e2b3c96bf9e9ab4d607f60355ff68432e855a Signed-off-by: Joel Stanley <joel@jms.id.au>
* wspoon: Handle faulted OCC temp sensorsMatthew Barth2018-05-031-0/+47
| | | | | | | | | | | | | | | When a temp sensor provided by the OCC is faulted, set the fans to full speed(10500 RPMs) Tested: Set Functional property of an OCC provided sensor to `true` and fans are set to 10500. Fan speeds drop when the same Functional property is set to `false` Resolves: openbmc/openbmc#2222 Change-Id: Iddd9049fc9677ca587422a5bf4104c0d3787af1a Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* wspoon: Add critical thresholds for fan speedsMatt Spinler2018-05-022-0/+42
| | | | | | | | | | | | | | The values are just outside of the allowed margins of the fan floor and max speed values. Tested: Test that the thresholds show up in the web UI and that the web UI shows when they have been crossed. Resolves openbmc/openbmc#3114 Change-Id: I6420252d98b974921d6858dbecb3b52f5a8c646a Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* wspoon: Start hwmon differently for the MAX31785Matt Spinler2018-05-025-1/+17
| | | | | | | | | | | | | | | | | | | | | Add a new udev rule to start the phosphor-hwmon instance for the MAX31785 fan controller differently than other hwmon devices. Also introduce different hwmon config files for air and water cooled systems where the water cooled system doesn't use fan 1. The new udev rule starts a service that will check the cooling type and then link in the appropriate config file before starting the actual phosphor-hwmon service. Note that this phosphor-hwmon service is still stopped the same as any other phosphor-hwmon service. Tested: Test that phosphor-hwmon is started using the correct config files on air and water cooled systems. Change-Id: Ia93d97df024e7b6bff5eb379ddea4730fe34b55b Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* wspoon: Add service to help start MAX31785 hwmonMatt Spinler2018-05-022-0/+11
| | | | | | | | | | | | | | This service will be started in the udev rule for the MAX31785 hotplug add event. It will wait for the phosphor-cooling-type service to be done, and then run the script to start the phosphor-hwmon instance for the MAX31785 fan controller after it chooses the correct config file to use. Tested: Test that this service correctly runs the script and that phosphor-hwmon does get started. Change-Id: I4495f7073d63004d4dd8333df8964d69beaae4ea Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* wspoon: Script to help start MAX31785 hwmon daemonMatt Spinler2018-05-022-0/+35
| | | | | | | | | | | | | | | The phosphor-hwmon instance for the MAX31785 fan controller chip needs to use different config files based on if the system is air or water cooled, since different numbers of fans are used. This script will check the cooling type, link in the correct file based on that cooling type, and then start the actual hwmon service. Tested: Tested as part of end to end testing of this feature. Change-Id: Ie3efee5d3c6671911b505223152d32f3f5c5c259 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* wspoon: Make cooling-type service a oneshotMatt Spinler2018-05-021-0/+2
| | | | | | | | | | | | | | | | Change the type of the phosphor-cooling-type service to a oneshot, and also tell it to remain after exit. This is so that any services that depend on this won't start until the the phosphor-cooling-type application is done so they can rely on the cooling type property being set in the inventory. Tested: Checked that a service that depends on this one and gets the cooling type will read the correct value. Change-Id: Id4852983a31787b19bee8a2106a46128c294b2ce Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* witherspoon: Enable phosphor-wdt-on-panic KERNEL_FEATUREAndrew Jeffery2018-05-011-0/+1
| | | | | | | | | | | | | This allows the SoC to switch to the alternate BMC flash device when we hit a kernel panic. Tested: Instrumented which chip the system was currently booted from, booted a kernel with a broken root= configuration to trigger a panic, observed the system reboot due to a watchdog event, confirmed the chip used by the reboot was different. Change-Id: I763ebadc3e26cc9e420e2469277970fbde974459 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* 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>
* 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>
* 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>
* 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>
OpenPOWER on IntegriCloud