Hello all,
I tried building an image for Verdin-iMX8MP following this tutorial. I successfully executed bitbake core-image-full-cmdline. The output files are inside the build/deploy/verdin-imx8mp/. But there are no any tarball images available.
I went through this similar post where the output doesn’t contain tarball files. I don’t think I made the same mistake because the core-image-full-cmdline was in recommended images list.
I had following lines in my local.conf file:
MACHINE ?= “verdin-imx8mp”
DL_DIR ?= “${TOPDIR}/…/downloads”
SSTATE_DIR ?= “${TOPDIR}/…/sstate-cache”
DEPLOY_DIR = “${TOPDIR}/deploy”
PACKAGE_CLASSES ?= “package_deb”
EXTRA_IMAGE_FEATURES ?= “debug-tweaks package-management”
USER_CLASSES ?= “buildstats”
PATCHRESOLVE = “noop”
PACKAGECONFIG:append:pn-qemu-system-native = " sdl"
CONF_VERSION = “2”
INHERIT += “rm_work”
INHERIT += “toradex-mirrors toradex-sanity”
MACHINES_DOWNSTREAM_DISTRO_DEFAULT = “apalis-imx8 colibri-imx8x verdin-imx8mm verdin-imx8mp verdin-am62”
DISTRO ?= See description below
include conf/machine/include/${MACHINE}.inc
ACCEPT_FSL_EULA = “1”
I got error when the DISTRO option had default option. It had something based on MACHINES_DOWNSTREAM_DISTRO_DEFAULT variable.
I have run the bitbake command again with the options DISTRO ?= “tdx-xwayland-upstream” hoping to get required outputs.
Are there anything else that I need to adjust in order to obtain desired output files from build process? I can provide further details if required.
Hi @Gaurav0212
core-image-full-cmdline is not a supported image from Toradex. Any reason why you are not using our supported tdx-reference-minimal-image or tdx-reference-multimedia-image? I would anyway try to build any of these 2 if you are adamant on going for core-image-full-cmdline. We know that tarballs and Toradex Easy Installer images are generated with those 2 images.
I went through this similar post where the output doesn’t contain tarball files. I don’t think I made the same mistake because the core-image-full-cmdline was in recommended images list.
Kindly let us know where do we recommend the use of bitbake core-image-full-cmdline. I don’t think this is correct…
Kind regards,
Alvaro.
I had already used the tdx-reference-minimal-image (installed through Easy Installer) but they lacked package manager. So, I wanted to build customized image with additional features like package manager. Will I get the package manager if I use PACKAGE_CLASSES ?= “package_deb” in the local.conf file with tdx-reference-minimal-image?
Running the . export command generated an output where following was mentioned.

So, I thought it would be safe to go with what bitbake generated. I misunderstood common targets to be recommended targets.
I see. I think you probably want to use Torizon for better package management since we use Docker there.
This is ideal for better package management.
Also, you don’t really need to build Torizon through Yocto for application development - You can use the images we offer out of the box in Toradex Easy Installer.
Kind regards,
Alvaro.
1 Like