Error building Boot to Qt for Embedded Linux on Colibri iMX7

We are trying to build a Yocto image with Boot to Qt for Colibri iMBX7, using QT_EDITION set to “opensource”. As suggested by the Toradex support we have followed steps here: Boot to Qt for Embedded Linux.

Instead of apalis-imx8 target, we use colibri-imx7. We have used Yocto Pyro release as indicated by the guide.
Our host machine is a Ubuntu Desktop 18.04.02 (running into VirtualBox).

When we launch bitbake b2qt-embedded-qt5-image command we have this warning:

Host distribution "ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

The image build fails, after a lot of hours, with this message:

ERROR: Task (/home/deste/b2qt/meta-boot2qt/sources/meta-boot2qt/meta-boot2qt-distro/recipes-qt/images/ failed with exit code '1'
NOTE: Tasks Summary: Attempted 4317 tasks of which 4303 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Doest anyone know how to build boot2qt on this Toradex board?
Maybe the version of Ubuntu we are use is not compatible? What version should we use?
We have to use different branch of Yocto, instead of Pyro? In some other examples we find over Internet, we see that somebody use a clone without specify the branch (git clone git://…

Thank you in advance to anyone who can help us os suggestions.

(2019-05-31 update)

We have done some other trials; we have fixed the error adding into conf/local.conf file the following config:


But when we had the image and we was trying it on Easy Installer, we have realized that the device colibri-imx7 is not the same of our device (“Colibri iMX7 Dual 1GB (eMMc)”).

So, we have tried to use Thud branch of Yocto and we now can set the device colibri-imx7-emmc:

[meta-boot2qt] $ ./b2qt-init-build-env init --device colibri-imx7-emmc
[meta-boot2qt] $ export MACHINE=colibri-imx7-emmc

Into conf/local.conf file we have added only the config:

QT_EDITION = "opensource"

…Now we have launched the bitmake… Hoping that we can be more lucky this time. We will write an update at the end of the compilation.

Hi @deste and Welcome to the Toradex Community!

Thanks for your input. We will wait for your results.
Best regards,

As already explained in our question’s update, we used a more updated branch of Yocto that contains the correct device information for the “Colibri iMX7 Dual 1GB (eMMc)” (“colibri-imx7-emmc” device).
By this way, we are able to compile Boot to Qt for our Toradex board.

Thanks to everybody.
Our best regards.

hi @deste

Thanks for your Input. Which branch of Yocto did you use?

Best regards,

We used the Thud branch of Yocto:
$ git checkout thud

thanks for this information.