diff options
author | Milton D. Miller II <miltonm@us.ibm.com> | 2016-01-28 18:49:39 +0300 |
---|---|---|
committer | Milton D. Miller II <miltonm@us.ibm.com> | 2016-01-29 00:46:44 +0300 |
commit | 3e287b385e2bf08ddeee2a56e22f1168455d8c88 (patch) | |
tree | d296488e916e69b89b8182e0290c89af53fa3cab /meta-phosphor/conf/machine | |
parent | 8084d744423576c7466ed773f5d73cb4a7b0d841 (diff) | |
download | openbmc-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.inc | 11 |
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 d7a681cde..fb6cc8ce7 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}" + + |