[linux-yocto] Integrating with Yocto Build environment

Darren Hart dvhart at linux.intel.com
Wed Aug 21 10:53:41 PDT 2013


On Tue, 2013-08-20 at 00:10 +0530, Manish Sharma wrote:
> Ok... I will try to explain more.
> I learnt about Yocto Project pretty recently and its flexibility to
> create customized embedded linux image by including additional
> software pieces. 
> I have a small piece of software.. (multiple c files including user
> space and kernel space, makefile based compilation framework). 
> Although it seems my content would be a BSP layer (not 100% sure
> though) but all I am attempting is to integrate my software into Yocto
> Project such that when I build a Yocto image, it should compile my
> software as well. 
> And ultimately my software would be a part of the created image.
> And all I know that I need to use layers for this.
> 
> 
> I am still to learn beyond this and need guidance.. 

This is not a BSP layer, this is just a general software layer. A BSP
layer defines a machine and machine-specific software (like bootloaders
or proprietary graphics drivers).

I believe your question, unless I'm missing something as to why this is
Linux kernel related, would be better directed at the yocto mailing
list.

--
Darren

> 
> 
> 
> 
> Regards
> Manish Sharma 
> 
> 
> 
> 
> 
> 
> 
> 
> On Mon, Aug 19, 2013 at 8:50 PM, Bruce Ashfield
> <bruce.ashfield at windriver.com> wrote:
>         On 13-08-19 04:58 AM, Manish Sharma wrote:
>                 Actually my requirement is to compile my user & kernel
>                 source (C source
>                 code) as a layer in Yocto (using whatever toolchain
>                 yocto uses) so that
>                 the resulting image should have my binaries (both user
>                 and kernel
>                 level). And I can directly invoke them on my will.
>         
>         
>         Define "invoke". What you are describing sounds like a typical
>         scenario
>         where you add a BSP layer, that builds a kernel and
>         usrspace .. and
>         you boot it. Are you describing something else ?
>         
>         Bruce
>         
>                 
>                 I had started with yocto build appliance VM but ran
>                 into issues majorly
>                 because 'eth' interfaces are not coming up on that VM
>                 hence no network!
>                 I have now installed a Cent OS machine with poky and
>                 other required
>                 packages. Follwing the dev-manual to create a layer,
>                 place source and
>                 build the image.
>                 Kindly suggest if I am missing any of the steps
>                 required to achieve my
>                 objective?
>                 Any guidance would be helpful in this case..
>                 
>                 Regards
>                 Manish Sharma
>                 
>                 
>                 On Mon, Aug 19, 2013 at 1:35 PM, Iorga, Cristian
>                 
>                 <cristian.iorga at intel.com
>                 <mailto:cristian.iorga at intel.com>> wrote:
>                 
>                     Do you want your Linux kernel module to be
>                 integrated into the BA VM
>                     kernel or to be built by the BA YP toolchain
>                 inside the BA??
>                 
>                     Regards,
>                     Cristian Iorga
>                 
>                     -----Original Message-----
>                     From: linux-yocto-bounces at yoctoproject.org
>                     <mailto:linux-yocto-bounces at yoctoproject.org>
>                 
>                     [mailto:linux-yocto-bounces at yoctoproject.org
>                     <mailto:linux-yocto-bounces at yoctoproject.org>] On
>                 Behalf Of Bruce
>                     Ashfield
>                     Sent: Wednesday, August 14, 2013 5:04 PM
>                     To: Development list for the linux-yocto*.git
>                 Linux kernel repositories
>                     Cc: Manish Sharma
>                     Subject: Re: [linux-yocto] Integrating with Yocto
>                 Build environment
>                 
>                     On 13-08-14 02:38 AM, Manish Sharma wrote:
>                      > Hi,
>                      >
>                      >    I am planning to integrate my linux kernel
>                 module into Yocto such
>                      > that whenever I create a Yocto image, my module
>                 too gets built in.
>                      > I read about Yocto Build Appliance VM. Does
>                 this VM contain all the
>                      > required toolchain, sysroots, headers etc
>                 required for build
>                     exercise?
>                      > Or  is there any way to achieve this?
>                 
>                     The build appliance should contain everything you
>                 need to configure
>                     and build an image that compiles an out of tree
>                 module and installs
>                     it to the image.
>                 
>                     Cheers,
>                 
>                     Bruce
>                 
>                      >
>                      > Thanks and Regards
>                      > Manish Sharma
>                      >
>                      >
>                      >
>                      >
>                      > _______________________________________________
>                      > linux-yocto mailing list
>                 
>                      > linux-yocto at yoctoproject.org
>                 <mailto:linux-yocto at yoctoproject.org>
>                 
>                      >
>                 https://lists.yoctoproject.org/listinfo/linux-yocto
>                      >
>                 
>                     _______________________________________________
>                     linux-yocto mailing list
>                 
>                     linux-yocto at yoctoproject.org
>                 <mailto:linux-yocto at yoctoproject.org>
>                 
>                 
>                 https://lists.yoctoproject.org/listinfo/linux-yocto
>                 
>                 
>                 
>                 
>                 _______________________________________________
>                 linux-yocto mailing list
>                 linux-yocto at yoctoproject.org
>                 https://lists.yoctoproject.org/listinfo/linux-yocto
>                 
>                 
>         
> 
> 
> _______________________________________________
> linux-yocto mailing list
> linux-yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/linux-yocto

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel





More information about the linux-yocto mailing list