summaryrefslogtreecommitdiff
path: root/meta-phosphor/classes/image_types_phosphor.bbclass
AgeCommit message (Collapse)AuthorFilesLines
2017-08-18image-overlay: select fitimage based on obmc-ubi-fsPatrick Williams1-1/+3
When the obmc-ubi-fs feature is enabled we should use the raw Linux kernel fitImage rather than the kernel+initramfs. Update image-overlay to select based on the MACHINE_FEATURE. Change-Id: I099e37c7f82218a2a7173de93724301b9a499bd3 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-18images: Add support for generating ubi imagesBrad Bishop1-4/+126
Add new image types to enable selection of a two partition mtd image: u-boot, and remaining components in a ubi image. UBI enables advanced volume management for flash devices. Resolves: openbmc/openbmc#1941 Change-Id: Ia6ffa96877943c73c14aba76f8fe9533d22b3aa5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-08-18overlay: Prepare for multiple image typesBrad Bishop1-3/+202
More refactoring in preparation for ubi based mtd images. Promote tar file generation to a real image_fstype. This allows tar generation to be turned on or off as needed. Move image-overlay function to image_types_phosphor. Perhaps phosphor is not the best name but for now we only have a handful of image types and the generation logic is to interdependant to warrant seperate classes for each. Attempt to improve readability throughout. Drop ext4 override to discourage mtd block emulation. Change-Id: Idbdc03444549b955ef2180622d133904cb191b28 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-08-01overlay: remove OBMC_PHOSPHOR_IMAGE_OVERLAYBrad Bishop1-0/+16
Solve the problem resulting in the addition of this variable differently, such that it can be removed and image type selection can be selected in the standard way using IMAGE_FSTYPES. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Ice94e8f278f00b8b4d344244bfb87dddeb173a23