[meta-freescale] [3rdparty][PATCH v2 5/6] nitrogen7: Add wic image tool support

Gary Bisson gary.bisson at boundarydevices.com
Fri Apr 28 00:30:06 PDT 2017


Required when mainline BSP is used. See 79b9c97f for more details.

Signed-off-by: Gary Bisson <gary.bisson at boundarydevices.com>
---
 conf/machine/nitrogen7.conf | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/conf/machine/nitrogen7.conf b/conf/machine/nitrogen7.conf
index 7ea21b2..db604ad 100644
--- a/conf/machine/nitrogen7.conf
+++ b/conf/machine/nitrogen7.conf
@@ -21,6 +21,15 @@ IMAGE_BOOTLOADER ?= ""
 # Ensure boot scripts will be available at rootfs time
 do_rootfs[depends] += "u-boot-script-boundary:do_deploy"
 
+# wic support
+WKS_FILE ?= "sdimage-bootpart.wks"
+IMAGE_BOOT_FILES = " \
+    6x_bootscript-${MACHINE};6x_bootscript \
+    ${KERNEL_IMAGETYPE} \
+    ${KERNEL_IMAGETYPE}-imx7d-nitrogen7.dtb;imx7d-nitrogen7.dtb \
+"
+IMAGE_DEPENDS_wic_append = " dosfstools-native mtools-native"
+
 # Boot scripts to install
 BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript"
 
-- 
2.11.0



More information about the meta-freescale mailing list