All of lore.kernel.org
 help / color / mirror / Atom feed
* No IMAGE_CMD defined for IMAGE_FSTYPES
@ 2019-10-17 13:31 Ekaterini Voulgari
       [not found] ` <MN2PR15MB345492B7DA87AD30194E2E14DB6D0@MN2PR15MB3454.namprd15.prod.outlook.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Ekaterini Voulgari @ 2019-10-17 13:31 UTC (permalink / raw)
  To: meta-freescale

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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: No IMAGE_CMD defined for IMAGE_FSTYPES
       [not found] ` <MN2PR15MB345492B7DA87AD30194E2E14DB6D0@MN2PR15MB3454.namprd15.prod.outlook.com>
@ 2019-10-21  8:18   ` Ekaterini Voulgari
  0 siblings, 0 replies; 2+ messages in thread
From: Ekaterini Voulgari @ 2019-10-21  8:18 UTC (permalink / raw)
  To: Dionevã Milbrath Krolow; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 2689 bytes --]

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




[-- Attachment #2: Type: text/html, Size: 7179 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-21  8:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-17 13:31 No IMAGE_CMD defined for IMAGE_FSTYPES Ekaterini Voulgari
     [not found] ` <MN2PR15MB345492B7DA87AD30194E2E14DB6D0@MN2PR15MB3454.namprd15.prod.outlook.com>
2019-10-21  8:18   ` Ekaterini Voulgari

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.