[oe] How does OE determine the kernel version that gets build?

Khem Raj raj.khem at gmail.com
Wed Jul 8 00:13:44 UTC 2009


On Tuesday 07 July 2009 03:13:56 pm Lars Holowko wrote:
> Hi everybody,
> 
> I am working with an Atmel AT91SAM9G20-EK evaluation board. I was able
> to successfully build the console-image and the default 2.6.28 kernel
> for it.
> 
> Now I want to switch to a 2.6.30 kernel (for better wireless support)
> but bitbake linux or bitbake console-image always builds 2.6.28 instead.
> I copied a defconfig to recipies/linux/linux-2.6.30/at91sam9g20ek,
> copied the AT91 patches for 2.6.30 in its place and added a
> DEFAULT_PREFERENCE_at91sam9g20ek = "30" line to
> recipies/linux/linux_2.6.30.bb hoping to make the 2.6.30 kernel active.
> 
> I can build a running kernel 2.6.30 with bitbake -b
> recipies/linux/linux_2.6.30.bb.
> 
> Funnily there is no DEFAULT_PREFERENCE_at91sam9g20ek line in
> recipies/linux/linux_2.6.28.bb and its DEFAULT_PREFERENCE = "-1" so I do
> not even understand why that kernel gets chosen at all.


because in conf/machine/at91sam9g20ek.conf it says it wants 2.6.28

PREFERRED_VERSION_linux = "2.6.28"

change that and it should pick whatever you chose instead of 2.6.28

Khem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090707/b5e68d5f/attachment-0002.sig>


More information about the Openembedded-devel mailing list