Linux Yocto为抢占构建

Linux Yocto为抢占构建,linux,beagleboneblack,yocto,bitbake,preempt-rt,Linux,Beagleboneblack,Yocto,Bitbake,Preempt Rt,我正在为beaglebone black构建一个自定义内核。遵循本指南()我能够使用基本映像成功引导到控制台 当我尝试使用命令构建实时内核补丁时: bitbake core-image-rt 我收到以下错误消息: Loading cache: 100% |###############################| ETA: 00:00:00 Loaded 1222 entries from dependency cache. Parsing recipes: 100% |#######

我正在为beaglebone black构建一个自定义内核。遵循本指南()我能够使用基本映像成功引导到控制台

当我尝试使用命令构建实时内核补丁时:

bitbake core-image-rt
我收到以下错误消息:

Loading cache: 100% |###############################| ETA:  00:00:00
Loaded 1222 entries from dependency cache.
Parsing recipes: 100% |#############################| Time: 00:00:00
Parsing of 862 .bb files complete (861 cached, 1 parsed). 1221 targets, 61 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for virtual/kernel (linux-yocto, linux-dummy)
NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/kernel
ERROR: Nothing PROVIDES 'linux-yocto-rt' (but /home/ste/yocto/poky/meta/recipes-rt/images/core-image-rt.bb DEPENDS on or otherwise requires it)
ERROR: linux-yocto-rt was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
ERROR: linux-yocto-rt was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
ERROR: linux-yocto-rt was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
ERROR: Required build target 'core-image-rt' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-rt', 'linux-yocto-rt']
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
我在自述文件中应用了这些建议(或者认为我已经应用了…):

但仍然会收到相同的错误消息。
有没有人在使用Yocto构建实时内核方面取得过成功?
在任何地方都找不到这方面的最终过程。

我能够通过在build/conf/local.conf中添加以下内容来构建核心映像rt

PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
COMPATIBLE_MACHINE_beaglebone = "beaglebone"
COMPATIBLE_MACHINE_quilt-native = "beaglebone"

我可以使用此选项使构建成功,但映像无法启动:-(你连接到串行控制台了吗?在u-boot运行内核后,你有没有得到内核输出或者什么都没有?没有,没有连接,我需要一根电缆看起来我的/boot文件夹是空的,里面应该有一个uImage文件内核配置看起来不错…如果有机会,我明天会尝试运行它。当然要得到一根电缆n如果你解决了这个问题,你肯定会再次需要它(即使使用不同的板)。
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
COMPATIBLE_MACHINE_beaglebone = "beaglebone"
COMPATIBLE_MACHINE_quilt-native = "beaglebone"