How to build and deploy image with yocto on verdin-imx8mp?

Hi,
I followed the instructions given here : Build a Reference Image with Yocto Project/OpenEmbedded | Toradex Developer Center and i created a core-minimal-image for the verdin-imx8mp.

Now, I have the image in : ~/oe-core/build/deploy/images/verdin-imx8mp.
I copied the file : core-image-minimal-verdin-imx8mp-20230628070756-Tezi_6.3.0-devel-20230628070756+build.0.tar to my tcbdir folder that i created before to customize and install image using toradex easy installer.

I also edited the tcbuild.yaml to change the name of the tar image

input:
  easy-installer:
    # >> Choose one of the options (REQUIRED):
    # >> (1) Image as local folder or tarball.
    local: images/core-image-minimal-verdin-imx8mp-20230628070756-Tezi_6.3.0-devel-20230628070756+build.0.tar

When i run the command : $ torizoncore-builder images unpack images/core-image-minimal-verdin-imx8mp-20230628070756-Tezi_6.3.0-devel-20230628070756+build.0.tar

i get this error :

Storage not empty. Delete current image before continuing? [y/N] y
Unpacking Toradex Easy Installer image.
Copying Toradex Easy Installer image.
Unpacking TorizonCore Toradex Easy Installer image.
No root file system content section found in <_io.TextIOWrapper name='/storage/tezi/image.json' mode='r' encoding='UTF-8'>

Is there something i missed?

Hey @Samir1,

Here is a similar issue.

The issue is that the TorizonCore Builder tool is meant to be used with a TorizonCore image.

Is using one of the supplied TorizonCore images an option?

-Eric

Hi,
@eric.tx In fact, I go through the custom Torizon image in Yocto to be able to add and use the “apt-get” and “dpkg” packages.
I want to know if there is another way to deploy my image on the Toradex card? What are the steps to follow after building and generating the image?

I think this is the problem of all users of toradex verdin imx8mp (newbies like me :slight_smile: ) It would be great if you add an image with at least this two packages.

Thanks !

Hey @Samir1,

While our TorizonCore Images are not Debian based (what you would need in order to use those packages). The containers that run on them are Debian based and you can build containers with these packages. Are you familiar with containers?

For a newer user I would suggest going with a TorizonCore Image + docker. Here is some write up.

But a good starting point might be the Quick Start guides too.

-Eric

Hello @eric.tx
Ok i see, precisely we try to avoid that … because we will have to install a docker in a docker to make our containers work.

We are looking for a solution like for example build our torizonCore image Debian based or something like that.

PS : We are also interested if you do this kind of services.

Thanks .

Hey @Samir1,

Can I ask what are the requirements that are pushing towards using Debian based images (beyond apt-get)? Depending on your particular situation, different solutions are possible, but it’s hard to give an example without without knowing the project requirements/framework. For instances you can include packages when using the yocto build process and the local.conf file.

We do have a partner network that has some great services and familiarity with out products. You can search here to find out a bit more: Toradex - Partner Network Services

-Eric