I am working on generating a new BSP using yocto daisy. When I build my image I get these warnings:
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for virtual/kernel (my-kernel, linux-dummy)
NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/kernel
NOTE: multiple providers are available for runtime kernel-modules (my-kernel, linux-dummy)
NOTE: consider defining a PREFERRED_PROVIDER entry to match kernel-modules
I can't understand how to define my preferred provider for the kernel. From what I have read I should just need to add it to the meta-myLayer/conf/machine/myMachine.conf Which I did, as such:
KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/myTree.dtb"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
# use this kernel and version
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
PREFERRED_VERSION_linux-yocto = "3.14%"
Yocto/bitbake seem to be ignoring these lines.
Also, to be clear I also have the machine name set correctly in build/conf/local.conf
Is there something else I need to change to get this to work? Or is Yocto just that broken?
linux-yocto
, but it's saying onlymy-kernel
andlinux-dummy
are available. Are you sure you have thepoky/meta-yocto
andpoky/meta-yocto-bsp
layers added to yourbblayers.conf
? – Doane