How to change source code and rebuild on Yocto Project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to change source code and rebuild on Yocto Project

Jump to solution
4,538 Views
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 Solution
2,832 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

2 Replies
2,832 Views
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.

2,833 Views
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!
-----------------------------------------------------------------------------------------------------------------------