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/b2qt-embedded-qt5-image.bb:do_image_sdcard) 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: /home/deste/b2qt/meta-boot2qt/sources/meta-boot2qt/meta-boot2qt-distro/recipes-qt/images/b2qt-embedded-qt5-image.bb:do_image_sdcard 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://code.qt.io/yocto/meta-boot2qt.git)…
Thank you in advance to anyone who can help us os suggestions.
We have done some other trials; we have fixed the error adding into conf/local.conf file the following config:
LOCALE_GENERATION_WITH_CROSS-LOCALEDEF_forcevariable = "0"
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.