[meta-freescale] No IMAGE_CMD defined for IMAGE_FSTYPES

Ekaterini Voulgari sdi1100002 at di.uoa.gr
Mon Oct 21 01:18:27 PDT 2019


On 18/10/19 1:32 π.μ., Dionevã Milbrath Krolow wrote:
> Hello,
>
> Replace "sdcard" by "wic".
>
> Sdcard is format obsolete.
>
> Regards,
>
> Dionevã M. Krolow
>
>
> ------------------------------------------------------------------------
> *De:* meta-freescale-bounces at yoctoproject.org 
> <meta-freescale-bounces at yoctoproject.org> em nome de Ekaterini 
> Voulgari <sdi1100002 at di.uoa.gr>
> *Enviado:* quinta-feira, 17 de outubro de 2019 10:31
> *Para:* meta-freescale at yoctoproject.org <meta-freescale at yoctoproject.org>
> *Assunto:* [meta-freescale] No IMAGE_CMD defined for IMAGE_FSTYPES
> Hello,
>
> I want to move a layer from korgoth to warrior.
>
> The error is:
>
> /poky/meta-openembedded/meta-python/recipes-core/images/meta-python-ptest-image.bb: 
>
> No IMAGE_CMD defined for IMAGE_FSTYPES entry 'sdcard' - possibly invalid
> type name or missing support class
> ERROR:
> /poky/meta-openembedded/meta-python/recipes-core/images/meta-python-image-base.bb: 
>
> No IMAGE_CMD defined for IMAGE_FSTYPES entry 'sdcard' - possibly invalid
> type name or missing support class
> ERROR:
> /poky/meta-openembedded/meta-python/recipes-core/images/meta-python-image.bb: 
>
> No IMAGE_CMD defined for IMAGE_FSTYPES entry 'sdcard' - possibly invalid
> type name or missing support class
> ERROR: Failed to parse recipe:
> /poky/meta-openembedded/meta-python/recipes-core/images/meta-python-ptest-image.bb
>
> In file "/meta-fsl-arm/classes/image_types_fsl.bbclass" there is a
> function "IMAGE_CMD_sdcard ()" at line 308. I am thinking perhaps I need
> to find where is the IMAGE_CMD in the newest meta-freescale layer since
> meta-fsl-arm is deprecated?
>
> The board is MYirTech's MYS-6ULX (IoT) and Yocto is warrior version.
>
>
> -- 
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale

thanks Dionevã, the error is gone and the image is building. Here's what 
I changed just for the record:


The 'sdcard' string was found in the vendor's machine.conf:

     UBOOT_CONFIG[sd] = "mys_imx6ull_14x14_emmc_config,sdcard"


in machine/includes as:

    SOC_DEFAULT_IMAGE_FSTYPES = "sdcard.gz ext3 ubi ubifs"


and in distro.conf as:

    IMAGE_FSTYPES = "tar.bz2 tar.xz ext4 sdcard"


so I have made these naive changes to local.conf:


IMAGE_FSTYPES_remove= "sdcard.gz sdcard"
IMAGE_FSTYPES_append = "wic"
UBOOT_CONFIG_remove = "sdcard"
UBOOT_CONFIG_append = "wic"

SOC_DEFAULT_IMAGE_FSTYPES_remove = "sdcard.gz"
SOC_DEFAULT_IMAGE_FSTYPES_append = "wic"



Katerina



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20191021/100cc018/attachment.html>


More information about the meta-freescale mailing list