我正在使用yocto daisy生成一个新的BSP。当我构建我的镜像时,我收到了以下警告:
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
我不明白如何为内核定义我的首选提供程序。从我所读的内容来看,我只需要将其添加到meta-myLayer/conf/machine/myMachine.conf文件中即可。
我已经这样做了:
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似乎忽略了这些行。
此外,要明确的是,在build/conf/local.conf中我也正确设置了机器名称。
我需要改变其他什么才能使它工作?还是Yocto太不稳定了?