[poky] [PATCH] beaglebone.conf: produce wic images for Beaglebone

Ed Bartosh ed.bartosh at linux.intel.com
Thu Sep 22 00:27:29 PDT 2016


Added wic images to the list of default image types for Beaglebone
machine. Added kernel image and device tree packages to the image
to make it bootable. Added required wic dependencies.

[YOCTO #8719]

Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
 meta-yocto-bsp/conf/machine/beaglebone.conf | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-yocto-bsp/conf/machine/beaglebone.conf b/meta-yocto-bsp/conf/machine/beaglebone.conf
index 1b6c2dc..79f92e1 100644
--- a/meta-yocto-bsp/conf/machine/beaglebone.conf
+++ b/meta-yocto-bsp/conf/machine/beaglebone.conf
@@ -16,8 +16,11 @@ EXTRA_IMAGEDEPENDS += "u-boot"
 DEFAULTTUNE ?= "cortexa8hf-neon"
 include conf/machine/include/tune-cortexa8.inc
 
-IMAGE_FSTYPES += "tar.bz2 jffs2"
+IMAGE_FSTYPES += "tar.bz2 jffs2 wic"
 EXTRA_IMAGECMD_jffs2 = "-lnp "
+WKS_FILE = "sdimage-bootpart.wks"
+IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
+do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot u-boot:do_build"
 
 SERIAL_CONSOLE = "115200 ttyO0"
 
-- 
2.1.4



More information about the poky mailing list