colibri-imx7.conf: add a wic image in favour of sdcard image

The wic image can be used to boot kernel/dtb/rootfs from an SD card.
U-Boot gets booted from the on module NAND, 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@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Max Krummenacher 2017-11-08 16:54:12 +01:00 committed by Otavio Salvador
parent 9202f5fa7f
commit c44904d9c8

View File

@ -26,7 +26,10 @@ UBOOT_BINARY = "u-boot-nand.imx"
UBOOT_MAKE_TARGET = "u-boot-nand.imx" UBOOT_MAKE_TARGET = "u-boot-nand.imx"
UBOOT_MACHINE ?= "colibri_imx7_defconfig" UBOOT_MACHINE ?= "colibri_imx7_defconfig"
IMAGE_FSTYPES = "sdcard.gz tar.xz ubifs" IMAGE_FSTYPES = "wic.gz tar.xz"
# wic support
WKS_FILE = "sdimage-bootpart.wks"
WIC_CREATE_EXTRA_ARGS_append = " --no-fstab-update"
# Enable free --space-fixup (-F) by default, this allows DFU updates # Enable free --space-fixup (-F) by default, this allows DFU updates
MKUBIFS_ARGS = " -c 8112 -e 124KiB -m 2KiB -F" MKUBIFS_ARGS = " -c 8112 -e 124KiB -m 2KiB -F"