what's the ideal procedure to follow after changing dts file in provided imx8mp yocto bsp

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

what's the ideal procedure to follow after changing dts file in provided imx8mp yocto bsp

ソリューションへジャンプ
1,840件の閲覧回数
devds
Contributor III

Hello NXP community,

Could you please let me know what's the ideal steps to follow to submit changes done to dts file of yocto bsp (version: LF6.6.3_1.0.0) of imx8mp evk.

0 件の賞賛
返信
1 解決策
1,822件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @devds!
Thank you for contacting NXP Support!

You can refer to the next community post on how to compile a device tree using devshell under Yocto.

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-Devshell-to-compile-device-tr...


Best Regards!
Chavira

元の投稿で解決策を見る

5 返答(返信)
1,823件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @devds!
Thank you for contacting NXP Support!

You can refer to the next community post on how to compile a device tree using devshell under Yocto.

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-Devshell-to-compile-device-tr...


Best Regards!
Chavira

1,803件の閲覧回数
devds
Contributor III

Hello,

After dts compilation and deployment, usually i used to do bitbake imx-image-full and after flash the new .wic file to microSD card and insert into imx8mp-evk and boot it,

Is it necessary to build image after dts change ?

What's are the ideal steps to follow after compiling and deploying device tree so that changes are flashed into hardware(imx8mp-evk).

thanks in advance

0 件の賞賛
返信
1,787件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @devds!

If you compile the entire image after the compilation of the device tree the image generated is updated.

If you compile the image before the device tree changes I recommend creating a new yocto project to be sure that the changes in the device tree are done.

And answering the question, is not necessary to compile the kernel image again but please ensure that you are using the same version.

To flash only a new device tree you can use the command fat_write under uuu tool to flash the new device tree under the fat partition of the board.

After all, you have to update your environment variable "fdtfile" to the new name of the device tree under U-boot.


Best Regards!

Chavira

1,722件の閲覧回数
devds
Contributor III

Hello @Chavira ,

Thanks for reply, These terms (uuu , fdtfile , fat partition etc..) are new to me. Could you please suggest a document or link where i can find more details of these procedure of flashing only changed dtb and related.

Thanks and Regards,

DineshDeevia

0 件の賞賛
返信
1,704件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @devds!

I understand!

You can refer to the next link to see all our available documentation.

https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for...

Best Regards!

Chavira

0 件の賞賛
返信