[meta-freescale] [3rdparty][PATCH v3 07/15] apalis-imx6.conf: add a wic image in favour of sdcard image

Max Krummenacher max.oss.09 at gmail.com
Wed Nov 8 07:54:06 PST 2017


The wic image can be used to boot kernel/dtb/rootfs from an SD card.
U-Boot gets booted from the on module eMMC, the image from the prepared
SD card can be started with 'run sdboot'.

zcat XXX.rootfs.wic.gz | dd of=/dev/sdX bs=1M

Signed-off-by: Max Krummenacher <max.krummenacher at toradex.com>
---
 conf/machine/apalis-imx6.conf | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/conf/machine/apalis-imx6.conf b/conf/machine/apalis-imx6.conf
index 97d0b49..ce08df5 100644
--- a/conf/machine/apalis-imx6.conf
+++ b/conf/machine/apalis-imx6.conf
@@ -29,7 +29,10 @@ UBOOT_CONFIG[spl] = "apalis_imx6_defconfig,,u-boot.img"
 UBOOT_MAKE_TARGET = ""
 UBOOT_ENTRYPOINT_use-mainline-bsp = "0x10008000"
 
-IMAGE_FSTYPES = "sdcard.gz tar.xz"
+IMAGE_FSTYPES = "wic.gz tar.xz"
+# wic support
+WKS_FILE = "sdimage-bootpart.wks"
+WIC_CREATE_EXTRA_ARGS_append = " --no-fstab-update"
 
 SERIAL_CONSOLE ?= "115200 ttymxc0"
 
-- 
2.9.4



More information about the meta-freescale mailing list