summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ibm
Commit message (Collapse)AuthorAgeFilesLines
* [Subtree] Move board support packages to top levelDave Cobbley2018-08-224-7/+7
| | | | | | | | 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-224-35/+35
| | | | | | | | | 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>
* meta-romulus: Add missing sensorNamePattern in sensor configLei YU2018-08-211-0/+71
| | | | | | | | | | | | | sensorNamePattern is missing the Romulus sensor yaml config. Add it by sensor_yaml_config.py: sensor_yaml_config.py -i config.yaml -o output.yaml -f Tested: Verify the sensorNamePattern is added and it is the same as Witherspoon's yaml config. Change-Id: I4a21b4bb896ec058b5ac1e40fbda934516b62929 Signed-off-by: Lei YU <mine260309@gmail.com>
* meta-romulus: ipmi: Add core/dimm temp sensorsLei YU2018-08-211-0/+1408
| | | | | | | | | | | | | Add cpu core, dimm temperature sensors. The yaml is generated from romulus.rpt by sensor_yaml_config.py sensor_yaml_config.py -i config.yaml -o output.yaml -e -r romulus.rpt Tested: Verify that core/dimm temperature sensors are returned by ipmitool sensor command. Change-Id: Ic564233d93d6a6297eff6368c14632a9e85258e1 Signed-off-by: Lei YU <mine260309@gmail.com>
* meta-romulus: Add entityID/entityInstance to sensor configLei YU2018-08-211-0/+142
| | | | | | | | | | | Add entityID and entityInstance to sensor config yaml, with the help script from https://github.com/mine260309/openbmc-tools/blob/dev-mine/leiyu/obmc-utils/sensor_yaml_config.py Tested: Verify it passes the build. Change-Id: Ie9e1861e8c8e2919b88dabc387d8c1234486df51 Signed-off-by: Lei YU <mine260309@gmail.com>
* meta-romulus: sort ipmi sensor configLei YU2018-08-211-1034/+1034
| | | | | | | | | | | Sort the sensor yaml config using PyYAML by loading and saving the yaml. This is a preparation for further changes of sensor configs. Tested: Verify the generated sensor-gen.cpp is technically the same as before. Change-Id: I1315072b36236bb2eff01eb5d1507641e7978b42 Signed-off-by: Lei YU <mine260309@gmail.com>
* meta-romulus: Add ipmi bmc-fru-config.yamlLei YU2018-08-212-0/+28
| | | | | | | | | | bmc-fru-config.yaml defines the frus from BMC. Romulus has 3 fans. Tested: Verify that fan frus are shown with ipmi fru list command. Change-Id: I9cd5a93c4711a0f336058617403c6560547a6121 Signed-off-by: Lei YU <mine260309@gmail.com>
* meta-romulus: Add ipmi channel.yamlLei YU2018-08-212-0/+12
| | | | | | | | | | | | In phosphor-ipmi-host, channel.yaml sets the info about number of available Ethernet channels. Romulus has eth0 only. Tested: Verify the generated channel-gen.cpp reflects this yaml config. Change-Id: I902f6b0adb6066ad2c4f1654a4614bbf012e36a5 Signed-off-by: Lei YU <mine260309@gmail.com>
* webui: serve via nginxDeepak Kodihalli2018-08-212-2/+19
| | | | | | | | | | | | | | | | | | Serve the mostly pre-compressed static webui content via nginx. If nginx can't find a static file, proxy the URI back to the rest server. A follow-up commit will remove code that serves webui from the phosphor-rest-server. Tested: - The webui, rest server and bmcweb seem to be working as before. - curl -H "Accept-Encoding: gzip" https://<witherspoon>/foo.html is served compressed content. - curl https://<witherspoon>/foo.html is served uncompressed content. Change-Id: Ice443f00a467f3558f28d697261df4f23278f420 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Remove deprecated PHOSPHOR_WEBUI defineAndrew Geissler2018-08-211-1/+1
| | | | | | | | | | This was moved to STATIC_HOSTING and the default for it (on) is what the IBM layer wants ref: https://gerrit.openbmc-project.xyz/#/c/openbmc/bmcweb/+/11905/ Change-Id: I4da0bdacc3a36c2760058f60de446e97817514f6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* openpower: Add ColdFire firmware to initrdJoel Stanley2018-08-211-1/+0
| | | | | | | | | This is used by the ColdFire FSI driver. All OpenPower machines will be switched over to this driver, so it makes sense for it to be in the common layer. Change-Id: Iccd9e793169564c78a295ff3a44b7397ba67c091 Signed-off-by: Joel Stanley <joel@jms.id.au>
* remove use of meta-virtualizationBrad Bishop2018-08-213-6/+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>
* Use ColdFire FSI interface on Palmetto (P8)Joel Stanley2018-08-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Moves Palmetto to use the kernel API, and the ColdFire master driver. This change bumps the kernel (with device tree changes) and the skeleton repository for a corresponding op-hostctl (host_control.exe) change. Palmetto is the only system in the tree using this code. Any out of tree systems (such as other P8s) must switch to using the kernel interface as well. Skeleton changes: Joel Stanley (1): hostctl: Move to kernel FSI interface Linux changes: Benjamin Herrenschmidt (2): ARM: dts: aspeed: Add Power8 CFAM description for use by Palmetto ARM: dts: aspeed: Palmetto system can use coprocessor for FSI Change-Id: I43aada22c9d7b21dc24bd5aae3c4dcb77bdaaa8f Signed-off-by: Joel Stanley <joel@jms.id.au>
* openpower: Add ASPEED LPC Control toolJoel Stanley2018-08-161-1/+1
| | | | | | | | | | | | | | | | | | This includes the 'pnorboot' tool for configuring the LPC firmware mapping. This is used by Palmetto instead of mboxd, as Palmetto only requires the LPC mapping component. The mbox component causes interrupts to be continually triggered on the host, causing unnecessary CPU load. As Palmetto is the only in-tree user of this tool, the service file hard codes the PNOR size. If we merge machines in the future this should be configured by the machine layer. Resolves: openbmc/openbmc#3357 Tested: Booted host on Palmetto, checked interrupt count Change-Id: I87daafa5008e978afd3a5fc386b347b014624911 Signed-off-by: Joel Stanley <joel@jms.id.au>
* meta-romulus: Increase delay in host rebootLei YU2018-08-082-0/+4
| | | | | | | | | | | | | | | By default phosphor-reboot-host@.service sleeps for 5 seconds between power off and power on. On Romulus, this interval is not enough for CPU to clear the error status, e.g. checkstop status. Increase the interval to 8 seconds to makre sure the status is cleared. Resolves openbmc/openbmc#3330 Tested: Verify the checkstop status is cleared after error injection. Change-Id: I14ab9975fe820e7fba27feaf1da32a2903d4bc13 Signed-off-by: Lei YU <mine260309@gmail.com>
* Add bmcweb to meta-ibm layer for redfish supportAndrew Geissler2018-07-245-1/+32
| | | | | | | | | | | | | Put behind nginx and only activate when /redfish is queried via https. Testing: Verified that with this change in bmcweb: https://gerrit.openbmc-project.xyz/#/c/openbmc/bmcweb/+/11518/ that redfish commands can successfully be sent via nginx on the witherspoon qemu model. Change-Id: I97509dc3484deffd06c3d60db710eb3b17dfccb5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* ibm-logging.bb: bump versionAndrew Geissler2018-07-241-1/+1
| | | | | Change-Id: I09eff172c39d44d5e7a32552cfb34c68b58acfe8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* meta-romulus: Add led groups for faultsLei YU2018-07-231-0/+300
| | | | | | | | | | | Add fault groups, e.g. core, dimm fault groups in led config, so that fault monitor could set related fault group to turn on the fault led. Tested: Verify the led fault groups are created, and when asserted, the fault led is turned on. Change-Id: Iace27d605c11b8c5b3d33685eecdaffb402fc6ad Signed-off-by: Lei YU <mine260309@gmail.com>
* ibm: Set LAYERSERIES_COMPATBrad Bishop2018-07-184-0/+4
| | | | | | | | 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>
* meta-romulus: Enable image signature checkLei YU2018-07-172-1/+2
| | | | | Change-Id: I05a4bb07a08cc6e89df302b2f25531a665118e1d Signed-off-by: Lei YU <mine260309@gmail.com>
* meta-romulus: Add ipmi inventory sel configLei YU2018-07-043-0/+359
| | | | | | | | | | | | | | phosphor-ipmi-inventory-sel provides a yaml config for sel events, and Romulus was using the default one, which makes the sel events not mapping to the expected devices. Provide a yaml config that matches Romulus system. Tested: Inject error and check SEL logs are correctly parsed by openbmctool.py in openbmc-tools/thalerj. Change-Id: Ic2a03a34e98bb383e32ef902f1a5da1d6ee6fe9e Signed-off-by: Lei YU <mine260309@gmail.com>
* meta-romulus: Add callouts yaml configLei YU2018-07-043-0/+25
| | | | | | | | | | | | Romulus was using the exmaple callouts yaml and it is just a dummy one. Provide the real callouts yaml config for Romulus. Tested: With the following commit, verify CALLOUT_INVENTORY_PATH is correctly set when CPU error is injected and the event is sent to BMC. Change-Id: I266c51cc52ebdd770dd332c50e26ed3e8cd65155 Signed-off-by: Lei YU <mine260309@gmail.com>
* Remove the meta-stonewither layerMatt Spinler2018-06-2911-121/+0
| | | | | | | That project was killed. Change-Id: I8fec67b0136f7302f43f45223606bf7410c628d3 Signed-off-by: Matt Spinler <spinler@us.ibm.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>
* meta-romulus: Add webui recipeLei YU2018-06-211-0/+1
| | | | | | | | | This enables webui hosted by Romulus machine. Tested: WebUI works fine on Romulus. Change-Id: I29cefdb07892717d3bb2397647a5e2dbf701dc8e Signed-off-by: Lei YU <mine260309@gmail.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-183-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-154-8/+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-159-6/+6
| | | | | | | | | | | | | | | | | 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-073-3/+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>
* ibm-logging.bb: bump versionAndrew Geissler2018-06-041-1/+1
| | | | | Change-Id: I800864610120826ca4d9abbfbe59e66606d77d29 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Move nginx ciphers to mozilla guidelinesAndrew Geissler2018-06-041-2/+3
| | | | | | | | | | | | | | | Update the supported ciphers to those under the "Modern" section for mozilla. https://wiki.mozilla.org/Security/Server_Side_TLS Resolves openbmc/openbmc#3209 Tested: Built image and verified nginx correctly starts and REST api't still work as expected. Change-Id: I6692b42b6a1dec10e51b72654e75da4f0c0d3b99 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* 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>
* meta-openbmc-machines: Remove Firestone from treeJoel Stanley2018-06-0125-3725/+0
| | | | | | | | Firestone was never fully working, and has no maintainer. Remove it from the tree. Change-Id: I0e64b5c01766c154f642c7314acdc2dff9251082 Signed-off-by: Joel Stanley <joel@jms.id.au>
* meta-openbmc-machines: Remove Garrison from treeJoel Stanley2018-06-0118-3555/+0
| | | | | | | | Garrison was never fully working, and has no maintainer. Remove it from the tree. Change-Id: Ifbdb8c955a2b9d1777844046a13afca9401ced72 Signed-off-by: Joel Stanley <joel@jms.id.au>
* 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>
* nginx.conf: increase client_max_body_sizeLei YU2018-05-301-2/+2
| | | | | | | | To support fixed flash layout that contains 32MiB image, manifest, publickey and signatures, increase client_max_body_size to 33MiB. Change-Id: Ibc5ecfd907a2fe796e4767ecfdec2ea7bb1543b1 Signed-off-by: Lei YU <mine260309@gmail.com>
* ibm-dbus-interfaces.bb: bump versionAndrew Geissler2018-05-241-1/+1
| | | | | Change-Id: I44e2841df9e7a13c350785b7e487bdc95a68cb9e Signed-off-by: Andrew Geissler <geissonator@yahoo.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>
* ibm-logging.bb: bump versionAndrew Geissler2018-05-231-1/+1
| | | | | Change-Id: I20e9eff239665a76be1813cd1aa8bb49eee04382 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>
* meta-romulus: Add ipmi-fru-read-inventory configLei YU2018-05-223-0/+19
| | | | | | | | | | | | | Make both romulus-ipmi-inventory-map-native and romulus-ipmi-fru-read-inventory-native recipes use the same yaml config. Resolves: openbmc/openbmc#3134 Tested: Verify the generated fru-read-gen.cpp reflect the yaml config and ipmi fru command prints the correct FRU information. Change-Id: If52a883e0901d44cea473ac67e89d4361cd5354c Signed-off-by: Lei YU <mine260309@gmail.com>
OpenPOWER on IntegriCloud