From 038b0b737f55ebd2cbc29c91c8274fed422142d4 Mon Sep 17 00:00:00 2001 From: Fabio Berton Date: Wed, 19 Oct 2016 15:05:00 -0200 Subject: [PATCH] wandboard: 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-spl.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 Signed-off-by: Otavio Salvador --- conf/machine/wandboard.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/conf/machine/wandboard.conf b/conf/machine/wandboard.conf index eb6da77..e82f1b4 100644 --- a/conf/machine/wandboard.conf +++ b/conf/machine/wandboard.conf @@ -35,3 +35,15 @@ MACHINE_EXTRA_RRECOMMENDS += " \ " SERIAL_CONSOLE = "115200 ttymxc0" + +MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \ + kernel-image \ + kernel-devicetree \ + u-boot-fslc \ +" + +WKS_FILES ?= "imx-uboot-spl.wks" + +IMAGE_DEPENDS_wic_append = " virtual/bootloader" + +IMAGE_FSTYPES = "wic.gz"