summaryrefslogtreecommitdiff
path: root/meta-phosphor
AgeCommit message (Collapse)AuthorFilesLines
2018-02-14FRU: Add Entity ID in the host FRU inventory yamlRatan Gupta3-3/+3
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-13skeleton-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I318ee7e035efec53fc8aee1896f4b775a4e450ed Signed-off-by: Andrew Geissler <geissonator@yahoo.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-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-09phosphor-ipmi-host.inc: bump versionAndrew Geissler1-1/+1
Change-Id: Ibb41c3f087708f9bbdd6369681aa1e713622be32 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 Bishop3-9/+22
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-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-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 Bishop3-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 Joseph2-0/+216
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 Bishop2-0/+2
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>
2018-02-01logging: refactor virtualized recipe build depsBrad Bishop1-8/+7
React to a bitbake behavioral change when removing build dependencies from virtualized recipes. Starting with Yocto 2.3 the recipe dependencies indicated in the patch are not removed from the dependency list. Minor whitespace change. Dropped nativesdk-phosphor-logging dependency removal as it wasn't a base dependency in the first place. Tested: Built the recipe in all effected recipe contexts Change-Id: I07b40951fff752af44dcdc32f5a301e3912bbdc3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-01Add recipes for building webui on targetEd Tanous1-0/+45
This patchset adds the ability to build and package the phosphor-webui and rest-dbus packages as static assets into the filesystem, for the webserver to host. Change-Id: I190eeb3172cbebe5b5ab8d895e5cc9b5647d739b Signed-off-by: Ed Tanous <ed.tanous@intel.com>
2018-02-01Don't run mbox reset until dbus object availableAndrew Geissler1-0/+2
The mbox reset command run within this service requires the mboxd dbus object (org.openbmc.mbox) be available. Prior to this commit, OpenBMC tended to get lucky with the ordering but there was no guarantee. This commit will ensure the ordering is always right. Resolves openbmc/openbmc#2850 Change-Id: Ia9efeb6e06ac47018d449ee2cab2651bc00ab0ed Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-01skeleton-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I8f76a8f5db069b1867e69ee891bee765897255e4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-01phosphor-dbus-interfaces.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I917ebdf71bbfddc3cc606795f45fab66d72064ce Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-01Systemd: backport a new api for uuid generationYong Li4-0/+870
The current uuid generation method just export the machine-id, it does not match the systemd description (https://www.freedesktop.org/software/systemd/man/machine-id.html): This ID uniquely identifies the host. It should be considered "confidential", and must not be exposed in untrusted environments, in particular on the network. If a stable unique identifier that is tied to the machine is needed for some application, the machine ID or any part of it must not be used directly. Backport the new sd_id128_get_machine_app_specific from systemd 233, to replace the old uuid generation method. Change-Id: I44e7b32ca951a9fa591761c3a3e4f27da04d2b6f Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
2018-02-01phosphor-mapper.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I3f292664544794fd49c7dd20b016b11de2a822a5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-01gevent-websocket: move to Phosphor layerBrad Bishop1-0/+22
This recipe was erroneously merged directly into the meta-virt subtree with 1ea01342e. Move to the phosphor layer. Tested: Built an image and verified gevent-websocket still installed Change-Id: I33eba0dedbd5ff2a522ddab526e5787345a2f5d5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>