[meta-freescale] [3rdparty][PATCH 1/6] nitrogen6sx: Add wic image tool support

Gary Bisson gary.bisson at boundarydevices.com
Thu Apr 27 02:33:18 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/nitrogen6sx.conf | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/conf/machine/nitrogen6sx.conf b/conf/machine/nitrogen6sx.conf
index 43f3a2e..6dea99c 100644
--- a/conf/machine/nitrogen6sx.conf
+++ b/conf/machine/nitrogen6sx.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}-imx6sx-nitrogen6sx.dtb;imx6sx-nitrogen6sx.dtb \
+"
+IMAGE_DEPENDS_wic_append = " dosfstools-native mtools-native"
+
 # Boot scripts to install
 BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript"
 
@@ -29,4 +38,8 @@ UBOOT_MACHINE ?= "nitrogen6sx_config"
 SERIAL_CONSOLE = "115200 ttymxc0"
 
 MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-wl12xx"
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \
+    kernel-image \
+    kernel-devicetree \
+"
 MACHINE_FEATURES += " pci wifi bluetooth"
-- 
2.11.0



More information about the meta-freescale mailing list