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

957 次查看
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 回复

796 次查看
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 项奖励