summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-01-19Initial recipe for phosphor-host-state-managerAndrew Geissler2-0/+40
Delivers the phosphor-host-state-manager application which provides control and query functions on the host objects in the system Change-Id: I8bb91b44873edf3e9836d16a19bce1d2748c9f51 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
2017-01-18Add recipe file for phosphor-led-sysfsVishwanatha Subbanna1-0/+16
Change-Id: Iac26acbbb9b2baad8c0c436d6283120a857b1072 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2017-01-18Add recipe file for LED Group managerVishwanatha Subbanna2-0/+32
Change-Id: I84e3de6775dd2ca5a4e9f65af1efef01c5872c6a Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2017-01-18phosphor-logging.bb: bump versionPatrick Williams1-1/+1
Change-Id: I35b4695fa6a945e943206006a226ae4ff0dc4e55 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-17kernel: Add mailbox and LPC driversJoel Stanley3-1/+7
Mailbox and LPC drivers: drivers/mailbox: Add Aspeed mailbox driver drivers/misc: Add Aspeed LPC control driver dt-bindings: Add Aspeed LPC Control bindings dt-bindings: Add Aspeed mailbox bindings Enable the devices for Zaius and Witherspoon: ARM: dts: aspeed-bmc-opp-witherspoon: Enable mailbox and LPC control ARM: dts: aspeed-bmc-opp-zaius: Enable mailbox and LPC control node ARM: dts: aspeed-g5: Add mailbox and LPC control node Change-Id: I8030404c5c2f6d90935bbd6b26de7143f564f06d Signed-off-by: Joel Stanley <joel@jms.id.au>
2017-01-16phosphor-mapper.bb: bump versionPatrick Williams1-1/+1
Change-Id: I0d8c9cdf9ad5c24e8f96e1c76f964692f007c4c6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-16mrw-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: Idf91e12d00db026afb2fa42f26e54e76d2b600fb Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-16pdbg.bb: bump versionPatrick Williams1-1/+1
Change-Id: I1e46ec369277dd8ec4b1ef98c50b94054a60b108 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-16phosphor-settings.bb: bump versionPatrick Williams1-1/+1
Change-Id: If82414344beff57ab950e18b1b4d9f8341270c41 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-16skeleton-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I18ce6141c9759bacad68c4a42b067964a367a45b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-16sdbusplus.bb: bump versionPatrick Williams1-1/+1
Change-Id: Ia08bd2ef28958c050ad2844c2c3ff09938a6a01b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-15kernel: Zaius and MTD SPI-NOR updatesJoel Stanley1-1/+1
Updates for Zaius from Xo: ARM: dts: aspeed: zaius: Update EVT2 LED GPIOs arm: aspeed: zaius: Disable pulldown resistors on 1-wire IOs ARM: dts: aspeed: zaius: Enable UART1 arm: aspeed: zaius: Reset PHY regardless of board revision GPIO header fix from Xo: gpio: dt-bindings: Fix typo in two-letter ports SPI NOR speedups from Rob: mtd: spi-nor: aspeed: fix DMA access on AST2500 mtd: spi-nor: aspeed: add support for SPI dual IO read mode mtd: spi-nor: add SPI_NOR_DUAL_READ to mx66l51235l Change-Id: I545c3fd0fee13a70bbbcd189ff7385ec914c9c6c Signed-off-by: Joel Stanley <joel@jms.id.au>
2017-01-15kernel: add high res timers to kernel configRobert Lippert2-0/+2
High res timers are useful in general, particularly for userspace apps that call usleep(). Change-Id: I15be1b20141423650ed7f049a4b9ea53160260e3 Signed-off-by: Robert Lippert <rlippert@google.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-13meta-romulus: Update VRM control scriptsLei YU4-12/+15
Romulus VDDR uses different regulator, so the scripts is updated: 1. Remove VDDR related settings in vrm-control.sh 2. Add vrm.sh to invoke vrm-control.sh to set VDN, and invoke i2cset to set VDDR. Change-Id: I8be757728833280392328eaf03b3a88b911a4fbd Signed-off-by: Lei YU <mine260309@gmail.com>
2017-01-13Add phosphor-logger to all images.Brad Bishop1-1/+1
Fix a mistake in obmc-phosphor-image.bbclass that was preventing phosphor-logger from being included in images. The logger implements a DISTRO_FEATURE (no specific hardware features required) but the image recipe was checking for hardware support. Change-Id: I434b48dfbae2a2eb058d7ad4511b22f8b40573e4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-01-13Fix a copy/paste error in op-appsBrad Bishop1-1/+1
Prior to this patch the fans package description was not set and the sensors package description was being overriden with the fan description. Change-Id: I8bfdfb7004fdc1632fb48dc3985bc032b4089ffe Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-01-12Apply sdbus++ runtime deps to the correct pkgBrad Bishop1-1/+1
sdbus++ runtime dependencies were being applied to the sdbusplus package, which at the moment is empty, and eventually will be a shared library. Apply python runtime dependencies to the sdbus++ package rather than sdbusplus. Change-Id: I1f51d2160175031e1526f50fb47118a315a241bd Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-01-12skeleton-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: Ic6da1b919da040cd359a36157de524db6e74648a Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-12obmc-phosphor-event.bb: bump versionPatrick Williams1-1/+1
Change-Id: Id0f2d23fe6a86d627d33d5ecef54ea45f86496e1 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-12slpd-lite:Create RecipeRatan4-10/+72
-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-12phosphor-mapper.bb: bump versionPatrick Williams1-1/+1
Change-Id: I436553db4fbc5847cd9e5beaeba876ed90080d46 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-12obmc-phosphor-event.bb: bump versionPatrick Williams1-1/+1
Change-Id: Id622c986df23f7d0d1027f849a10045ec78f311d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-12skeleton-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I3be93f361bfa16364f7519f002e7f5fdc3fc733b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-12Depend on virtual provider of settings than actual packageVishwanatha Subbanna1-1/+1
Previous recipe file had a runtime dependency on concrete implementation of phosphor-settings. This patch puts a Runtime dependency on the virtual package that provides the settings management. For now, its provided by phosphor-settings. Fixes openbmc/openbmc#833 Change-Id: I61b50b5e0521e41fd0144fb6acc0625e297317c5 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2017-01-12Update time manager recipe to make it more readableVishwanatha Subbanna1-2/+1
Change-Id: I47afdedfb8689d3f7f9274ca835a59b7861b0090 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2017-01-12Start TimeManager as part of multi-user targetVishwanatha Subbanna2-2/+3
This will enable phosphor-time-manager to be started as part of multi-user.target on a boot. Change-Id: I79e83ddb0df9ac4f5cba5e1e55c85adcb5d4805d Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2017-01-12meta-romulus: Enable AVS bus and VRM controlLei YU1-0/+2
Change-Id: I2e66de1fea124c3ba6d5751b9d6a818fe8a65e57 Signed-off-by: Lei YU <mine260309@gmail.com>
2017-01-12meta-romulus: Add AVSBus and VRM workaroundsLei YU10-0/+296
Add AVSBus and VRM control scripts. Add systemd services to do AVSBus workaround, disable AVSBus, do VRM workaround and enable AVSBus. Add BitBake recipe to install script and services. Change-Id: I72ec0138d23eba57ee56d5a6b01e3cd638c819bc Signed-off-by: Lei YU <mine260309@gmail.com>
2017-01-12meta-romulus: Add CPLD workaroundLei YU4-0/+50
Romulus power on scripts requires a workaround to trigger CPLD to give pgood signal after vcs_workaround. Add this as cpld_trigger service that runs after vcs_workaround and before obmc-host-start-pre. Change-Id: I0723bad38a5832f0bb2a8776129885308a8e644a Signed-off-by: Lei YU <mine260309@gmail.com>
2017-01-12Pick up new Witherspoon MRW XMLMatt Spinler3-2/+8
LEDs are now in the model. There is a Targets.pm change that must go with this that the mrw-rev.bbclass change will get. Because Targets.pm is common between Palmetto and Witherspoon, the Palmetto XML must be patched to make Targets.pm happy. Change-Id: Ic3378cca8c6ebe96870d283aac2d42d97b68358a Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-01-11kernel-fitimage: add initramfs supportGeorge McCollister1-82/+172
If INITRAMFS_IMAGE is set, build an additional fitImage containing the initramfs. Copy the additional fitImage and the source (*.its) file, used to create it to DEPLOYDIR. The fitImage containing the initramfs must be built before do_deploy and after do_install to avoid circular dependencies. UBOOT_RD_LOADADDRESS - Specifies the load address used by u-boot for the initramfs. UBOOT_RD_ENTRYPOINT - Specifies the entry point used by u-boot for the initramfs. (From OE-Core rev: b406a89935f148779569fa3770776e009dd51f13) Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ec755d2524fcbd9dfded23a576f25c990d405a6c) Change-Id: I2a544c58ef66b0f0af21a8b1f9aa5dfb8ec0a043 Signed-off-by: Rick Altherr <raltherr@google.com>
2017-01-11kernel: fitimage: support device tree compiler optionsYannick Gicquel1-1/+7
This introduces a new variable to set the device tree compiler options while calling mkimage ('-D' option). By default, this variable is not set but it can be defined in a configuration file, as following example: UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000" (From OE-Core rev: 9a3f541da305c75418c2eec75ade902717a01b69) Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cb565d5b4009432be2d10568aa07367ca7912770) Change-Id: I65b0fe78c515089069fd94c34548fa45195830b4 Signed-off-by: Rick Altherr <raltherr@google.com>
2017-01-11Fixup "Taskhash mismatch" error.Anton D. Kachalov1-1/+1
Use proper variable to exclude dependency check for some variables. Add missed variables: PRETTY_NAME and NAME Change-Id: I67c71fc97f2d6350d189d74d13fd27dfcba959c8 Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2017-01-10Add multi-p9 support to the pdbg scriptsMatt Spinler3-7/+17
start_host.sh and vcs_workaround.sh need changes to support multiple P9s. Also bumped the pdbg version which is coreqed with the script changes. Change-Id: I5536b548315b5f9bf4fd4cb742c686a6ce12b6d0 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2017-01-10Consolidate flash image generationRick Altherr3-88/+85
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-10sdbusplus.bb: bump versionPatrick Williams1-1/+1
Change-Id: I3d330cf9127529630f883ec3d971e525fd22e6f4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-10Only build FIT kernel imagesRick Altherr3-49/+3
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-05skeleton-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: If1f698be578399b54a125ad4de8d00835fddc31e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-04phosphor-mapper.bb: bump versionPatrick Williams1-1/+1
Change-Id: I45abac4d36c63ec3c25d9c8e4522a9bdcca519ed Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-04No longer generate separate netboot image for obmc-phosphor-imageRick Altherr2-16/+2
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>
2017-01-04host-ipmid.bb: bump versionPatrick Williams1-1/+1
Change-Id: I4203cebaa8acc7436bc2188e2fb606a4ebd49cce Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-01-04Move hosts -> hostBrad Bishop3-0/+0
A number of host recipes were added to the openpower layers in the recipes-phosphor/host directory. These should have been created in the hosts directory. Rename hosts to host in the phosphor layer to match. Change-Id: Icb6bc888c9db5578b72a13964365d5f8fab9cd22 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-01-04Remove -fpic from host-ipmid recipeMatthew Barth1-2/+0
Change-Id: I5dd0c07336ed0ab1cfb07e4ce5dbfd0e940192e2 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2017-01-04Remove setting of explicit ramdisk load addressRick Altherr2-14/+0
U-Boot in Aspeed's SDK had a hack to manually relocate the ramdisk into RAM because of a bug that caused the normal ramdisk relocation not to happen if ATAGS was being used. Now that the ATAGS ramdisk relocation bug is fixed, the load address and entrypoint of a ramdisk image are ignored. The ramdisk is relocated to an address chosen by U-Boot and the address is passed to the kernel. Remove the override of oe_mkimage() in obmc-phosphor-image_types_uboot as the default implementation is sufficient. This also removes the only reference to a fixed ramdisk location in RAM. Change-Id: Id92c8dc9ebeb905401e3056fcf841d982abbd3d1 Signed-off-by: Rick Altherr <raltherr@google.com>
2016-12-31meta-zaius: Enable AVSBus controlXo Wang1-0/+1
Add avsbus-control runtime dependency to pdbg-based host control. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I47395f61a4de096476c861145944aa903969fbd6
2016-12-31meta-zaius: Move refclock-fixup enablementXo Wang2-2/+1
Make refclock-fixup a runtime dependency to pdbg-based host control. Remove refclock-fixup's direct dependency to image. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I2ba73d43f6e9dcaac50fe8256ff0aa210cdf40f2
2016-12-22Use INITRAMFS_FSTYPES to build a u-boot ramdiskRick Altherr2-3/+4
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-22Fix typo in op-wait-power-offAndrew Geissler1-1/+1
Change-Id: Iaf582464f1a6311cda2d96c921ad27bc28ec9686 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
2016-12-22skeleton-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: Ibec49aeea5d234ba1aca56d76baf8118becdf176 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2016-12-22sdbusplus.bb: bump versionPatrick Williams1-1/+1
Change-Id: Id060c692e220c55c505311d76e2d312257d0a430 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>