[meta-freescale] Can't select my own Kernel source

Gary Thomas samoht.yrag at gmail.com
Thu Aug 7 06:44:34 PDT 2014


On 2014-08-07 07:38, filip.ghimpeteanu at freescale.com wrote:
> Yes it is available. Also when building it shows on the prompt that my recipe
> is being baked.
>
> What do you mean by checking local.conf and machine.conf?
> I placed the <PREFERRED_PROVIDER_virtual/kernel = "linux-yocto_myproj"> in local.conf.

I think this should be
   PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-myproj"
there's a difference between "-" and "_".  Also, you could add
   PREFERRED_VERSION_linux-yocto-myproj = "3.10%"

> A snapshot of the build log:
> -------------------------------------------------------------------------------------------------------
>
> NOTE: recipe linux-yocto-myproj-3.10.17+gitAUTOINC+db725c88c7-r1: task do_kernel_link_vmlinux: Started
> NOTE: recipe linux-yocto-myproj-3.10.17+gitAUTOINC+db725c88c7-r1: task do_compile_kernelmodules: Started
> NOTE: recipe linux-yocto-myproj-3.10.17+gitAUTOINC+db725c88c7-r1: task do_uboot_mkimage: Started
> NOTE: recipe linux-yocto-myproj-3.10.17+gitAUTOINC+db725c88c7-r1: task do_uboot_mkimage: Succeeded
> NOTE: recipe linux-yocto-myproj-3.10.17+gitAUTOINC+db725c88c7-r1: task do_kernel_link_vmlinux: Succeeded
> NOTE: recipe linux-yocto-myproj-3.10.17+gitAUTOINC+db725c88c7-r1: task do_compile_kernelmodules: Succeeded
> NOTE: Running task 1827 of 1849 (ID: 88, /home/filip/YOCTO_DISK/fsl-arm-bsp/sources/meta-fsl-filip/recipes-filip/linux-yocto-myproj/linux-yocto-myproj_3.10.bb, do_strip)
> NOTE: recipe linux-yocto-myproj-3.10.17+gitAUTOINC+db725c88c7-r1: task do_strip: Started
> -----------------------------------------------------------------------------------------------------------------------
>
> I have also attached the output in the mail.
>
> Filip.
>
> Did you try bitbake-layers show-recipes to see if your recipe is available ?
> You can also check your local.conf and machine.conf
>
>
> On 08/07/2014 02:56 PM, filip.ghimpeteanu at freescale.com wrote:
>> Hi Stephane,
>>
>> Yes I tried, but the build is done with the 3.15.0-rc2-yocto-standard
>>
>> Filip
>>
>> -----Original Message-----
>> From: scerveau [mailto:scerveau at gmail.com]
>> Sent: Thursday, August 07, 2014 3:14 PM
>> To: Ghimpeteanu Filip-B50611; meta-freescale at yoctoproject.org
>> Subject: Re: [meta-freescale] Can't select my own Kernel source
>>
>> Hello,
>>
>> Did you change your conf file with this ?
>> PREFERRED_PROVIDER_virtual/kernel = "linux-yocto_myproj"
>>
>> BR.
>>
>> Stephane
>> On 08/07/2014 12:30 PM, filip.ghimpeteanu at freescale.com wrote:
>>> Hello,
>>>
>>> I am trying to build a custom kernel from local sources.
>>> I followed the instructions described in Lab4 of Tom Zanussi's and
>>> Darren Hart's "Hands-on Project" [1], but apparently the
>>> linux-timesys recipe executes instead of mine. The resulting kernel
>>> is 3.0.15 (the one specified by the linux-timesys) instead of mine
>>> which is 3.10.17
>>>
>>> How can I tell Bitbake to use the Kernel from my local sources?
>>>
>>>
>>> This is a snapshot of my recipe:
>>> ---------------------------------------------------------------------
>>> -
>>> --------
>>> .../meta-fsl-filip/recipes-filip/linux-yocto-myproj/linux-yocto-mypro
>>> j
>>> _3.10.bb
>>> ----------------------------------------
>>>
>>> inherit kernel
>>> require recipes-kernel/linux/linux-yocto.inc
>>>
>>> SRC_URI = "git:///home/filip/YOCTO_DISK/Kernels/linux-rayleigh;protocol=file;nocheckout=1"
>>> SRC_URI += "file://defconfig"
>>>
>>> KBRANCH = "fbdcu_dev"
>>>
>>> LINUX_VERSION ?= "3.10.17"
>>> LINUX_VERSION_EXTENSION ?= "-custom"
>>>
>>> SRCREV_machine="${AUTOREV}"
>>> SRCREV="${AUTOREV}"
>>>
>>> PR = "r0"
>>> PV = "${LINUX_VERSION}+git${SRCPV}"
>>>
>>> COMPATIBLE_MACHINE = "twr-vf65gs10"
>>> ----------------------------------------
>>>
>>> [1]: http://goo.gl/MQDzw6
>>>
>>> Thank you,
>>> Ghimpeteanu Filip.
>
>
>


More information about the meta-freescale mailing list