Hi Matt,
On 11/11/24 12:35 PM, Matt via lists.yoctoproject.org wrote:
You don't often get email from matt.holmes=zethon....@lists.yoctoproject.org. Learn
why this is important<https://aka.ms/LearnAboutSenderIdentification>
Hi,
I am trying to make a kernel patch on spidev.c to fix a known issue in linux
6.6. I have written the patch and I can see that it is applied in my build/tmp
files however it is not functioning on the image.
My patch method is to create a recipes-kernel/linux directory in a custom
layer, create a linux-libc-headers_6.6.bbappend file and create a /poky
directory for the patch files.
linux-libc-headers only contains header files and you should REALLY not
modify it, c.f. the big comment at the top here
https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
What you need to do is find out which Linux kernel recipe is actually
used for your system(s). I believe something like bitbake-getvar -r
virtual/kernel PN may help. Somewhere should
PREFERRED_PROVIDER_virtual/kernel be set for your board, that would be
the name of the recipe. If you have multiple versions for that recipe,
you may have PREFERRED_VERSION_virtual/kernel or
PREFERRED_VERSION_<nameofrecipe>. If there is no PREFERRED_VERSION_,
then it depends on the layer priorities and all, so a bit of error and
trials should help identify which recipe really is built for your system(s).
Then you should add that patch to that recipe instead.
Cheers,
Quentin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64250): https://lists.yoctoproject.org/g/yocto/message/64250
Mute This Topic: https://lists.yoctoproject.org/mt/109512881/21656
Mute #kernel:https://lists.yoctoproject.org/g/yocto/mutehashtag/kernel
Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux
Mute #patch:https://lists.yoctoproject.org/g/yocto/mutehashtag/patch
Mute #scarthgap:https://lists.yoctoproject.org/g/yocto/mutehashtag/scarthgap
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-