summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-02-14FRU: Add Entity ID in the host FRU inventory yamlRatan Gupta11-3588/+4075
This commit also adds the entityID and entityInstance property for BMC FRUS config yaml. These attributes are required to pass it through Get SDR command. Currently we support two types of record format through Get SDR 1) FULL Record. 2) FRU Record. Resolves openbmc/openbmc#2823 Change-Id: Ie7424fbc493dde5070a2c65c74ba83565154b9d4 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2018-02-14Add setup script for easy openbmc env setupAlexander Amelkin1-0/+43
Before this commit it was required to specify a long TEMPLATECONF string before running openbmc-env if one wanted to build a non-qemu image. This commit adds a simple setup script that can be sourced like the following to setup the environment for any machine (e.g., for palmetto): . setup palmetto Change-Id: Id3fa73dca9b8ce9347cf38e41fe8662c03ea84e3 Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com>
2018-02-13skeleton-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I318ee7e035efec53fc8aee1896f4b775a4e450ed Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-13ipmi volatile sensor: Add name pattern fieldAdriana Kobylak1-0/+1
With openbmc commit b9717cebd3a26f94d2fe8767fcd4c2ddab2f05ab, a new ipmi sensor field called sensorNamePattern was added to the yaml files. Need it for the volatile sensor as well. Change-Id: I423fc321f361faea383b9e3f350db1813ed46776 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2018-02-13pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Icbbbf5221dce92dbdf891ed78e827b6e53b8f3d7 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-13phosphor-watchdog.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Ia43e0fcec1ee02061b806f0b69360fc878d7f531 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-13phosphor-dbus-interfaces.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I7cc7070c4385dc31f48f80666fe7ed1d689e035b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-13phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I24a5217b344473952fe98a3169f5c63f57f9d47b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-13phosphor-rest.inc: bump versionAndrew Geissler1-1/+1
Change-Id: Iefcdb546b7b7e1dcb3581f09e15e82fabfc4d858 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-13inventory-upload.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Iecf028766ccb43592878640099308a5ea348ded9 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-13Add Volatile sensor to ipmi inventoryAdriana Kobylak1-0/+15
Add the Volatile sensor to the openpower ipmi sensor mrw config. The Volatile sensor will be set by the hostboot code. Part of openbmc/openbmc#2397 Change-Id: Ic6d492326707a5f277e399c722be43311bb563f4 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2018-02-13Add "after" PowerSupplyRedundancy mapper objectGunnar Mills1-0/+2
The org.openbmc.Sensors.service reads the value of /xyz/openbmc_project/control/power_supply_redundancy when starting to determine the value of /xyz/openbmc_project/sensors/chassis/PowerSupplyRedundancy. This happens in sensors.py. Change-Id: If594a4986ebffd0811a8a76002739bd0022ca767 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2018-02-13Add PowerSupplyRedundancy to default settingsGunnar Mills1-0/+6
Change-Id: I48fc29a730338e9118863745a04486fda54add65 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2018-02-13phosphor-debugtools: Add latencytop toolAndrew Jeffery1-0/+1
Note this doesn't *quite* work: ncurses is missing from the debug tools tarball and so the application can't execute. The issue is captured in: https://github.com/openbmc/openbmc/issues/2430 Until that's resolved you'll have to copy the library to somewhere accessible and put the symlinks in place if necessary. Change-Id: I1dd5239cb8b86d7a79f2591f241695e4f9122c68 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2018-02-09Add the web UI to the Witherspoon imageMatt Spinler1-1/+1
This will install the required files into /usr/share/www. This does not include any changes to serve these files. Change-Id: I23fa2662af3359cd674aa96c49483b7de648d232 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2018-02-09phosphor-ipmi-host.inc: bump versionAndrew Geissler1-1/+1
Change-Id: Ibb41c3f087708f9bbdd6369681aa1e713622be32 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-09witherspoon-pfault-analysis.inc: bump versionAndrew Geissler1-1/+1
Change-Id: Ia436ed792e404c0f584bd6351723a0f98b707d30 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-09ffdc.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Id133858c131822fa4c149b30acf39557696bc038 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-09phosphor-debug-collector.inc: bump versionAndrew Geissler1-1/+1
Change-Id: Icc01ef54d9a8711dbdb11ae426b78f150bbc3526 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-09u-boot-fw-utils: Fix mtd-paritions failureBrendan Higgins1-2/+2
u-boot-fw-utils_%.bbappend was not working with all BSPs. In some cases it was unable to find 76-mtd-partitions.rules. This change uses a relative path that can always be found. Change-Id: Id5f88c3985d4feba5ac733e649107f1fa1498eb7 Tested: Built and verified mtd-paritions rule Signed-off-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-08ipmi: Refactor whitelist generationBrad Bishop4-10/+23
The current dual-use of packagegroup-ipmid-providers as a dependency insertion point for both native (whitelists) and runtime (provider libs) doesn't work under Yocto 2.3. Move the ipmi provider configuration from recipe scope to the global configuration scope so we can continue to avoid dually maintaining whitelist and provider lists _and_ build under Yocto 2.3. Also rename OBMC_IPMID_PROVIDERS with the more conventional VIRTUAL-RUNTIME_phosphor-ipmi-providers. Change-Id: I1acce0b08047cba2312f60542942cccbcff66aec Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-08Set the nice value of mapper process to -5Tom Joseph2-0/+9
The mapper is the dbus service discovery manager which is used pervasively in openbmc apps. During stress tests it was observed that mapper is acting as a bottleneck and affecting BMC performance and leading to mapper calls failing. We saw improved performance with the mapper by bumping the priority. Resolves openbmc/openbmc#2656 Change-Id: I7fa5bf1fe78a944fb773cfba99e00f27de6b2110 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2018-02-08Run legacy services with lowest priorityAndrew Geissler6-0/+12
The early boot of the BMC sees a lot of processes start at the same time (right after mapper completes). The loading of these legacy python services contributes a lot of un-needed workload to the CPU during this time. The eventual goal is to simply remove these services but until that is done, ensure they run with the lowest priority. Resolves openbmc/openbmc#2825 Change-Id: I71e14b02ec943ebe3f64e1818c4fbd7699e690bf Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-08Add LED config for Centriq2400Ken Chen2-0/+33
For control centriq2400 LED Change-Id: I9f8b89125a1e94e1bfda46fd7b23993a4b587556 Signed-off-by: Ken Chen <chen.kenyy@inventec.com>
2018-02-08Change the capability values to match bmc capabilities.Dhruvaraj Subhashchandran1-3/+3
Update the capability values for following Serial TMODE Available - No Out-Of-Band Secondary (second) LAN Channel Available - No Mandatory Primary LAN OOB Support (RMCP+ Support Only) Channel Number - 1 resolves openbmc/openbmc#2884 Change-Id: I24a58a6323a534acdd41b0dd59d746b3927301a2 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
2018-02-08fix alternate boot after watchdog resetEddie James1-2/+44
If the watchdog resets and results in booting from the alternate flash chip, the ubiblock uboot environment variables were not set correctly by simply mirroring the primary flash values. Instead, we need to flip the chip so that we correctly boot from the backup kernel. Resolves openbmc/openbmc#2840 Change-Id: Iabf93053015704049244aea81e83a797b0b16650 Signed-off-by: Eddie James <eajames@us.ibm.com>
2018-02-08busybox: Enable expand(1) utilityAndrew Jeffery1-0/+1
Required by perf(1), which is now in the debug tools tarball. expand(1) expands /bin/busybox.nosuid by 468 bytes and adds one symlink to the filesystem: $ size a/bin/busybox.nosuid text data bss dec hex filename 582385 1845 8816 593046 90c96 a/bin/busybox.nosuid $ size b/bin/busybox.nosuid text data bss dec hex filename 582853 1845 8816 593514 90e6a b/bin/busybox.nosuid Resolves: openbmc/openbmc#2879 Change-Id: I999a12768ab7e0d740bed710b01dab49aa2a8019 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2018-02-07phosphor-ipmi-host.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I96a73338d32ff1ad748011b168a1b28fe46d3174 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-07phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I8c7902a8c9d455ae6fa77a36bbdae1e74edb8dcf Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-06mrw-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Ife93c5ebb1b0389ced28d422a4fc6537e083047d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-06phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I7536bfb3927ec6dc93872aeb804c76a4c427fe13 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-06phosphor-settings-manager.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I22307fe1e7f6674a3a112b4d397f8197434da260 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-06u-boot-fw-utils: Fix mtd-paritions warningBrad Bishop1-0/+1
u-boot-fw-utils_%.bbappend matches the upstream Yocto u-boot recipe in addition to our own, generating a warning when the upstream recipe is parsed because the mtd partition rules are not in the default FILES search path. Add our layer path to the search path. Tested: Built and verified mtd-paritions rule file in rootfs Change-Id: I1e3d769d0066620a626c3be6f9f410ef4476fc66 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-06sdbusplus.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Ibdc581d5c85f4b6bc9d626fbea84d5a8e6842209 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-06mboxd.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Ieeb697cd80e9a8ab07602bbdfc1c48268cedeec0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-06phosphor-watchdog.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Id649da7e3e64a621483de9c561b4a74b2b04810f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-06phosphor-rest.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I4dfd862c971e61eafb73c3eb1f30f6cf3891eb50 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-06phosphor-ipmi-host.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I9e02b5ceb3bd68b1b4f7a9fea19e70bcce580a31 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-06phosphor-dbus-interfaces.bb: bump versionAndrew Geissler1-1/+1
Change-Id: If96b4234dc0dd32d87aed0a62c090084760e770e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-06setings: recipe renamesBrad Bishop4-1/+1
Append -native to native settings recipes according to standard bitbake naming conventions. Change-Id: Ic4a44aefe559ea5cd94b441288d9b80177f9d602 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-06sensor: Modify config for sensor to add additional fieldsTom Joseph4-0/+223
Added entity ID, entity instance and sensor naming pattern to the generated sensor yaml. Resolves openbmc/openbmc#2612 Change-Id: Ie4dc9548833cb30126e873a7597b2be9b1ea7f79 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2018-02-03pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Ic00f98f7fe6237ebaeea164ceb74d71e4c547f73 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-02phosphor-hwmon.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I66bcfb218853449973d6238a521e9e28a37c85cc Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-02phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I9d5e5d6e6089b953b8018d4bca781938380d83dd Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-02phosphor-hwmon.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I09fe3dafbbc1e9f216e77b2e2369b0ec6831e6df Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-02phosphor-ipmi-host.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I7069d9d811e8e329de9dc7245322645e1ef9fac2 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-02mboxd.bb: bump versionAndrew Geissler1-1/+1
Change-Id: If00fc0ecfb9b3890edfc7d993078a7a5f97ae600 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-01Add missing build dependenciesBrad Bishop3-0/+3
Add some missing sdbusplus dependencies. Uncovered by Yocto 2.3 per-recipe sysroot feature. Tested: Built effected recipes under Yocto 2.3 Change-Id: I165165af96b9a57e8975d7fb8bf5934702759008 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-01Add missing pkgconfig dependenciesBrad Bishop4-0/+4
A number of skeleton recipes were missing pkgconfig dependencies. Exposed by Yocto 2.3 per-recipe sysroots feature. Change-Id: I514a95d08e199b395355341fec586b2af11428b5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-01systemd: limit bbclass hooks to class-target scopeBrad Bishop2-5/+10
Allow the phosphor systemd and dbus bbclasses to be inherited by recipes using BBCLASSEXTEND (native, etc). No-op in non-target recipe class context. Tested: Built an image and verified dbus and systemd unit files. Change-Id: Ib2f64233f89d05679c568527a074d9236729201f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>