summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/conf
Commit message (Collapse)AuthorAgeFilesLines
* meta-phosphor: disable 'uninative' for RHEL6 supportPatrick Williams2017-03-291-0/+7
| | | | | | | | | | | | The uninative stub from Yocto-2.2 includes a glibc that no longer has legacy kernel support for the kernel in RHEL6. We need to disable uninative and set OLDEST_KERNEL to enable backwards compatibility. See openbmc/openbmc#1407 to track removal of this. Change-Id: I6352514016d803b7b77d483425b3f080eef896c0 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Provide the phosphor-fan-presence config YAMLMatt Spinler2017-03-281-0/+8
| | | | | | | | | On MRW based systems, this YAML will be generated from the MRW XML, otherwise the example YAML provided by the phosphor-fan-presence repository will be used in the build. Change-Id: I1bf914a7e26067f62f2b2bf8b7ba1ba43591c5dc Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add virtual/phosphor-logging-calloutsDeepak Kodihalli2017-03-161-0/+9
| | | | | | | | | | | | | | | This virtual generates mappings between sysfs device paths and inventory items. Add a native recipe that builds the configuration from MRW. Set this recipe as the default for OpenPOWER systems. Resolves openbmc/openbmc#1093 Resolves openbmc/openbmc#1249 Change-Id: If67b4ef0850910a076ca212197a4bd0e704d0266 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add virtual/phosphor-ipmi-sensor-inventoryRatan Gupta2017-03-161-0/+9
| | | | | | | | | | | | | | This virtual provides a YAML file that serves as sensor inventory configuration for phosphor-host-ipmid. Add a native recipe that builds the configuration from MRW. Set this recipe as the default for OpenPOWER systems. Resolves openbmc/openbmc#781 Resolves openbmc/openbmc#1212 Change-Id: I25034dd3ed825e2ef320ab0b38ac2f733afded47 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Add phosphor-fan-presence to bitbakeMatthew Barth2017-03-151-0/+5
| | | | | | | | Created phosphor-fan-presence recipe along with service file to run the phosphor-fan-presence-tach daemon. Change-Id: I7211d51eaf48648e7bf2f838edee49ecadb534fb Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* image: Use VIRTUAL-RUNTIME for state pkgsBrad Bishop2017-03-062-6/+18
| | | | | | | | | | | | The correct idiom for modeling runtime only virtual implementations with no build time API is to use VIRTUAL-RUNTIME in favor of PREFERRED_PROVIDER. Update the state management management applications accordingly since they fall into this category. Change-Id: I8f0092a38da4ea0741dd0f464b71f4ea12d12019 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Update LED Manager recipe to support Palmetto machineVishwanatha Subbanna2017-03-031-0/+8
| | | | | | | This has the changes that enables LED group manager on Palmetto Change-Id: Iaf4d4cc4c798c70e557009e9928225facb1d7d86 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Change how hwmon.pl is invoked for MRW systemsBrad Bishop2017-02-241-0/+7
| | | | | | | | This minor tweak removes the need for MRW using systems to append the phosphor-hwmon recipe in their layer. Change-Id: I3d9dcfff452e26d191df37ae7d759c6c2c3f2cd4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add virtual/phosphor-ipmi-fru-propertiesDeepak Kodihalli2017-02-231-0/+2
| | | | | | | | | | | This virtual provides an output file in YAML format, which has property:value pairs for FRUs of interest. Add a native recipe that builds the configuration from MRW. Set this recipe as the default for OpenPOWER systems. Change-Id: Icc816b777189a48aff79a958f38ad22d7002bfdc Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Re-Enabling slpRatan Gupta2017-02-201-1/+1
| | | | | Change-Id: Ib26e2a86dd219149a89142b2856712622e45387d Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Add software package groupGunnar Mills2017-02-161-0/+6
| | | | | Change-Id: I98e19c8a7621aad18a91cb83c02b6011e0375885 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Clean up op packagegroupsBrad Bishop2017-02-142-2/+0
| | | | | | | | | | | | | | | Now that the legacy applications are picked up in the OpenPOWER layer via obmc-apps packagegroups, those dependencies can be removed from the op-apps packagegroup. Remove the sensord application as it has been replaced with phosphor-hwmon. Demote sensor mgmt feature to an image feature since anything running OpenBMC can have a sensor. Change-Id: I0b27cacbcbd73d53ab8db40790ea967ad478d111 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add inventory, led and sensors package groupsBrad Bishop2017-02-141-0/+25
| | | | | | | | | | | | | | | | | Add inventory, leds and sensors categories to the obmc-apps packagegroup. Add virtuals and mark Phosphor apps as providers: -obmc-inventory-manager -obmc-leds-manager -obmc-leds-sysfs -obmc-sensors-hwmon Add legacy applications to these groups in the OpenPOWER later until they are fully deprecated. Change-Id: If3ae7c83ccd03e21adbca4653c1e803566b502de Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* meta-phosphor: Don't overwrite INHERIT in confXo Wang2017-02-061-1/+1
| | | | | | | | | | | | | INHERIT is being overwritten rather than appended to in openbmc-phosphor.conf as of 0a544b5f874e81a1c4579d3de113c176668b6c80. Use override append syntax for obmc-phosphor-utils and add a space to separate from preceding classes. Fixes openbmc/openbmc#1095. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Id8c3c2d9cbab9cd5e1f0eff3674ad28084816da6
* ipmi: Remove virtual/phosphor-ipmi-fru-configBrad Bishop2017-02-021-9/+0
| | | | | | | | | | | | | | | | | Replace this virtual with two others: -virtual/phosphor-ipmi-fru-hostfw-config -virtual/phosphor-ipmi-fru-inventory. Update ipmi-fru-parser machine recipes to provide virtual/phosphor-ipmi-fru-inventory rather than virtual/phosphor-ipmi-fru-config. Remove machine recipes on machines that use MRW since a single MRW recipe provides for any MRW using system automatically. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com? Change-Id: Ia0d94b938eb2c7bfadd5a018ae5ea136f14dd874
* ipmi: Add virtual/phosphor-ipmi-fru-inventoryBrad Bishop2017-02-022-0/+10
| | | | | | | | | | | | | This virtual provides a configuration file that describes the IPMI inventory implementation details to ipmi-fru-parser. Add a recipe that provides the sample that comes with ipmi-fru-parser. Add a recipe that generates the file from an MRW. Change-Id: I331fec22fb603146cbe6b2d57256a2b29adce46b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* ipmi: Add virtual/phosphor-ipmi-fru-hostfw-configBrad Bishop2017-02-021-0/+9
| | | | | | | | | | | | | | | | | This virtual provides a configuration file that describes host firmware implementation details to ipmi-fru-parser. Add a recipe that provides the sample that comes with ipmi-fru-parser. Add a recipe for Hostboot on OpenPower systems. Set the default provider to the example. Set the default on OpenPOWER systems to the hostboot recipe. Change-Id: Iff56c5c0c2ea8aec7ecaa5a5d981da6f88a894f2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add recipe for phosphor-net-ipmid repositoryTom Joseph2017-01-312-0/+2
| | | | | | | Resolves openbmc/openbmc#430 Change-Id: Id958eab2822858fe6241830791380af1a9fc1052 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Alphabetize listsBrad Bishop2017-01-311-14/+14
| | | | | Change-Id: I068940d3f400cae26d94dff7f5b29bd596c2a6f6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Incorporate new phosphor-bmc-state-manager into appropriate imageJosh King2017-01-272-0/+2
| | | | | Change-Id: I4c013d98e03703b1328d85ae00cebb8500ffa205 Signed-off-by: Josh King <jdking@us.ibm.com>
* ipmi-fru: Add example configuration recipeBrad Bishop2017-01-251-0/+9
| | | | | | | | Add a native recipe that installs the (yet to be created) example IPMI FRU parser configuration. Change-Id: I8309e64254a12dd303e7eb5ef9482bd934c9ce6a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Rename example ipmi hw recipeBrad Bishop2017-01-251-1/+1
| | | | | | | Attempt at consistant naming convention of ipmi recipes. Change-Id: Ifbf8b0b0675bfd31bf16d40f4a518f81eb9d8205 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* image-overlay: Include initramfs in kernel FITRick Altherr2017-01-251-1/+1
| | | | | | | | Instead of packaging the initramfs separately in the flash image, use the FIT image that includes kernel+fdt+initramfs. Change-Id: I0a3315cfc635acbfaf7b603f5dca7da1ddeae1c1 Signed-off-by: Rick Altherr <raltherr@google.com>
* Build FIT images that include an initramfsRick Altherr2017-01-251-1/+2
| | | | | | | | | All the infrastructure is provided by upstream Yocto. The resulting FIT image includes (kernel+fdt+initramfs). This can replace image-overlay's manual inclusion of an initramfs in the flash image. Change-Id: I6f3580c5e564539960e287a9fae3161cb425a534 Signed-off-by: Rick Altherr <raltherr@google.com>
* meta-phosphor: Disable SLPPatrick Williams2017-01-241-1/+1
| | | | | | | | Issue openbmc/openbmc#983 is opened for spamming of the journal by slpd-lite. Disable SLP until that is resolved. Change-Id: I4a5ada3004682dd34ab8206072000e233b13035e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* phosphor-state-manager: remove daemon duplicationPatrick Williams2017-01-191-2/+2
| | | | | | | | | | | | | | | | | The phosphor-state-manager repository builds [at least] two executables: * phosphor-host-state-manager * phosphor-chassis-state-manager phosphor-host-state-manager.bb and phosphor-chassis-state-manager.bb were effectively the exact same file and had no assignment of executables to files. The result was that both packages installed both daemons and caused an installation collision. Combine the two recipes into a single recipe with the correct package relationship for each executable. Change-Id: I76a1e598bebc5090ae374271bbd5e8e32967cb43 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add OBMC_DBUS_PATH_ROOT and OBMC_DBUS_IFACE_ROOTBrad Bishop2017-01-191-0/+3
| | | | | Change-Id: I6edda9cd83e6464c8dfd2bf1b1011ac139d25d22 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Incorporate new phosphor-chassis-state-manager in appropriate imageAndrew Geissler2017-01-182-0/+2
| | | | | Change-Id: I39ca1fdfb7f549036b8eb27d7cfe9cd7309dcc54 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Incorporate new phosphor-host-state-manager into appropriate imageAndrew Geissler2017-01-182-0/+2
| | | | | Change-Id: I66f1414344ccc25e3db84c3de3a74993a99a9ff6 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* slpd-lite:Create RecipeRatan2017-01-121-0/+1
| | | | | | | | -Create the slpd-lite.conf through the bbclass -Create the service file which starts the slpd Change-Id: I10b23bb81492270337e02470c75094eff30b4190 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Consolidate flash image generationRick Altherr2017-01-101-1/+1
| | | | | | | | | | | | | | | | | Before c7248eb11c and 794bd3d4ac, flash image generation was split between obmc-phosphor-image_types_uboot.bbclass and image-overlay.bbclass. This was because generate_flash() relied on calling oe_mkimage() which was also defined in obmc-phosphor-image_types_uboot.bbclass. With that dependency removed, all of the flash image generation can now be consolidated into image-overlay.bbclass. This location makes more sense as the .uboot image type is for generating U-Boot legacy ramdisks while the overlay image type is specifically for OpenBMC and its flash layout. obmc-phopshor-image_types_uboot.bbclass is now empty and has been removed. Change-Id: Idcf38d3ef6f419780a7c54c77f1195bf3b5f5667 Signed-off-by: Rick Altherr <raltherr@google.com>
* Only build FIT kernel imagesRick Altherr2017-01-091-2/+2
| | | | | | | | | | U-Boot has support for FIT images enabled. Yocto has been building both cuImage and fitImage for a while now. Dropping cuImage gets us closer to mainline Yocto. Using a FIT image clears the path for bundling the initramfs into the kernel image. Change-Id: I46f1e3d4196bab12b733c59efca40e9e50ca264d Signed-off-by: Rick Altherr <raltherr@google.com>
* No longer generate separate netboot image for obmc-phosphor-imageRick Altherr2017-01-041-1/+1
| | | | | | | | | | | | | | | | | The netboot image consists of the initrd and rootfs packaged together into a single U-Boot legacy ramdisk image. The initrd is already built as a U-Boot legacy image via INITRAMFS_IMAGE_TYPES. Similarly, the rootfs is already built as a U-Boot legacy image via IMAGE_TYPES. In getting rid of the redundancy, using built-in mechanisms is preferred over custom code thus netboot image is being removed. Note that removing the netboot image generation means the raw initramfs CPIO archive is not explicitly needed so it has been removed from INITRAMFS_IMAGE_TYPES. It will still be generated as the U-Boot ramdisk generation requires it as an implicit dependency. Change-Id: I0370ccc9575000de3238af07f7f14faa283edc15 Signed-off-by: Rick Altherr <raltherr@google.com>
* Use INITRAMFS_FSTYPES to build a u-boot ramdiskRick Altherr2016-12-221-1/+1
| | | | | | | | | | | | | do_generate_flash() was manually packaging the initramfs cpio archive as a u-boot ramdisk legacy image. Add the u-boot type to INITRAMFS_FSTYPES to use the existing infrastructure instead. NOTE: if you have an existing build directory, this change may cause the build to fail while creating symlinks. This is caused by the .u-boot file changing from an actual file to a symlink. Change-Id: I9fa69620f97452671f89675768b1d1f33dbe97f2 Signed-off-by: Rick Altherr <raltherr@google.com>
* Add recipes for Witherspoon VCS workaroundSergey Solomin2016-12-161-0/+1
| | | | | | | | | | | | | | | Create vcs-workaround machine feature p9.inc Add new recipe vcs-pre-post.bb Add new recipe p9-vcs-workaround.bb Add new recipe start_host.bb Create preferred providers Create host control machine/distro/image feature Add dependencies Partially resolves openbmc/openbmc#647 Change-Id: I285cafc81afda20977fdf360ad8ad34d15e38685 Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
* Disable gobject-introspection to make openbmc build on ppc64leNan Li2016-12-122-0/+3
| | | | | | | | | | | | | | | | | As a known issue, the introspection data cannot be built on ppc64le. https://lists.yoctoproject.org/pipermail/yocto/2016-April/029582.html. To work around, I disable the use of qemu when we build openbmc by modifying the configuration files: Add MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode" to the end line. Resolve: openbmc/openbmc#640 Change-Id: Idb6584ca43a8d4f005aa365f62aa1d46d2a00fd5 Signed-off-by: Nan Li <william.bjlinan@hotmail.com>
* phosphor-logging: Create recipeAdriana Kobylak2016-11-092-0/+2
| | | | | | | Add phosphor-logging as a virtual package Change-Id: I591fbf94d90d383baf962cd94c08f6b63bb1ee83 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Build both cuImage and fitImage by defaultRick Altherr2016-11-081-2/+2
| | | | | Change-Id: I2333097ce2a17a2e2d932384373ccbae6724a861 Signed-off-by: Rick Altherr <raltherr@google.com>
* Add obmc-mrw Distro featureMatt Spinler2016-10-201-0/+1
| | | | | Change-Id: I8df003a2e935b45231b31862ada825a8786679a1 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Enabling the avahi service.Ratan Gupta2016-10-041-0/+1
| | | | | | | | | | | Regsitering the following services with avahi. obmc-console,ssh,sftp(dropbear),obmc-rest Fixes openbmc/openbmc#548 Fixes openbmc/openbmc#549 Change-Id: I20c31e9e8dfa6d52575bc3c1f55ac62eef82ec13 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* phosphor-settings: Remove install step and make it a virtual packageAdriana Kobylak2016-09-292-0/+2
| | | | | | | | | | Move the settings dbus object to a virtual package, replace the dependency from ipmi with a recommends, and update the recipe to make use of the new python setup script in the phosphor-settingsd repository. Change-Id: I0566ed267a6cd5e06f701ba54b1021a9a8268a20 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* enable PAMEdward A. James2016-09-281-1/+1
| | | | | | | | | | tested dropbear according to the PAM integration yocto page dropbear correctly allows or disallows ssh access for simple cases resolves openbmc/openbmc#545 Change-Id: I6af6e96f404b524139058c792365b77f0b099929 Signed-off-by: Edward A. James <eajames@us.ibm.com>
* distro: Move location of distro conf override filesRick Altherr2016-09-281-1/+1
| | | | | | | | | | | | | Ideally, a machine layer can be used with any distro. openbmc-phosphor.conf allows defaults to be overriden by machine layers through an include file at conf/distro/include/${MACHINE}.inc. If this pattern is used by other distros, the per-machine overrides will be picked up by all distros. Instead, move the override file to conf/distro/include/openbmc-phosphor/${MACHINE}.inc so these overrides will only apply when the openbmc-phosphor distro is used. Change-Id: Id42f87b5e13839a960fd84f348b46c9a31a7c801 Signed-off-by: Rick Altherr <raltherr@google.com>
* distro: Allow other layers to override distro confBrad Bishop2016-09-141-0/+2
| | | | | | | | | Enable other layers to optionally define a conf/distro/include/${MACHINE}.conf to override distro configuration. Change-Id: I7bc34d4d0d89c0a6568f084c017cd7e9b964ced1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Prune qemuarm local.conf.sampleBrad Bishop2016-09-141-225/+1
| | | | | | | | | Remove comments. Remove SDL lines. Allow any distro without warning. Change-Id: If2ddff9c50f834bff30454768f563b272975866c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* remove sample.inc include from local.conf.exampleBrad Bishop2016-09-142-9/+0
| | | | | | | | | | | | | | | | | sample.inc has been reduced to simply appending some server related machine features. For the sake of correctness, don't assume anything about the machine features desired to be simulated by the phosphor layer client. Accomplish this by removing sample.inc from local.conf(.sample). To simulate additional machine features on fake platforms like evaluation boards or the default qemu models, append additional features to OBMC_MACHINE_FEATURES in local.conf. Change-Id: I8bf3e0b428a3d0c20136340720aa500e1312607e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Move default providers to distro configBrad Bishop2016-09-142-9/+8
| | | | | | | | Move the fake, example implementations from sample.inc to phosphor-defaults. Other layers override as needed. Change-Id: Ic024b13c39bf1750f5c76bc0fac1d18092e8305d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add host ipmi featureBrad Bishop2016-09-142-0/+2
| | | | | | | Add a distro/machine feature for Host IPMI. Change-Id: I873e5a37236ab408890e967109f16bc1926503be Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* host-ipmid: Convert providers to package groupBrad Bishop2016-09-141-5/+0
| | | | | | | | The desired providers were previously expressed in a virtual package. Move them to a packagegroup instead. Change-Id: I7343b64871b655dc7f567ecb8412b6b47b791d33 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* remove VIRTUAL-RUNTIME_xxx_ctlBrad Bishop2016-09-141-12/+0
| | | | | | | | These variables don't do anything functionally at the moment and the idea is better implemented with a packagegroup anyway. Change-Id: I026989df7a1169d44ff1a532731c97930c95d293 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud