No IMAGE_CMD defined for IMAGE_FSTYPES


Ekaterini Voulgari <sdi1100002@...>
 

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.


Ekaterini Voulgari <sdi1100002@...>
 

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@... <meta-freescale-bounces@...> em nome de Ekaterini Voulgari <sdi1100002@...>
Enviado: quinta-feira, 17 de outubro de 2019 10:31
Para: meta-freescale@... <meta-freescale@...>
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@...
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