On 18/10/19 1:32 π.μ., Dionevã Milbrath Krolow wrote:
Hello,
Replace "sdcard" by "wic".
Sdcard is format obsolete.
Regards,
Dionevã M. Krolow
------------------------------------------------------------------------
*De:* [email protected]
<[email protected]> em nome de Ekaterini
Voulgari <[email protected]>
*Enviado:* quinta-feira, 17 de outubro de 2019 10:31
*Para:* [email protected] <[email protected]>
*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
[email protected]
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
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale