[yocto] applying a custom kernel configuration to the "built in" routerstation pro bsp?

Bruce Ashfield bruce.ashfield at gmail.com
Wed Feb 8 19:56:09 PST 2012


On Wed, Feb 8, 2012 at 10:08 PM, David Smoot <davidsmoot at gmail.com> wrote:
> I want to change some of the kernel configuration options for my
> routerstation pro.  I have a .config from a 2.6.37 kernel running on my
> routerstation pro that was not built in Yocto that has the options I want to
> build in Yocto.  I am attempting to follow the instructions
> at http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#bsp-filelayout-kernel.
> But I am confused.
>
> Since I am using the routerstation pro, I do not have a separate BSP, it is
> "built in".  So I know I need to modify a .bbappend file to point to my
> config file, but I am not sure which bbappend where.

Built in or not .. it's all the same. Put the config items you want into a .cfg
file of the name of your choice.

In the layer of your choice, create a linux-yocto_2.6.37.bbappend file,
and list the .cfg file on the SRC_URI (just like you would any patch or other
source file). Those config items will be added to the board after the built in
options and will override anything that was previously set.

If you were working with a local git repository, you could commit the change
directly to the tree .. but it doesn't sound like you are working in that model.

Cheers,

Bruce

>
> Thanks for your time.
> David Smoot
> davidsmoot at gmail.com
>
>
>
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



More information about the yocto mailing list