Hello,
I would like to build an image using the mainline-kernel (5.4.x) for the Apalis IMX8 by using the Zeus branch of the yocto toolchain. What am I doing wrong here?
- repo init -u Index of /toradex-bsp-platform.git -b LinuxImage4.0
- repo sync
- . export
I’ve added PREFERRED_PROVIDER_virtual/kernel_apalis-imx8 = "linux-toradex-mainline"
to my local.conf file and set the machine to MACHINE ?= "apalis-imx8"
Running bitbake console-tdx-image
fails with the following error:
| GEN Makefile
| scripts/kconfig/conf --syncconfig Kconfig
| make[2]: *** No rule to make target 'arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis-eval.dtb'. Stop.
| /data2/toradex-zeus/build/tmp/work-shared/apalis-imx8/kernel-source/Makefile:1238: recipe for target 'freescale/fsl-imx8qm-apalis-eval.dtb' failed
| make[1]: *** [freescale/fsl-imx8qm-apalis-eval.dtb] Error 2
| /data2/toradex-zeus/build/tmp/work-shared/apalis-imx8/kernel-source/Makefile:179: recipe for target 'sub-make' failed
| make: *** [sub-make] Error 2
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/data2/toradex-zeus/build/../layers/meta-toradex-bsp-common/recipes-kernel/linux/linux-toradex-mainline_5.4.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3005 tasks of which 1083 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 20 seconds
Summary: 1 task failed:
/data2/toradex-zeus/build/../layers/meta-toradex-bsp-common/recipes-kernel/linux/linux-toradex-mainline_5.4.bb:do_compile
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.