Hi,
When I update the Yocto meta-freescale layer from zeus (latest) to hardknott (latest) I get the following error:
Loading cache: 100% |###########################################################################################################################################################################| Time: 0:00:00
Loaded 3886 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/kernel'
linux-toradex PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-boundary PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-yocto PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-yocto-tiny PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-kontron PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-yocto-rt PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-yocto-tiny PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-fslc-qoriq PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-variscite PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-fslc-imx PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-imx PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-yocto-dev PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-dummy PROVIDES virtual/kernel but was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-imx, not linux-dummy
linux-gateworks-imx PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-advantech PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-congatec PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-fslc PROVIDES virtual/kernel but was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-imx, not linux-fslc
linux-yocto-rt PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-qoriq PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-remarkable2 PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-yocto PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-toradex PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
ERROR: Required build target 'mydev-image-full-mfgtool' has no buildable providers.
Missing or unbuildable dependency chain was: ['mydev-image-full-mfgtool', 'virtual/kernel']
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
My imx7ulp-mydev.conf contains the following configuration options:
MACHINEOVERRIDES =. "mx7:mx7ulp:"
require conf/machine/include/imx-base.inc
require conf/machine/include/tune-cortexa7.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-imx"
I have checked if the COMPATIBLE_MACHINE variable has been changed in the linux-imx_5.4.bb file, but this is not the case (Kernel version was: 4.14.98, now is: 5.4). However, I noticed that the imx-base.inc file has been updated with:
IMX_DEFAULT_KERNEL_mx7ulp = "linux-imx" -> IMX_DEFAULT_KERNEL_mx7ulp = "linux-fslc-imx"
So, I tried changing the PREFERRED_PROVIDER_virtual/kernel to "linux-fslc-imx" but this does not fix the issue.
Loading cache: 100% | | ETA: --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |#########################################################################################################################################################################| Time: 0:00:49
Parsing of 2579 .bb files complete (0 cached, 2579 parsed). 3886 targets, 513 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/kernel'
linux-imx PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-yocto-tiny PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-boundary PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-yocto-dev PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-variscite PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-gateworks-imx PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-yocto-tiny PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-toradex PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-fslc-imx PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-toradex PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-yocto-rt PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-kontron PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-yocto PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-yocto PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-fslc PROVIDES virtual/kernel but was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-fslc-imx, not linux-fslc
linux-fslc-qoriq PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-yocto-rt PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-remarkable2 PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-dummy PROVIDES virtual/kernel but was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-fslc-imx, not linux-dummy
linux-advantech PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-congatec PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
linux-qoriq PROVIDES virtual/kernel but was skipped: incompatible with machine imx7ulp-mydev (not in COMPATIBLE_MACHINE)
ERROR: Required build target 'mydev-image-full-mfgtool' has no buildable providers.
Missing or unbuildable dependency chain was: ['mydev-image-full-mfgtool', 'virtual/kernel']
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
So my question is, how can I fix this? It worked on the zeus branch, but now on hardknott it does not seem to work anymore.
I have also tried adding my device to the COMPATIBLE_MACHINE arguments in the linux-imx_5.4.bb file, this then does seem to work for the kernel. However, then the virtual/libgles2, virtual/libgbm and virtual/egl recipes required by qtbase fail (also not in COMPATIBLE_MACHINE), which should be provided by the meta-freescale layer.
Thanks in advance!