Skip to contentSkip to conversation

beaglebone.conf: produce wic images for Beaglebone

PATCH Superseded Ed Bartosh 1 participant 2 messages Sep 22, 2016 – Sep 28, 2016

lore
Share & tools
lore

Ed Bartosh

author
#0 lore raw

PATCH 1/1 beaglebone.conf: produce wic images for Beaglebone

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]

---
 meta-yocto-bsp/conf/machine/beaglebone.conf | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-yocto-bsp/conf/machine/beaglebone.conf +4 -1
index 1b6c2dc..79f92e1 100644
@@ -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"
 
Signature · 1 line
2.1.4
author
#1 lore raw

PATCH v2 1/1 beaglebone.conf: produce wic images for Beaglebone

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]

---
 meta-yocto-bsp/conf/machine/beaglebone.conf | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-yocto-bsp/conf/machine/beaglebone.conf +4 -1
index 1b6c2dc..c487bd8 100644
@@ -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"
 
 SERIAL_CONSOLE = "115200 ttyO0"
 
Signature · 1 line
2.1.4