How to add your own modified kernel code and uboot code with yocto

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

How to add your own modified kernel code and uboot code with yocto

828件の閲覧回数
zh_y
Contributor II

yocto version :fsl-yocto-L4.1.15_2.0.0-ga

linux version:4.1.15-r0

uboot version:2016.03.r0

1)  I copied the kernel and uboot code from the following two locations and made my own code changes.I wanted to know how to put the changed code into the yocto environment and then use the bitbake command to generate the file system and other required files accordingly.My server computer is not connected to the Internet

/opt/yocto/fsl-release-bsp/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/4.1.15-r0/git

&

/opt/yocto/fsl-release-bsp/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2016.03-r0/git

2)I want to recompile the kernel file, and after executing the following two statements, I am prompted with the following error.

bitbake -c cleansstate linux-imx

bitbake linux-imx

tempsnip.png

3)  Please let me know if there is any reference technical document about using yocto to modify uboot,kernel and build your own single board.

Thank you

Best regards

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

667件の閲覧回数
kunalkotecha1
Senior Contributor II

Hi zh_y,

You need to create patch for the changes you made and place them in yocto build system. Please follow below document for the same.

i.MX Yocto Project: How can I patch the kernel? 

Regards,

Kunal

0 件の賞賛