summaryrefslogtreecommitdiffstats
path: root/meta-ibm
Commit message (Collapse)AuthorAgeFilesLines
...
* phosphor-ipmi-config: Refactor phosphor-ipmi-config providerTom Joseph2018-09-267-100/+2
| | | | | | | | | | | | | | The phopshor-ipmi-config provider witherspoon-ipmi-config is removed to use the default configuration files. cipher_list.json and dcmi_cap.json for the witherspoon is the same as the default configuration file. dcmi_sensors.json, dev_id.json and power_reading.json is specific to witherspoon. do_patch populates the aux field in dev_id.json for witherspoon. (From meta-ibm rev: 5e794ec57243fd8aced04118d8f9fc90a5bbd3a4) Change-Id: Icd355780524b6104f89390dbe0017d2c667e963c Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Nginx adds http security headersJoseph Reynolds2018-09-241-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Nginx now adds security-related headers to HTTP responses per https://www.owasp.org/index.php/OWASP_Secure_Headers_Project and consistent with openbmc/bmcweb (see header file include/security_headers_middleware.hpp). Tested: curl -D headers http://${bmc} redirects to https No security headers apply, and none are sent curl https://${bmc} contains security headers and works properly curl https://${bmc}/xyz/openbmc_project/software contains Strict-Transport-Security header, and works curl ... -X POST -T ${image} https://${bmc}/upload/image" works firefox http redirects to https firefox https://${bmc}/ logs in and works Resolves openbmc/openbmc#3195 (From meta-ibm rev: 8202b2639cba28a71640db48e38f6b7f1d3eaed0) Change-Id: Ie20169abbca02471fa5dc89bebba8a6cdf722cd6 Signed-off-by: Joseph Reynolds <jrey@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* meta-ibm: Rename bb file collectionsBrad Bishop2018-09-246-15/+15
| | | | | | | | | | | | | | | | Typical upstream layers have a -layer suffix. Rename collections from foo to foo-layer to match this de-facto standard. Some existing layers that use this convention include: openembedded-layer networking-layer perl-layer virtualization-layer (From meta-ibm rev: 32478afb0f68ba711b816d1dbaecf379c67cc928) Change-Id: I5c22956cf289263d5cef1e3c1babb2d1f5a10a3d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* witherspoon: REST: Move com.ibm to IBM layerBrad Bishop2018-09-172-0/+0
| | | | | | | | | | Enable the com.ibm namespace whenever the IBM distro layer is included in the layer configuration. (From meta-ibm rev: f5ac5cb0791353f0153f882d6ad054d6ddaed009) Change-Id: I2568c1fcecc647b44d279d2a366e2e34abed41d1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* meta-palmetto: Update ipmi sensor config yamlLei YU2018-09-171-305/+826
| | | | | | | | | | | | | | | | | | Update the ipmi sensor config yaml for Palmetto. Added missing sensors, e.g. core/dimm temp, power. The yaml is generated based on palmetto rpt: sensor_yaml_config.py -i config.yaml \ -o output.yaml -f -r palmetto.rpt Tested: Verify ipmitool sensor prints the added sensors. (From meta-ibm rev: db91cc8e155b9322c976e41c670385e2c72d913b) Change-Id: I58acf8dd50daf02b79ae3e50998d31b569bdc073 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* witherspoon: workbook: drop devtree-config recipeBrad Bishop2018-09-172-71/+0
| | | | | | | | | This is dead code. Drop. (From meta-ibm rev: d31fd052751fbb919727e2450fac5f7e6c2496ef) Change-Id: I00f47947328db75e23ceb8bc3d395e8857a6f2ea Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* meta-ibm: Add license informationBrad Bishop2018-09-173-0/+204
| | | | | | | | | | | | | | When meta-ibm was split out as a subtree from openbmc the license information was not copied to the new repository. License of the metadata and code remains unchanged - this is only a documentation update. Fixes: 194ff4f1f5d44b12e9cb06ddafa6adb20174a13c (From meta-ibm rev: 1bcd2f64f4fedd9a405db01160ef24d9a475e96d) Change-Id: Id007b0cce2a199b4efbd8db2950cf4fc25d6b4fd Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* meta-romulus: Add ipmi configsLei YU2018-09-174-0/+270
| | | | | | | | | | | | | | | | | | Add ipmi configs for Romulus, where: * cipher_list.json and dcmi_cap.json are the same as Witherspoon; * dcmi_sensors.json is specific for Romulus, and the cpu core temperature configs are generated by sensor_yaml_config.py tool: sensor_yaml_config.py -i config.yaml -o output.json -d * dev_id.json is comes from Witherspoon, but manufacture the product id is left as 0, since Romulus is just a reference platform. Tested: Verify ipmitool dcmi commands work ok on Romulus (From meta-ibm rev: 60365ca96bdf3fee1d1fe29a4508e2b738b85739) Change-Id: I194de796feb6ffd9207d1ac7a0ef19b3f8df4b5c Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* meta-romulus: Add iio-hwmon-battery configLei YU2018-09-132-0/+10
| | | | | | | | | | | | | | Romulus has RTC battery monitored by aspeed adc, add the config for hwmon to create /xyz/openbmc_project/sensors/voltage/vbat dbus object. Tested: With romulus dts enabled iio-hwmon-battery, verify the above vbat dbus object is created and the value is expected. (From meta-ibm rev: 72cab616d3ba7ecb777e6e53d1d0f602ea25da58) Change-Id: I1acb4890aa68cb87f145d28e3fbcac1264ed4285 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* phosphor-rest: fix remote address in log messagesAlexander Filippov2018-09-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | When we use the webui/rest from the remote host, we connect to the nginx and the system log at the BMC always contains `127.0.0.1` as the remote address in corresponded records. This commit resolve it. Tested: - Login to the WebUI - `journalctl` should contain record like: ``` Sep 12 11:11:33 phosphor-gevent[1374]: YOR-IP-ADDRESS user:root POST http://127.0.0.1:8081/login json:None 200 OK ``` (From meta-ibm rev: 77722e5c97faf43c6f41b52bfcadc140273eab5c) Change-Id: Ib9a5bdaec5c5f07eceb0ba2b0ee4d572a85e889d Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* phosphor-tiny: Enable tiny distro on witherspoonAndrew Geissler2018-09-101-0/+1
| | | | | | | | | | | Witherspoon is flash space constrained so enable new tiny distro feature to help alleviate this (From meta-ibm rev: 49f2b5b31a21eb3dea2d83d2d13551475ef4bb27) Change-Id: Ia3e90281d4c5da1c95cddb1b802f20c614b25885 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* SNMP error notification for error log entry objectsMarri Devender Rao2018-09-051-0/+19
| | | | | | | | | | | | | Made following changes to cater for raising SNMP traps 1) Add watch on error logging entry objects. 2) Add callback functions to call when new error log entries are created (From meta-ibm rev: 9854ba0949ab4b9bf12146c5e101830c993891d5) Change-Id: Icc80a24b65ca360f43f3f46eb19e9fa720bcb962 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add Palmetto GPIO JSONMatt Spinler2018-08-282-0/+61
| | | | | | | | | | These GPIOs are used by the code in the skeleton repo. (From meta-ibm rev: 2ba966c18046651d2115d732cbb0ed8b231bafad) Change-Id: I58a5087252b5dc6a98174837305485925c07c712 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add Romulus GPIO JSONMatt Spinler2018-08-282-0/+73
| | | | | | | | | | These GPIOs are used by the code in the skeleton repo. (From meta-ibm rev: 55b2003b3e07c7d45f94409eaf636f0335571152) Change-Id: I88f44342a587b8dccaa845bff59c35e1414d1358 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add Witherspoon GPIO JSONMatt Spinler2018-08-282-0/+64
| | | | | | | | | | | | These GPIOs are used by the code in the skeleton repo. Resolves openbmc/openbmc#3332 (From meta-ibm rev: b11913ce2ee64a085fd69146eb76a3ebff94e7ab) Change-Id: Ic82d55bae6c7772cb8a5b836fb6138f429dd0346 Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Disable bmcweb static hosting in IBM layerAndrew Geissler2018-08-281-1/+1
| | | | | | | | | | | | | | | | | | | openbmc/bmcweb#5 tracks an issue with bmcweb and static hosting of web files on IBM systems. Until this bug is resolved, disable bmcweb from hosting the files. Currently in the IBM layer, bmcweb is only used for redfish support and the static hosting is not needed for the basic redfish support to work. Testing: Verified bmcweb now starts fine and responds to redfish requests. (From meta-ibm rev: 8891e02efa759bb3173a0985f194c1e9a0bc255b) Change-Id: I1f1ac2008afdb787de6b034a71b6ed6b2d51422b Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add recipes-phosphor to Palmetto's recipes.txtGunnar Mills2018-08-281-0/+1
| | | | | | | | | | Fix Palmetto's recipes.txt. (From meta-ibm rev: 543acb28fc1ee93a819de955f4a14dd5d0fee499) Change-Id: Ibfe2724dc65122d23070396867a97064ac4e1124 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* meta-palmetto: Update occ sensor namesLei YU2018-08-281-22/+22
| | | | | | | | | | | | Update occ sensor names to make it consistent with Witherspoon. Tested: Verify the sensor names are updated via REST API. (From meta-ibm rev: fc7a1853fd16af0e58bcf104bd1f9585b1f36a20) Change-Id: Ia2b31ecfd591c580d8ec382fe7d26b30fd34d427 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Increase witherspoon host console log to 256KAndrew Geissler2018-08-271-0/+1
| | | | | | | | | | | | | | | | The host team has requested a bump in their allocated log size. Appears as if witherspoon has the filesystem space to spare so bump up from the default of 16K to 256K. Testing: Loaded on system and caused a lot of traffic in host console and verified /var/log/obmc-console.log did not grow beyond 256K and properly wrapped. (From meta-ibm rev: 50ba839a2ee314b06b21273ff4a4a9456baef6d2) Change-Id: Ie9a7f003778b3e38f7a444f32d69942bcfc1575b Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* [Subtree] Bring openbmc machines to top levelDave Cobbley2018-08-23273-0/+31997
| | | | | | | | | The new subtree model brings the subtrees up from the openbmc-machines layer. Change-Id: I58a03ae1be374bc79ae1438e65e888375d12d0c0 Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* [Subtree] Move board support packages to top levelDave Cobbley2018-08-229-0/+275
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>
OpenPOWER on IntegriCloud