summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/conf/machine/include/obmc-bsp-common.inc
Commit message (Collapse)AuthorAgeFilesLines
* meta-phosphor: Make image-overlay an optional featurePatrick Williams2016-06-241-1/+1
| | | | | | | | | | | | | | | | Previously, obmc-bsp-common.inc added "overlay" to the IMAGE_FSTYPES but this only has meaning if the 'image-overlay' class is used. The obmc-phosphor-image class explicitly includes 'image-overlay' when appropriate but no other images (ie. ones that come with yocto) do. Changed obmc-bsp-common to instead enable an obmc-phosphor-image feature by setting OBMC_PHOSPHOR_IMAGE_OVERLAY=1. Then in obmc-phosphor-image we add "overlay" to the IMAGE_FSTYPES only when the feature is enabled. This will fix both non-phosphor images on hardware platforms and all images on simulation platforms. Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add OBMC_IMAGE_EXTRA_INSTALL variableBrad Bishop2016-06-141-1/+1
| | | | | | | | | | | | | | | Prior to this patch packagegroup-core-boot was not being pulled in. core-boot is what brings in the init_manager (systemd) but somehow systemd was added as a dependency by OE for the skeleton package so the missing core-boot packagegroup went unnoticed. core-boot was not being pulled in because of an assignment to IMAGE_INSTALL in the global configuration. Yocto core provides a mechanism to do the same thing safely - CORE_IMAGE_EXTRA_INSTALL; use this and also adopt a similar approach for adding extra packages to image recipes using obmc-phosphor-image. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Build a tftpboot friendly image.Brad Bishop2016-04-211-0/+1
| | | | | Build a rootfs cpio uimage with everything along with the other images.
* Don't inherit image-overlay by defaultBrad Bishop2016-02-291-1/+0
| | | | | | | | | | | This attempts to address a race condition in the build where we attempt to build a complete flash image before all the sub-images are available (specifically the initramfs image). Any classes in IMAGE_CLASSES are inherited by all image recipes, including the initramfs image. OE-Core's live/hddimg recipes address this by pulling in the class configuration in recipe scope, rather than global scope. Copy that behavior here.
* Add u-boot fw-utils to the imageMilton D. Miller II2016-01-281-2/+9
| | | | | | | | | | | This adds the u-boot-fw-utils package to the obmc phosphor bsp include file to include the fw_setenv and fw_printenv utilities in the image. This will allow us to read and update the u-boot boot environment including setting the mac address of the ethernet. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
* Use lzma compression for rootfsBrad Bishop2015-10-121-1/+1
| | | | This saves almost 30 percent.
* Use OpenBMC uboot imageBrad Bishop2015-10-081-1/+4
| | | | | This makes all machines use the OpenBMC flash image uboot image fstype specialization.
* Move Palmetto specific metadata to Palmetto layerBrad Bishop2015-10-061-0/+15
OpenPOWER on IntegriCloud