AnsweredAssumed Answered

Non-functional machine config for imx8mqevk

Question asked by Thomas Koeller on May 11, 2020
Latest reply on May 12, 2020 by Thomas Koeller



I am trying to build the imx8mqevk BSP using the meta-freescale layer from the yocto zeus branch. There is a machine configuration for this target in meta-freescale/conf/machine/imx8mqevk.conf, but using this file results in a compilation error when building the linux-imx_5.4 kernel recipe:


| make[2]: *** No rule to make target 'arch/arm64/boot/dts/freescale/fsl-imx8mq-evk.dtb'. Stop.
| /home/tkoeller/imx-manifest/build/tmp/work-shared/imx8mqevk-basler/kernel-source/Makefile:1243: recipe for target 'freescale/fsl-imx8mq-evk.dtb' failed
| make[1]: *** [freescale/fsl-imx8mq-evk.dtb] Error 2
| /home/tkoeller/imx-manifest/build/tmp/work-shared/imx8mqevk-basler/kernel-source/Makefile:179: recipe for target 'sub-make' failed
| make: *** [sub-make] Error 2


This is because the file name 'fsl-imx8mq-evk.dtb' is wrong, it should be 'imx8mq-evk.dtb', without the 'fsl-' prefix. The machine configuration files in the new meta-imx layer correctly reflect the device tree name changes, unfortunatly, there is no machine configuration for imx8mqevk in this layer.