[yocto] Difference b/w yocto kernels and normal linux.org kernels

Khem Raj raj.khem at gmail.com
Mon Mar 9 21:33:14 PDT 2015




> On Mar 9, 2015, at 9:21 PM, Raghavendra Kakarla <Raghavendra.Kakarla at inedasystems.com> wrote:
> 
> Hi Paul Eggleton,
> I have some doubt that is ,there is any difference between the linux kernels downloaded from the yocto and that are download from the kernel.org with same version number?
> Can you please clarify the my doubt.
> 

Yocto project provides a reference kernel called linux-yocto hosted at https://git.yoctoproject.org/ search for "Yocto Linux Kernel”
you will find the trees for various versions. The root of linux-yocto is linux-stable from kernel.org. Then there are device specific branches where the reference BSPs are using to build the reference kernel. So yes there are differences where linux-yocto might have back ported or forward ported patches to get a given machine working on a given kernel version. On top it has its own tooling to help you create kernel build infrastructure for new machine that you might be working on.
there is extensive documentation and training on developing with linux-yocto as kernel. The branches eg.

https://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.19/refs/heads

However the OE infrastructure ( which yocto project uses for its build system), does not bind you to use linux-yocto, infact it provides base classes which help you to write your own recipes for kernel you would like to have. So you can very well you a different kernel.

> Thanks and Regards,
> Raghavendra Kakarla__________________________________
> ______
> From: Raghavendra Kakarla
> Sent: Tuesday, March 3, 2015 5:47 PM
> To: Paul Eggleton
> Cc: yocto at yoctoproject.org
> Subject: RE: SDK generation issue
> 
> Hi Paul Eggleton,
> 
> Shall i get any API information in the generated SDK documents.
> 
> Regards,
> Raghavendra.
> ________________________________________
> From: Paul Eggleton <paul.eggleton at linux.intel.com>
> Sent: Tuesday, March 3, 2015 5:40 PM
> To: Raghavendra Kakarla
> Cc: yocto at yoctoproject.org
> Subject: Re: SDK generation issue
> 
> Assuming you built the SDK you had installed with "doc-pkgs" in
> SDKIMAGE_FEATURES, they would be in the target sysroot i.e.
> <sdk-install-dir>/sysroots/<your-machine-arch>/usr/share/doc/
> 
> On Tuesday 03 March 2015 11:55:22 Raghavendra Kakarla wrote:
>> Hi Paul Eggleton,
>> 
>> Where can i get the documents generated by the yocto sdk.
>> 
>> Regards,
>> Raghavendra.
>> ________________________________________
>> From: Raghavendra Kakarla
>> Sent: Tuesday, March 3, 2015 3:56 PM
>> To: Paul Eggleton
>> Cc: yocto at yoctoproject.org
>> Subject: RE: SDK generation issue
>> 
>> Hi Paul Eggleton,
>> 
>> Thank you for your response.
>> 
>> Now my issue is resolved.
>> 
>> I have some doubts on yocto-sdk. Can you please clarify them.
>> 
>> When i Built SDK for YOCTO, I am getting a cross compilation tool chain.
>> With which i am able to build the applications for my platform. I wanted to
>> confirm, whether SDK means  a toolchain to build the applications or is
>> there something more (such as documentation, libraries, etc generated for
>> our platform)
>> 
>> Regards,
>> Raghavendra.
>> 
>> From: Paul Eggleton <paul.eggleton at linux.intel.com>
>> Sent: Tuesday, March 3, 2015 3:07 PM
>> To: Raghavendra Kakarla
>> Cc: yocto at yoctoproject.org
>> Subject: Re: SDK generation issue
>> 
>> On Tuesday 03 March 2015 05:41:43 Raghavendra Kakarla wrote:
>>> I am generated the yocto SDK using the yocto sdk script "bitbake
>>> core-image-minimal -c populate_sdk" command. With this command I am able
>>> to
>>> generte the installation script file and .manifest file.
>>> 
>>> I run the installation script file. After running installation script file
>>> it propts that following message:
>>> 
>>> Extracting SDK...done
>>> Setting it up...done
>>> SDK has been successfully set up and is ready to be used.
>>> 
>>> 
>>> After this i run the ".
>>> /opt/poky/1.7/environment-setup-mips32rel-poky-linux" and echo $PATH i got
>>> the correct path.
>>> 
>>> After this i built wrote a small example and try to build with the sdk
>>> generated toolchain by running following command:
>>> 
>>> mipsel-poky-linux-gcc test.c
>> 
>> Use $CC instead of running the compiler directly so that you get the correct
>> options.
>> 
>> Cheers,
>> Paul
>> 
>> 
>> --
>> 
>> Paul Eggleton
>> Intel Open Source Technology Centre
> 
> --
> 
> Paul Eggleton
> Intel Open Source Technology Centre
> -- 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




More information about the yocto mailing list