1

iam New to the Yocto and i trying to build RT iamge with yocto.

using ubuntu version :20.04

yocto branch: thud

And i built minimal image kernel version.

VERSION = 4

PATCHLEVEL = 14

SUBLEVEL = 112

But unable to find patch-4.14.112-rtXX.patch patch in this path to make it RT image: (https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/)

issue: 1.How to find what kernal version will build by bitbake before giving "bitbake core-image-minimal" command?(because some of the rt patches are not present in above link and while applying, version of patches should match..?)

2.How to apply PREEMPT_RT patches?

Referred Document: https://archive.fosdem.org/2018/schedule/event/rt_linux_with_yocto/attachments/slides/2684/export/events/attachments/rt_linux_with_yocto/slides/2684/Yocto_RT.pdf

In above pdf till Building minimal image steps were completed.

1 Answers1

0
  1. To know the yocto kernel version you are using, just type bitbake -e virtual/kernel | grep "^PV"

  2. You need to use linux-yocto-rt kenrel instead linux-yocto. You can do this by editing conf/local.conf:

    PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"

kluszon
  • 375
  • 5
  • 19