Apalis IMX8 Toradex BSP version - Yocto Linux & QT6

Hi All,

We are using apalis imx8qm with b2qt 6.3.1
I want get an information about which version to use for apalis imx8 ixora board according to support and Toradex BSP.

A bit history here for how we used b2qt.
We were using 6.3.1.
And we wanted to use LTS version and planned on switching 6.2 version.
Which goes interesting here it is not listed in the Toradex list in the following link.
And 6.2 is upgraded to 6.2.6 to 6.2.7 and it dropped support for apalis imx8.

With the point of wiev from Toradex side accounting BSP revision for apalis imx8.
6.4.3 and 6.3.2 are listed as compatible with Apalis imx8.
Main differences for 6.4.3 and 6.3.2 are yocto version
“kirkstone vs honister”,
and
"6.1.0 Toradex BSP vs
meta-toradex-nxp commit
meta-toradex-bsp-common commit "

In the following link some B2QT versions are listed as tested, partially or not.
Qt for Device Creation (Boot to Qt) | Toradex Developer Center

Thanks
Ahmet

HW model: Toradex Apalis iMX8QM V1.1 on Apalis Evaluation Board
Toradex version: 0037 V1.1C

Hi @ahmetg ,

for Boot2Qt support you would have to reach out to Qt.

Best Regards
Kevin

Hi Kevin,

Thanks for the quick reply.

I want to know what is Toradex’s point of view.

I have listed differences with respect to apalis imx8 and Toradex BSP

6.2 is not listed on Toradex b2qt list.
6.3.2 is listed and has an apalis imx8 support. We were using 6.3.1 and happy with it.
6.4.3 is new 6.4 version and added apalis imx8 support. Has a few differences with 6.3.2 that I listed in the above post.

Do you have any suggestions on the point.

Thanks a lot.
Ahmet.

Hi @ahmetg ,
Qt 6.4.3 can be integrated into our Linux BSP 6 in Yocto Project. Here are the steps.
Clone meta-qt6 in layers folder.

git clone -b 6.4.3 git://code.qt.io/yocto/meta-qt6.git

Add populate_sdk_qt6.bbclass in meta-qt6/classes

SUMMARY = "Meta package for building an installable Qt6 toolchain and SDK"

inherit populate_sdk populate_sdk_qt6_base

TOOLCHAIN_HOST_TASK:append = " nativesdk-packagegroup-qt6-toolchain-host"
TOOLCHAIN_TARGET_TASK:append = " packagegroup-qt6-modules"

FEATURE_PACKAGES_qtcreator-debug = "packagegroup-qt6-qtcreator-debug"

Create packagegroup-qt6-qtcreator-debug.bb in meta-qt6/recipes-qt/packagegroups.

SUMMARY = "Remote debugging tools for QtCreator integration"
LICENSE = "MIT"

inherit packagegroup

# Override by distro if needed
VIRTUAL-RUNTIME_qtcreator-debug-ssh-daemon ?= "openssh-sshd"

RDEPENDS:${PN} = " \
  gdbserver \
  ${VIRTUAL-RUNTIME_qtcreator-debug-ssh-daemon} \
  openssh-sftp-server \
  qtdeclarative \
"

Create packagegroup-tdx-qt6.bb in meta-toradex-demos/recipes-images/images/.

SUMMARY = "Packagegroup which provides most QT6 libraries and a QT6 demo"

PACKAGE_ARCH = "${MACHINE_ARCH}"

inherit packagegroup

PROVIDES = "${PACKAGES}"
PACKAGES += " \
  ${PN}-fonts \
  ${PN}-libs \
"

RRECOMMENDS:${PN} = " \
  ${PN}-fonts \
  ${PN}-libs \
"

SUMMARY:${PN}-fonts = "Some fonts useful for QT5"
RRECOMMENDS:${PN}-fonts = " \
  ttf-dejavu-common \
  ttf-dejavu-sans \
  ttf-dejavu-sans-mono \
  ttf-dejavu-serif \
"

SUMMARY:${PN}-libs = "QT5 libraries"
RRECOMMENDS:${PN}-libs = " \
  qt3d \
  qtbase \
  qtcharts \
  qtcoap \
  qtconnectivity \
  qtdatavis3d \
  qtdeclarative \
  qtimageformats \
  qtlottie \
  qtmqtt \
  qtmultimedia \
  qtnetworkauth \
  qtopcua \
  qtquick3d \
  qtquicktimeline \
  qtremoteobjects \
  qtscxml \
  qtsensors \
  qtserialbus \
  qtserialport \
  qtsvg \
  qttools \
  qttranslations \
  qtvirtualkeyboard \
  ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland', '', d)} \
  qtwebchannel \
  qtwebsockets \
"

Create tdx-reference-multimedia-qt6-image.bb in meta-toradex-demos/recipes-images/images/. Delete our default tdx-reference-multimedia-image.bb as well.

require tdx-reference-minimal-image.bb

SUMMARY = "Toradex Embedded Linux Reference Multimedia Image"
DESCRIPTION = "Image for BSP verification with QT and multimedia features"

inherit populate_sdk_qt6

#Prefix to the resulting deployable tarball name
export IMAGE_BASENAME = "Reference-Multimedia-Image"

IMAGE_FEATURES += " \
  ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston', \
     bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', '', d), d)} \
"

IMAGE_INSTALL += " \
  packagegroup-tdx-cli \
  packagegroup-tdx-graphical \
  packagegroup-tdx-qt6 \
  packagegroup-fsl-isp \
  \
  bash \
  coreutils \
  less \
  makedevs \
  mime-support \
  net-tools \
  util-linux \
  v4l-utils \
  \
  gpicview \
  media-files \
"

Replace meta-qt5 with meta-qt6 in build/conf/bblayers.conf. And remove unused distro feature and package from build/conf/local.conf.

DISTRO_FEATURES:remove = " directfb x11"
IMAGE_INSTALL:remove = " gpicview"

Then you can build the image by bitbake tdx-reference-multimedia-qt6-image.

Hi @ahmetg,

Do you have any news regarding this topic?