-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extends kernel configuration #14
Comments
Hi. I was under the impression that we fixed this in the past by adding support for yocto config fragments. I haven't tested it in a while but I did it now and indeed it seems broken. We use the make oldconfig because we use a defconfig from the kernel tree repository. |
@agherzan I encountered this issue too. I cannot change the kernel config using the fragments cfg files(https://github.com/jumpnow/meta-rpi/issues/2). I found there is a patch about it: https://lists.yoctoproject.org/pipermail/yocto/2015-August/026101.html, can we merge it? |
Ran into the same problem. Lost about a day trying to figure out why the patch works but the config is flatly ignored. Eventually applied the patch above and it appears to be the perfect solution. |
I'm not quite sure, bit it seems that the fragments are applied within the kernel_configme task (see kernel-yocto.inc addtask kernel_configme before do_configure after do_patch) before do_configure. The do_configure of the linux-rpi.inc clears the complete .config in order to create a new one so all changes applied by the fragments are gone. |
I'm also struggling with this, I want to add some support for can devices from my custom layers but changes from kernel fragments are ignored, any plan to support fragments for configuring kernel? |
There were some patches in the mailing list in this regards. If anyone has a little bit of time, a PR would be great. |
Hi all, I tried the patches on the mailing list and extended for RPI3. I will put in a PR once it works, however, it doesn't seem to work fully, and I wondered if I could get some help? I get a QA error that the /lib folder is not shipped. I can't see why the patches from https://lists.yoctoproject.org/pipermail/yocto/2015-August/026101.html would cause that issue as they don't seem to include changes to the FILES_ variables, and my fragment is compiling in kernel features rather than adding modules. Any pointers as to how to debug this would be great, then I can finish the PR. Apologies in advance, I am relatively new to yocto and new to the meta-raspberrypi layer custom kernel config stuff |
@agherzan, @giraldeau, @andig75 : Can this be closed now? Looks like the pull request above has been merged and should resolve this. |
Yes. I personally tested this lately. Works just fine. |
This doesn't work for me. I'm trying to enable It looks like that that |
@mardy yes |
@kraj Thanks for confirming that. Do you know then what is the bitbake step which should move the config file in |
I found out the problem: my fragment contained Sorry for the noise! :-) |
The bitbake build process configures the kernel using .cfg files. However, the meta-raspberrypi linux-rpi.inc creates a config file and calls make oldconfig. Is there a reason why the configuration is done this way? What would be the prefered way to extends the kernel configuration with additional parameters?
Thanks!
The text was updated successfully, but these errors were encountered: