summaryrefslogtreecommitdiff
path: root/meta-phosphor/conf/machine
diff options
context:
space:
mode:
authorMilton D. Miller II <miltonm@us.ibm.com>2016-01-28 18:49:39 +0300
committerMilton D. Miller II <miltonm@us.ibm.com>2016-01-29 00:46:44 +0300
commit3e287b385e2bf08ddeee2a56e22f1168455d8c88 (patch)
treed296488e916e69b89b8182e0290c89af53fa3cab /meta-phosphor/conf/machine
parent8084d744423576c7466ed773f5d73cb4a7b0d841 (diff)
downloadopenbmc-3e287b385e2bf08ddeee2a56e22f1168455d8c88.tar.xz
Add u-boot fw-utils to the image
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>
Diffstat (limited to 'meta-phosphor/conf/machine')
-rw-r--r--meta-phosphor/conf/machine/include/obmc-bsp-common.inc11
1 files changed, 9 insertions, 2 deletions
diff --git a/meta-phosphor/conf/machine/include/obmc-bsp-common.inc b/meta-phosphor/conf/machine/include/obmc-bsp-common.inc
index d7a681cdec..fb6cc8ce72 100644
--- a/meta-phosphor/conf/machine/include/obmc-bsp-common.inc
+++ b/meta-phosphor/conf/machine/include/obmc-bsp-common.inc
@@ -13,6 +13,13 @@ UBOOT_SUFFIX ?= "bin"
MACHINEOVERRIDES =. "openbmc:"
+IMAGE_FSTYPES += "overlay"
+IMAGE_INSTALL += "u-boot-fw-utils"
+
IMAGE_CLASSES += "obmc-phosphor-image_types_uboot"
-IMAGE_CTYPE = "lzma"
-IMAGE_FSTYPES += "cpio.${IMAGE_CTYPE}.u-boot"
+IMAGE_CLASSES += "image-overlay"
+
+INITRAMFS_CTYPE ?= "lzma"
+INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}"
+
+