Re: How to select Linux kernel version?
Quentin Schulz
Hi Jupiter,
On Fri, Jan 08, 2021 at 02:03:47PM +1100, Jupiter wrote: Thanks Quentin, here are results:[...]So we can stop half guessing and help you can you give us the output of:bitbake -e virtual/kernel | grep -e "^PREFERRED_PROVIDER_"$ bitbake -e virtual/kernel | grep -e "^PREFERRED_PROVIDER_" PREFERRED_PROVIDER_virtual/kernel="linux-yocto"[...] Not sure this will fly nicely (the kernel headers being older than yourbitbake -e virtual/kernel | grep -e "^PREFERRED_VERSION_"$ bitbake -e virtual/kernel | grep -e "^PREFERRED_VERSION_" kernel). Otherwise ok. And here we have the winner :)bitbake -e virtual/kernel | grep -e "^OVERRIDES="$ bitbake -e virtual/kernel | grep -e "^OVERRIDES=" You don't have a 5.10 linux-yocto recipe so obviously bitbake can't compile it. Now, I don't know why 4.19 is taken and not 5.2. I quickly looked into both recipes and didn't find a DEFAULT_PREFERENCE (c.f. https://docs.yoctoproject.org/ref-manual/variables.html?highlight=preference#term-DEFAULT_PREFERENCE). So, can you tell us how you created your 5.10 recipe and where you put it (the filename, the path in the layer, is it in a new layer? if yes, did you add it to bblayers.conf? etc...). Quentin |
|