imx6dl-riotboard: Migrate to use wic image creator tool

Use wic image creator tool instead of image_types_fsl class to create
sdcard images. wic uses imx-uboot.wks file and this new layout
has only one partition, so all files will be installed on the same
partition. We need to set MACHINE_ESSENTIAL_EXTRA_RDEPENDS to install
kernel image and devitree and u-boot to root part, set wic.gz as
IMAGE_FSTYPES and set correct WKS_FILES.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Fabio Berton 2016-10-19 15:05:02 -02:00 committed by Otavio Salvador
parent 7595ac2738
commit 9cfef66487

View File

@ -13,3 +13,15 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"
SERIAL_CONSOLE = "115200 ttymxc1"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \
kernel-image \
kernel-devicetree \
u-boot-fslc \
"
WKS_FILES ?= "imx-uboot.wks"
IMAGE_DEPENDS_wic_append = " virtual/bootloader"
IMAGE_FSTYPES = "wic.gz"