How to change source code and rebuild on Yocto Project

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to change source code and rebuild on Yocto Project

跳至解决方案
6,997 次查看
gokmenavci
Contributor II

How to change source code and rebuild on Yocto Project?

i found the imx6ul.dtsi and imx6ull.dtsi files under "/tmp/work-shared/imx6ull14x14evl/kernel-source/arch/arm/boot/dts

i changed them

but i dont know how rebuild the project

Can you help me ?

1 解答
5,291 次查看
Yuri
NXP Employee
NXP Employee

Hello,

 hope the following helps.

https://community.nxp.com/message/631516 

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

2 回复数
5,291 次查看
daiane_angolini
NXP Employee
NXP Employee

Please, clone the kernel source code from linux kernel repository (such as linux-imx.git - i.MX Linux Kernel ) checkout the proper branch and develop (or change) accordingly with your needs outside the yocto structure.

When you have the patches or the complete kernel, you can reintegrate it to the yocto, so you have the automatic linux distribution tool to work with.

The tmp folder is temporary, it sounds obvious and it is, but a lot of people really like to develop using this folder, however it's not recommended for a long term development cycle.

In order to understand a little bit more about how to work with yocto project with different roles you can take a look here:

Amazon.com: Heading for the Yocto Project eBook: Otavio Salvador, Daiane Angolini: Kindle Store 

if the book is not free today for you, you can take this also from:

GitHub - CollaborativeWritersHub/heading-for-the-yocto-project 

and PDF:

https://github.com/CollaborativeWritersHub/heading-for-the-yocto-project/releases/download/v0.1/Head... 

as it's an open sourced book.

5,292 次查看
Yuri
NXP Employee
NXP Employee

Hello,

 hope the following helps.

https://community.nxp.com/message/631516 

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------