summaryrefslogtreecommitdiff
path: root/meta-phosphor/conf
AgeCommit message (Collapse)AuthorFilesLines
2017-05-24Create a new package for the phosphor-image-updaterGunnar Mills1-1/+7
Change-Id: I9a5b8977072c30d7c2c8a8402ca5bf627d8b79bd Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2017-05-23Add virtual/phosphor-ipmi-inventory-selTom Joseph1-0/+8
This virtual provides a YAML file that serves as a mapping between inventory and sensor number for phosphor-ipmi-host. Add a native recipe that builds the YAML from the MRW. This is the default for the machines that support obmc-mrw. Resolves openbmc/openbmc#1514 Change-Id: I3d856ab00c34d3e71926b863f207dd69f7fc8f3f Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2017-05-19leds: package the FRU fault monitor application.Dhruvaraj Subhashchandran1-1/+6
Resolves openbmc/openbmc#941 Change-Id: I3e5672af468185f6bae50c438820a10d57d60d55 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
2017-05-13Fix a failure building phosphor-debug-collectorVishwanatha Subbanna1-2/+2
Change-Id: I2724bcadc0a44c2f2d6c59e8c481e9d7e16e59a9 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2017-05-11Add recipe for Phosphor Debug collectorJayanth Othayoth1-0/+4
Resolves openbmc/openbmc#1503 Change-Id: Id42d8c5042af4a9a74a9a284f3601989a65c5054 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
2017-05-10Add phosphor-host-check and required host servicesAndrew Geissler1-0/+7
This application and services will be used by the host reset service to determine if the host is running after a BMC has been rebooted Change-Id: I8299546b0f275ebbb46aa775ab7b0633cc3fd5e0 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
2017-05-06Recipes for installing fan definition yamlMatt Spinler1-0/+13
This provides the phosphor-fan-control-fan-config virtual to define the fans required by phosphor-fan-control. On systems with the MRW, phosphor-fan-control-fan-config-mrw-native.bb will be used and will run a perl script to generate the yaml from data in the MRW XML. On systems without the MRW, if nothing else is done a default fans.yaml file will be installed into the correct location by phosphor-fan-control-fan-config-native.bb. To install a system specific version, put it into that system's layer along with a .bbappend of this recipe. Change-Id: I36889a33e16a456a04b94aba7326dd674bfd2904 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-05-06phosphor-software-manager.bb: create new packageDeepak Kodihalli1-0/+6
Create a new package for the phosphor-download-manager. Update dependencies for phosphor-software-manager.bb. Change-Id: Ieb44e0e7314ec30c1cdb2d7e9d05931b0674eff6 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
2017-05-06Recipe for phosphor-discover-system-stateMichael Tritz1-0/+7
This recipe will add the new program phosphor-discover-system-state to new builds. Additionally, the old Python state manager is removed from the build since discover_system_state.py was the last thing in it. Resolves openbmc/openbmc#773 Change-Id: I99ba0f1f0264cedebc5a9a7e5fa5dbaba0b79502 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
2017-04-27Add gpio-keys kernel featureBrad Bishop1-0/+3
Add a gpio-keys feature to be used with KERNEL_FEATURES. Change-Id: I0f96b842a55b38eb573ad894f79ef4621b97e839 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-04-25Rename and move net-ipmi recipeBrad Bishop1-1/+1
Move the net-ipmi recipe to the ipmi folder with all the rest of the IPMI recipes. Rename to match the convention that exists there. Change-Id: I99cd7baa7f8d8eb2696fb1d412c412d9d0aeb38b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-04-08phosphor-ipmi-sensor: Rename the native recipeRatan Gupta1-1/+1
Rename phosphor-ipmi-sensor-inventory-example-native.bb to phosphor-ipmi-sensor-inventory-native.bb Change-Id: I23b11e85a98cb86573255f34879e1dfdc1417298 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-03-30phosphor-ipmi-fru: rename the bb fileRatan Gupta1-1/+1
Rename the phosphor-ipmi-fru-properties-example-native to phosphor-ipmi-fru-properties-native. Rename the generated out.yaml to extra-properties.yaml. Change-Id: Id6fc1c6c5d30f58f7dd83305181d2b0372b2fb33 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-03-30meta-phosphor: disable 'uninative' for RHEL6 supportPatrick Williams1-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>
2017-03-29Provide the phosphor-fan-presence config YAMLMatt Spinler1-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>
2017-03-16Add virtual/phosphor-logging-calloutsDeepak Kodihalli1-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>
2017-03-16Add virtual/phosphor-ipmi-sensor-inventoryRatan Gupta1-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>
2017-03-16Add phosphor-fan-presence to bitbakeMatthew Barth1-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>
2017-03-06image: Use VIRTUAL-RUNTIME for state pkgsBrad Bishop2-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>
2017-03-03Update LED Manager recipe to support Palmetto machineVishwanatha Subbanna1-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>
2017-02-24Change how hwmon.pl is invoked for MRW systemsBrad Bishop1-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>
2017-02-24Add virtual/phosphor-ipmi-fru-propertiesDeepak Kodihalli1-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>
2017-02-20Re-Enabling slpRatan Gupta1-1/+1
Change-Id: Ib26e2a86dd219149a89142b2856712622e45387d Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-02-16Add software package groupGunnar Mills1-0/+6
Change-Id: I98e19c8a7621aad18a91cb83c02b6011e0375885 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2017-02-14Clean up op packagegroupsBrad Bishop2-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>
2017-02-14Add inventory, led and sensors package groupsBrad Bishop1-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>
2017-02-07meta-phosphor: Don't overwrite INHERIT in confXo Wang1-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
2017-02-02ipmi: Remove virtual/phosphor-ipmi-fru-configBrad Bishop1-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
2017-02-02ipmi: Add virtual/phosphor-ipmi-fru-inventoryBrad Bishop2-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>
2017-02-02ipmi: Add virtual/phosphor-ipmi-fru-hostfw-configBrad Bishop1-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>
2017-02-01Add recipe for phosphor-net-ipmid repositoryTom Joseph2-0/+2
Resolves openbmc/openbmc#430 Change-Id: Id958eab2822858fe6241830791380af1a9fc1052 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2017-01-31Alphabetize listsBrad Bishop1-14/+14
Change-Id: I068940d3f400cae26d94dff7f5b29bd596c2a6f6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-01-27Incorporate new phosphor-bmc-state-manager into appropriate imageJosh King2-0/+2
Change-Id: I4c013d98e03703b1328d85ae00cebb8500ffa205 Signed-off-by: Josh King <jdking@us.ibm.com>
2017-01-25ipmi-fru: Add example configuration recipeBrad Bishop1-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>
2017-01-25Rename example ipmi hw recipeBrad Bishop1-1/+1
Attempt at consistant naming convention of ipmi recipes. Change-Id: Ifbf8b0b0675bfd31bf16d40f4a518f81eb9d8205 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-01-25image-overlay: Include initramfs in kernel FITRick Altherr1-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>
2017-01-25Build FIT images that include an initramfsRick Altherr1-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>
2017-01-24meta-phosphor: Disable SLPPatrick Williams1-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>
2017-01-20phosphor-state-manager: remove daemon duplicationPatrick Williams1-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>
2017-01-19Add OBMC_DBUS_PATH_ROOT and OBMC_DBUS_IFACE_ROOTBrad Bishop1-0/+3
Change-Id: I6edda9cd83e6464c8dfd2bf1b1011ac139d25d22 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-01-19Incorporate new phosphor-chassis-state-manager in appropriate imageAndrew Geissler2-0/+2
Change-Id: I39ca1fdfb7f549036b8eb27d7cfe9cd7309dcc54 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
2017-01-19Incorporate new phosphor-host-state-manager into appropriate imageAndrew Geissler2-0/+2
Change-Id: I66f1414344ccc25e3db84c3de3a74993a99a9ff6 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
2017-01-12slpd-lite:Create RecipeRatan1-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>
2017-01-10Consolidate flash image generationRick Altherr1-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>
2017-01-10Only build FIT kernel imagesRick Altherr1-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>
2017-01-04No longer generate separate netboot image for obmc-phosphor-imageRick Altherr1-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>
2016-12-22Use INITRAMFS_FSTYPES to build a u-boot ramdiskRick Altherr1-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>
2016-12-17Add recipes for Witherspoon VCS workaroundSergey Solomin1-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>
2016-12-12Disable gobject-introspection to make openbmc build on ppc64leNan Li2-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>
2016-11-09phosphor-logging: Create recipeAdriana Kobylak2-0/+2
Add phosphor-logging as a virtual package Change-Id: I591fbf94d90d383baf962cd94c08f6b63bb1ee83 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>