[PATCH openbmc 8/8] Add u-boot fw-utils to the image
OpenBMC Patches
openbmc-patches at stwcx.xyz
Fri Jan 29 09:50:19 AEDT 2016
From: "Milton D. Miller II" <miltonm at us.ibm.com>
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 at us.ibm.com>
---
meta-phosphor/conf/machine/include/obmc-bsp-common.inc | 11 +++++++++--
1 file 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 d7a681c..fb6cc8c 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}"
+
+
--
2.6.4
More information about the openbmc
mailing list