* Compiling custom kernel
@ 2017-03-29 17:11 Alvaro Garcia
2017-03-29 17:32 ` Leonardo Sandoval
2017-03-29 18:23 ` Bruce Ashfield
0 siblings, 2 replies; 5+ messages in thread
From: Alvaro Garcia @ 2017-03-29 17:11 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 1227 bytes --]
Hi, I'm trying to compile a custom kernel (just custom config).
I created a recipe called linux-yocto in my layer:
meta-test
-recipes-test
--linux-yocto
---linux-yocto.bbapend
---files
----enable_various_options.cfg
The content of the linux-yocto.bbapend is:
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://enable_various_options.cfg"
And the content of enable_various_options.cfg is:
CONFIG_DRM_NOUVEAU=y
The way I generated enable_various_options.cfg was
bitbake -c menuconfig virtual/kernel
Select my configuration
bitbake -c devshell virtual/kernel
diff of the original .config and the new one.
I just followed the instructions here
https://lists.yoctoproject.org/pipermail/yocto/2014-June/020174.html
and here
https://software.intel.com/sites/default/files/m/4/d/8/5/8/42868-11__Developing_Kernel_Module_on_Yocto.pdf
Then I run bitbake core-image-x11
I got this warning:
WARNING:
/home/amacho/poky/meta/recipes-kernel/linux/linux-yocto_4.4.bb.do_kernel_configme
is tainted from a forced run
but the kernel is not compiled with the new config (I do md5 to vmlinuz and
was exactly the same).
Can you help me to find the way I can compile this kernel?
Thank you
[-- Attachment #2: Type: text/html, Size: 1547 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Compiling custom kernel
2017-03-29 17:11 Compiling custom kernel Alvaro Garcia
@ 2017-03-29 17:32 ` Leonardo Sandoval
2017-03-30 12:13 ` Alvaro Garcia
2017-03-29 18:23 ` Bruce Ashfield
1 sibling, 1 reply; 5+ messages in thread
From: Leonardo Sandoval @ 2017-03-29 17:32 UTC (permalink / raw)
To: Alvaro Garcia; +Cc: yocto
On Wed, 2017-03-29 at 19:11 +0200, Alvaro Garcia wrote:
> Hi, I'm trying to compile a custom kernel (just custom config).
> I created a recipe called linux-yocto in my layer:
> meta-test
> -recipes-test
> --linux-yocto
> ---linux-yocto.bbapend
you may need to include the kernel version to your bbappend
(linux-yocto_4.4.bappend)
> ---files
> ----enable_various_options.cfg
>
> The content of the linux-yocto.bbapend is:
>
> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> SRC_URI += "file://enable_various_options.cfg"
>
> And the content of enable_various_options.cfg is:
> CONFIG_DRM_NOUVEAU=y
>
> The way I generated enable_various_options.cfg was
> bitbake -c menuconfig virtual/kernel
> Select my configuration
> bitbake -c devshell virtual/kernel
> diff of the original .config and the new one.
> I just followed the instructions here
> https://lists.yoctoproject.org/pipermail/yocto/2014-June/020174.html
> and here
> https://software.intel.com/sites/default/files/m/4/d/8/5/8/42868-11__Developing_Kernel_Module_on_Yocto.pdf
>
> Then I run bitbake core-image-x11
> I got this warning:
> WARNING: /home/amacho/poky/meta/recipes-kernel/linux/linux-yocto_4.4.bb.do_kernel_configme is tainted from a forced run
> but the kernel is not compiled with the new config (I do md5 to
> vmlinuz and was exactly the same).
>
> Can you help me to find the way I can compile this kernel?
>
> Thank you
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Compiling custom kernel
2017-03-29 17:32 ` Leonardo Sandoval
@ 2017-03-30 12:13 ` Alvaro Garcia
0 siblings, 0 replies; 5+ messages in thread
From: Alvaro Garcia @ 2017-03-30 12:13 UTC (permalink / raw)
To: Leonardo Sandoval; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 1929 bytes --]
Hi, that was exactly my problem. Finally the kernel was compiled with my
config. I'm so happy now, thank you!
2017-03-29 19:32 GMT+02:00 Leonardo Sandoval <
leonardo.sandoval.gonzalez@linux.intel.com>:
> On Wed, 2017-03-29 at 19:11 +0200, Alvaro Garcia wrote:
> > Hi, I'm trying to compile a custom kernel (just custom config).
> > I created a recipe called linux-yocto in my layer:
> > meta-test
> > -recipes-test
> > --linux-yocto
> > ---linux-yocto.bbapend
>
> you may need to include the kernel version to your bbappend
> (linux-yocto_4.4.bappend)
>
>
> > ---files
> > ----enable_various_options.cfg
> >
> > The content of the linux-yocto.bbapend is:
> >
> > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > SRC_URI += "file://enable_various_options.cfg"
> >
> > And the content of enable_various_options.cfg is:
> > CONFIG_DRM_NOUVEAU=y
> >
> > The way I generated enable_various_options.cfg was
> > bitbake -c menuconfig virtual/kernel
> > Select my configuration
> > bitbake -c devshell virtual/kernel
> > diff of the original .config and the new one.
> > I just followed the instructions here
> > https://lists.yoctoproject.org/pipermail/yocto/2014-June/020174.html
> > and here
> > https://software.intel.com/sites/default/files/m/4/d/8/5/
> 8/42868-11__Developing_Kernel_Module_on_Yocto.pdf
> >
> > Then I run bitbake core-image-x11
> > I got this warning:
> > WARNING: /home/amacho/poky/meta/recipes-kernel/linux/linux-
> yocto_4.4.bb.do_kernel_configme is tainted from a forced run
> > but the kernel is not compiled with the new config (I do md5 to
> > vmlinuz and was exactly the same).
> >
> > Can you help me to find the way I can compile this kernel?
> >
> > Thank you
> >
> >
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>
>
>
[-- Attachment #2: Type: text/html, Size: 3087 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compiling custom kernel
2017-03-29 17:11 Compiling custom kernel Alvaro Garcia
2017-03-29 17:32 ` Leonardo Sandoval
@ 2017-03-29 18:23 ` Bruce Ashfield
2017-03-30 12:15 ` Alvaro Garcia
1 sibling, 1 reply; 5+ messages in thread
From: Bruce Ashfield @ 2017-03-29 18:23 UTC (permalink / raw)
To: Alvaro Garcia, yocto
On 2017-03-29 1:11 PM, Alvaro Garcia wrote:
> Hi, I'm trying to compile a custom kernel (just custom config).
> I created a recipe called linux-yocto in my layer:
> meta-test
> -recipes-test
> --linux-yocto
> ---linux-yocto.bbapend
> ---files
> ----enable_various_options.cfg
>
> The content of the linux-yocto.bbapend is:
>
> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> SRC_URI += "file://enable_various_options.cfg"
>
> And the content of enable_various_options.cfg is:
> CONFIG_DRM_NOUVEAU=y
Assuming that you do have your bbappend created properly
(i.e. with the version number suggestion that was sent) a
configuration option cannot always be blanket enabled. If there
are missing dependencies for that option, it won't make it into
the final .config.
So it is worth checking that all dependencies are also included
in that same .cfg.
Bruce
>
> The way I generated enable_various_options.cfg was
> bitbake -c menuconfig virtual/kernel
> Select my configuration
> bitbake -c devshell virtual/kernel
> diff of the original .config and the new one.
> I just followed the instructions here
> https://lists.yoctoproject.org/pipermail/yocto/2014-June/020174.html
> and here
> https://software.intel.com/sites/default/files/m/4/d/8/5/8/42868-11__Developing_Kernel_Module_on_Yocto.pdf
>
> Then I run bitbake core-image-x11
> I got this warning:
> WARNING:
> /home/amacho/poky/meta/recipes-kernel/linux/linux-yocto_4.4.bb.do_kernel_configme
> is tainted from a forced run
> but the kernel is not compiled with the new config (I do md5 to vmlinuz
> and was exactly the same).
>
> Can you help me to find the way I can compile this kernel?
>
> Thank you
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Compiling custom kernel
2017-03-29 18:23 ` Bruce Ashfield
@ 2017-03-30 12:15 ` Alvaro Garcia
0 siblings, 0 replies; 5+ messages in thread
From: Alvaro Garcia @ 2017-03-30 12:15 UTC (permalink / raw)
To: Bruce Ashfield; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 1997 bytes --]
Hi, thank you for your answer. Looks like I got no missing dependencies and
it compiled without problems.
2017-03-29 20:23 GMT+02:00 Bruce Ashfield <bruce.ashfield@windriver.com>:
> On 2017-03-29 1:11 PM, Alvaro Garcia wrote:
>
>> Hi, I'm trying to compile a custom kernel (just custom config).
>> I created a recipe called linux-yocto in my layer:
>> meta-test
>> -recipes-test
>> --linux-yocto
>> ---linux-yocto.bbapend
>> ---files
>> ----enable_various_options.cfg
>>
>> The content of the linux-yocto.bbapend is:
>>
>> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>> SRC_URI += "file://enable_various_options.cfg"
>>
>> And the content of enable_various_options.cfg is:
>> CONFIG_DRM_NOUVEAU=y
>>
>
> Assuming that you do have your bbappend created properly
> (i.e. with the version number suggestion that was sent) a
> configuration option cannot always be blanket enabled. If there
> are missing dependencies for that option, it won't make it into
> the final .config.
>
> So it is worth checking that all dependencies are also included
> in that same .cfg.
>
> Bruce
>
>
>
>> The way I generated enable_various_options.cfg was
>> bitbake -c menuconfig virtual/kernel
>> Select my configuration
>> bitbake -c devshell virtual/kernel
>> diff of the original .config and the new one.
>> I just followed the instructions here
>> https://lists.yoctoproject.org/pipermail/yocto/2014-June/020174.html
>> and here
>> https://software.intel.com/sites/default/files/m/4/d/8/5/8/
>> 42868-11__Developing_Kernel_Module_on_Yocto.pdf
>>
>> Then I run bitbake core-image-x11
>> I got this warning:
>> WARNING:
>> /home/amacho/poky/meta/recipes-kernel/linux/linux-yocto_4.4.
>> bb.do_kernel_configme
>> is tainted from a forced run
>> but the kernel is not compiled with the new config (I do md5 to vmlinuz
>> and was exactly the same).
>>
>> Can you help me to find the way I can compile this kernel?
>>
>> Thank you
>>
>>
>>
>>
>>
>
[-- Attachment #2: Type: text/html, Size: 3061 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-03-30 12:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-29 17:11 Compiling custom kernel Alvaro Garcia
2017-03-29 17:32 ` Leonardo Sandoval
2017-03-30 12:13 ` Alvaro Garcia
2017-03-29 18:23 ` Bruce Ashfield
2017-03-30 12:15 ` Alvaro Garcia
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.