Linux Kernel Configuration + Yocto

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Linux Kernel Configuration + Yocto

2,638件の閲覧回数
Mark_Clark
Contributor I

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.

ラベル(3)
0 件の賞賛
返信
3 返答(返信)

2,614件の閲覧回数
Mark_Clark
Contributor I

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.

0 件の賞賛
返信

2,611件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

2,618件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信