Dunfell, apalix-imx6 and vivante

Hello,
I am trying to build an image with yocto dunfell for an Apalis-IMX6.

My intention is to use the vivante driver with Qt (eglfs), because I have noticed that etnaviv has a lower performance.

When I add “imx-gpu-viv” in my image recipe I get the following error:
imx-gpu-viv was skipped: incompatible with machine apalis-imx6 (not in COMPATIBLE_MACHINE).

What is the reason for this?

Is it no longer possible to use vivante with Apalis-IMX6?

In local.conf I have the variable MACHINE=“apalis-imx6”

Hi @LordXor !

For the tdx-xwayland non-upstream distro variants, the Vivante driver is the default for iMX6 modules that has GPU.

The selection of the imx-gpu-viv also depends on the machine configuration. For Apalis iMX6 it is the layers/meta-freescale-3rdparty/conf/machine/apalis-imx6.conf, which requires layers/meta-freescale/conf/machine/include/imx-base.inc, that is responsible for the “magic”.

So, if you select DISTRO="tdx-xwayland" and MACHINE="apalis-imx6", you will build an image that has Vivante.

Please refer to the following article:

Does it help you?

Best regards,

Thank you @henrique.tx!

Now it’s working fine!

But now, when booting it is showing SPDIF error messages for a few seconds and then continues the boot process normally.

It is booting from a USB Pendrive.

[ 1.264226] usb usb1-port1: over-current condition
[ 1.696532] imx6q-pcie 1ffc000.pcie: failed to initialize host
[ 1.702376] imx6q-pcie 1ffc000.pcie: unable to add pcie port.
[ 1.945130] debugfs: Directory ‘2028000.ssi’ with parent ‘imx6q-apalis-sgtl5000’ already present!
[ 1.962439] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517
[ 2.148487] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517
[ 2.304949] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517
[ 2.463179] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517
[ 2.803393] imx-spdif sound-spdif: ASoC: failed to init link S/PDIF PCM: -517

Hi @LordXor !

Great to know that you were able to build your image :slight_smile:

But since this last problem is a different one, could you please create a new question?

And please mark the suitable message as the solution as well.

Best regards,