On 10/26/24 15:59, חיים בכר wrote:
Hi and what if the recipe is linux-xlnx then set PREFFERED_PROVIDER_virtual/kernel = “linux-xlnx-rt”?

By the way what the different between linux-yocto and linux-xlnx?


linux-yocto (and its -rt variant) is the default kernel coming with Yocto. linux-xlnx comes from Xilinx, with their own modifications, and looking at meta-xilinx layer, there doesn't seem to be a recipe with the RT patch available.

If you are not using the default kernel, then possibly the simplest would be to create a bbappend for your kernel recipe, where you add the patch's uri to SRC_URI (assuming it applies cleanly on the vendor's kernel still), e.g:

SRC_URILappend = " https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.15/older/patch-5.15.36-rt41.patch.gz";

After fetching the source bitbake will extract the patch and apply it automatically before compiling.

(If the patch doesn't apply on the xlnx kernel, then maybe Xilinx support has some extra info on this? Adapting that patch could be a non-trivial task)
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64141): https://lists.yoctoproject.org/g/yocto/message/64141
Mute This Topic: https://lists.yoctoproject.org/mt/109223260/21656
Mute #honister:https://lists.yoctoproject.org/g/yocto/mutehashtag/honister
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to