Dear Community.
Recently, I proudly owned the IMX8 module, which I run on the Ixora V1.1A board.
By following the torizon image building how-to
(https://developer.toradex.com/knowledge-base/build-torizoncore#native-torizoncore-build),
which is straight forward, the clean building was successful on both, the zeus branch and the master branch (https://github.com/toradex/toradex-torizon-manifest). Even the SDK toolchain was built successfully.
When I added the q5 layer (https://github.com/meta-qt5/meta-qt5) and having the right branch selected, neither the zeus manifest nor the master manifest of torizon was built succesfully by the native bitbake command. Attached, you can see the errors printed at the terminal:
bitbake torizon-core-docker
Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:01:57
Parsing of 2689 .bb files complete (0 cached, 2689 parsed). 3887 targets, 564 skipped, 5 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/libgles2' (but /home/margrum/yocto-workdir-master/build/conf/../../layers/meta-qt5/recipes-qt/qt5/qtbase_git.bb DEPENDS on or otherwise requires it)
imx-gpu-viv PROVIDES virtual/libgles2 but was skipped: incompatible with machine apalis-imx8 (not in COMPATIBLE_MACHINE)
gpulib PROVIDES virtual/libgles2 but was skipped: incompatible with machine apalis-imx8 (not in COMPATIBLE_MACHINE)
imx-gpu-viv PROVIDES virtual/libgles2 but was skipped: missing required distro feature 'wayland' (not in DISTRO_FEATURES)
NOTE: Runtime target 'qtbase' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['qtbase', 'virtual/libgles2']
ERROR: Required build target 'torizon-core-docker' has no buildable providers.
Missing or unbuildable dependency chain was: ['torizon-core-docker', 'qtbase', 'virtual/libgles2']
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
By the way, more details on the current environment, you can find here:
Build Configuration:
BB_VERSION = "1.44.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-tdx-linux"
MACHINE = "apalis-imx8"
DISTRO = "torizon"
DISTRO_VERSION = "0.0.0-devel-20200427130523+build.0"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta-toradex-torizon = "HEAD:8f527be635a889afc03f209c03573bcf9a6e7f8e"
meta-toradex-distro = "HEAD:d2f191046b0481a73d178a8b189ce2e2ac2926f9"
meta-toradex-bsp-common = "HEAD:c61542ba4b1cf250459cc2e68e8739902492c613"
meta-oe
meta-networking
meta-filesystems
meta-python
meta-perl = "HEAD:9d5f00ab18e37b9f58d9e8971a37621c595311d7"
meta-virtualization = "HEAD:2bba10be28d4d7ce45d78a8429caaa6952785901"
meta-updater = "HEAD:177081df3a793ee0e028b33bd416cdff97eee471"
meta-toradex-nxp = "HEAD:77838d06a7e27b9cc0d9d572d0924a562a634862"
meta-freescale = "HEAD:6ca16f44b8a2d148e74cf9c1a2eb8790e0bb0d51"
meta-freescale-3rdparty = "HEAD:bd63e443199e1eaa31962761d447e3fd0fac528d"
meta-yocto-bsp
meta-poky = "HEAD:6f73b728e2e5ad88c7b923ce30a0fdbe747a4ee1"
meta-security = "HEAD:98a6664408f17560549b94f575e058ed84dd6a0d"
meta-lmp-base = "HEAD:3f8596beab50fd502b911426f3cec70d38ff7c51"
meta = "HEAD:ff074f495dd4bb637618f790dd30e51e542cd30a"
Having realized hours in Internet research about this problem, it seems that the apalis IMX8 is not supported by now.
Although I have found a patch from June 2018 (https://patchwork.openembedded.org/patch/151975/), which carries about the IMX8 support, it is not part of the torizon manifest… I am wondering why…
Obviously, as there are some commercial images and toolchains holding qt5, there is a way to go…
So my questions are
- How can I succeed
in building the image? - Is this patch
the way to go? - How can I apply this
patch? - How to deal with the errors
printed?
Thank you very much for your help.
Kindest regards,
Marcus