summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Altherr <raltherr@google.com>2017-01-10 13:57:46 -0800
committerPatrick Williams <patrick@stwcx.xyz>2017-01-25 03:57:48 +0000
commitd5d32a416a00ac7448e2e9db36c79e3d9b1cb58e (patch)
tree688bf1728260cbb6c8fa6b57580920dca0142957
parentc897aa95f5c0fa7d40d3f705b78d654c48c80a8f (diff)
downloadtalos-openbmc-d5d32a416a00ac7448e2e9db36c79e3d9b1cb58e.tar.gz
talos-openbmc-d5d32a416a00ac7448e2e9db36c79e3d9b1cb58e.zip
Build FIT images that include an initramfs
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>
-rw-r--r--meta-phosphor/conf/machine/include/obmc-bsp-common.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-phosphor/conf/machine/include/obmc-bsp-common.inc b/meta-phosphor/conf/machine/include/obmc-bsp-common.inc
index fb68f3189..f2c9247c3 100644
--- a/meta-phosphor/conf/machine/include/obmc-bsp-common.inc
+++ b/meta-phosphor/conf/machine/include/obmc-bsp-common.inc
@@ -20,7 +20,8 @@ OBMC_IMAGE_EXTRA_INSTALL_append = " u-boot-fw-utils"
IMAGE_CLASSES += "image_types_uboot"
INITRAMFS_CTYPE ?= "lzma"
-INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot"
+INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE} cpio.${INITRAMFS_CTYPE}.u-boot"
+INITRAMFS_IMAGE = "obmc-phosphor-initramfs"
MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode"
OpenPOWER on IntegriCloud