IMX8M | modify Yocto device tree

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

IMX8M | modify Yocto device tree

5,667 Views
shai_b
Senior Contributor II

Dear team,

My customer would like to find the location of the imx8m device tree source (DTS) in order to modify a few parameters.

1. Could you please advise where the source code of these files are located?

2. What is the best way to compile only the device tree and add the complied file (DTB) into u-boot?

Wating for your kind feedback, many thanks.

KR,

Shai

 

0 Kudos
Reply
2 Replies

5,610 Views
karl1688
Contributor II

Use "bitbake linux-imx -c devshell" open a new terminal, the path for example

<local build folder>/tmp/work-shared/imx8mp-lpddr4-evk/kernel-source

 

Change dts file in <local build folder>/tmp/work/imx8mp_lpddr4_evk-poky-linux/linux-imx/5.15.32+gitAUTOINC+fa6c316859-r0/git/arch/arm64/boot/dts/freescale/

 

Then do "make dtbs" in new terminal, the new dtb general in <local build folder>/tmp/work/imx8mp_lpddr4_evk-poky-linux/linux-imx/5.15.32+gitAUTOINC+fa6c316859-r0/build/arch/arm64/boot/dts/freescale/

0 Kudos
Reply

5,652 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport
0 Kudos
Reply