Hello Yocto Community,

I am trying to understand how to handle (beside linux-stable) another
pre-released stream of kernels, handled ONLY by Linus.

I called it linux-torvalds. Whatever I tried last week does NOT work for me.

Let me start describing the problem.

This is the kernel recipe I am using in my meta-bbb layer, experimentally.

Here is the pointer for kernel recipe 6.10-rc1 (on the net still
visible from github):

https://github.com/ZoranStojsavljevic/meta-bbb/blob/scarthgap/recipes-kernel/linux/
https://github.com/ZoranStojsavljevic/meta-bbb/blob/scarthgap/recipes-kernel/linux/linux-torvalds_6.10.bb

Not sure from where the variable ${SRCPV} comes from (from .../poky/meta/...)?

The .../build/conf/local.conf is NOT visible from the net, but in
nutshell, here is what I have in it (important):

## Define kernel version
## SRCPV = "${@bb.fetch2.get_srcrev(d)} <<<======= Commented out -
just to remind me about this mysterious variable
## PREFERRED_PROVIDER_virtual/kernel ?= "meta-bbb"
## PREFERRED_VERSION_meta-bbb ?= "6.1.%"
PREFERRED_PROVIDER_virtual/kernel = "linux-torvalds"
PREFERRED_VERSION_meta-bbb ?= "6.10.%"

It then tries to pick up a latest linux-stable kernel 6.9.3 (talking
from the scratch/fresh bitbake), but since I have:

PREFERRED_PROVIDER_virtual/kernel = "linux-torvalds"

It fails, since it does not know the location where it needs to fetch it?!

If I make the following changes:
## PREFERRED_PROVIDER_virtual/kernel = "linux-torvalds"
PREFERRED_PROVIDER_virtual/kernel ?= "meta-bbb"
PREFERRED_VERSION_meta-bbb ?= "6.10.%"

It does fetch it correctly, but ONLY again kernel-stable 6.9.3 ???

Despite the line PREFERRED_VERSION_meta-bbb ?= "6.10.%"???

Where am I making a mistake here?

How to pick up linux-torvalds_6.10_rc1 recipe??? At least, then I can
continue forward?
_______

I just spotted it!

It seems here is the problem!?

https://github.com/ZoranStojsavljevic/meta-bbb/blob/scarthgap/conf/machine/beaglebone.conf

5 SOC_FAMILY = "ti335x"
 6 TARGET_ARCH = "arm"
 7
 8 DEFAULTTUNE ?= "cortexa8hf-neon"
 9
10 require conf/machine/include/soc-family.inc
11 require conf/machine/include/arm/armv7a/tune-cortexa8.inc
12
=======>>> 13 PREFERRED_PROVIDER_virtual/kernel = "linux-stable" <<<=======
14 #PREFERRED_PROVIDER_virtual/kernel = "ti-linux"
15 KERNEL_IMAGETYPE = "zImage"
16
17 PREFERRED_PROVIDER_virtual/bootloader = "u-boot"

Thank you,
Zee
_______
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63278): https://lists.yoctoproject.org/g/yocto/message/63278
Mute This Topic: https://lists.yoctoproject.org/mt/106482424/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to