I have built the image for kirkstone and need to tweak the kernel configuration.
I have reviewed this documentation:
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-change-Linux-Kernel-configuration...
The patch it creates does not seem to work when copied.
I need to add and remove some kernel features. I have been able to edit the imx_v7_defconfig that yocto uses and accomplish this but that seems like the wrong way to go about it and would rather leave the NXP supplied sources alone.
Any advice would be appreciated.
Thanks for your response. Wouldn't it be better to create a new defconfig based off imx_v7_defconfig (what the default for this arch appears to be... imx.solo) and point to that (my_new_defconfig) instead? I have tried doing this as well in the linux_imx meta area but it is overridden by something that I cannot find. I need something that I can check into git and check out on a build machine for repeatable builds.
Hi @Mark_Clark!
You can do that too.
You can follow the links below for an alternative of how to patch a Yocto Project:
https://wiki.yoctoproject.org/wiki/TipsAndTricks/Patching_the_source_for_a_recipe
Best Regards!
Chavira
Hi @Mark_Clark!
Thank you for contacting NXP Support!
If you have the patch created you can download our Yocto Project and then use the command "bitbake -c devshell virtual/kernel".
After that, you can see a new shell with the source code of the kernel and you can apply your patches.
After that, you can compile the entire image or only compile and deploy the kernel
To compile an image: "bitbake <image_name>"
To compile and deploy the kernel: "bitbake -c compile virtual kernel" and "bitbake -c deploy virtual kernel"
Best Regards!
Chavira