Yocto: Toradex Easy Installer Image for Custom Machine

Hi

I’ve tried to set up a custom machine (called cb20) based on the 'colibri-imx6, machine. This machine lives in our own layer called meta-ntb-toradex. I can build both core-image-minimalandconsole-tdx-image, but it does not generate a Toradex Easy Installer image. When I add IMAGE_FSTYPES += "tezi"tolocal.confit generates the following errors (this is from trying to buildconsole-tdx-image, MACHINE=cb20`). Trying to build either image produces the same erros:

ERROR: /home/ubuntu/yocto/build/../layers/meta-toradex-demos/recipes-images/images/qt5-x11-image.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'tezi' - possibly invalid type name or missing support class

ERROR: /home/ubuntu/yocto/build/../layers/meta-toradex-demos/recipes-images/images/lxde-image.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'tezi' - possibly invalid type name or missing support class

ERROR: /home/ubuntu/yocto/build/../layers/meta-toradex-demos/recipes-images/images/lxqt-image.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'tezi' - possibly invalid type name or missing support class

ERROR: /home/ubuntu/yocto/build/../layers/meta-toradex-demos/recipes-images/images/console-tdx-image.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'tezi' - possibly invalid type name or missing support class`

ERROR: Failed to parse recipe: /home/ubuntu/yocto/build/../layers/meta-toradex-demos/recipes-images/images/lxde-image.bb

How do I fix this/What is the proper way to enable Toradex Easy Installer Images for custom machines?
I followed the High performance, low power Embedded Computing Systems | Toradex Developer Center article to set up the build environment.

machine: cb20.conf

DESCRIPTION = "NTB CB20"

require conf/machine/colibri-imx6.conf

PREFERRED_PROVIDER_virtual/kernel = "linux-toradex-rt"

MACHINEOVERRIDES =. "colibri-imx6:"

Build Configuration:

BB_VERSION           = "1.40.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "arm-tdx-linux-gnueabi"
MACHINE              = "cb20"
DISTRO               = "tdx-x11"
DISTRO_VERSION       = "2.6-snapshot-20200207"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU           = "hard"
meta-toradex-nxp     = "HEAD:7d996d197ad3185838103da3229e01f1b00285c4"
meta-freescale       = "HEAD:c7ab72d894cf5ca887832e163bc27719e045e047"
meta-freescale-3rdparty = "HEAD:545e8094a140231e78b9284c3a3d94fcc573ae98"
meta-toradex-tegra   = "HEAD:8d3d527425b592480900d006c76694877755486a"
meta-toradex-bsp-common = "HEAD:e0c84d834236381e8fec1dcc28137e489fa5ad0a"
meta-oe
meta-filesystems
meta-gnome
meta-xfce
meta-initramfs
meta-networking
meta-multimedia
meta-python          = "HEAD:446bd615fd7cb9bc7a159fe5c2019ed08d1a7a93"
meta-lxde            = "HEAD:ef686d11201b780d7db650f94b3a850a0eb3a6f5"
meta-browser         = "HEAD:2c3c891f776e86faad1f759676cb2bfff32df4a8"
meta-qt5             = "HEAD:1520d5b2b2beec5e1c3209d3178219e93ef08bca"
meta-qt5-extra       = "HEAD:48ab2dad10399951783f0e54aafb7a27ae46ac4e"
meta-rust            = "HEAD:0f950f5e333a1c8999320bf18232144f3dd9c80e"
meta-freescale-distro = "HEAD:4a244af3993ae662624c6f615464e6806cc719a2"
meta-toradex-demos   = "HEAD:54720c9c8c4c5da8e8533dbe82fd69886ba32d60"
meta-toradex-distro  = "HEAD:b430b9bdf4fab46173422106eed1d322f4ace79b"
meta-poky            = "HEAD:347093d4d24eac8165e2be66a4a7503af4bfc833"
meta                 = "HEAD:e68991ceb5933f7d03b96697e8a0ba0829feb320"
meta-ntb
meta-ntb-toradex     = "master:82a247f3bcb05666deb02d94b9e6013d6737b219"

The full layer is available here: github

Thanks

Moritz

Hi Jaski

The solution you linked to seems to work insofar as that I now get different errors. I get multiple errors like this:

ERROR: When reparsing /home/ubuntu/yocto/build/../layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_image_teziimg, the basehash value changed from 79f8f10030fb89574b1c02d57e712e89 to 6108afafc1b0ff0ad05ead5298ac6d79. The metadata is not deterministic and this needs to be fixed.

I have tried -c cleansstate, removing tmp, deploy and sstate-cache and also removing everything except .repo and re-syncing everything. The errors persist.

Any ideas?

Thanks
Moritz

HI @LVTTL

This is not an real error. You can ignore this.

Best regards,
Jaski

Ah ok.
It’s working now.

Thank you!

Moritz

Hi Moritz

Usually creating Custom Machine for iMX6 should work. Please have a look here.

Best regards,
Jaski

Perfect that it works. Thanks for the feedback.

Best regards,
Jaski