IMX8M | modify Yocto device tree

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX8M | modify Yocto device tree

95 Views
shai_b
Senior Contributor I

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
2 Replies

38 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

80 Views
Qmiller
NXP Employee
NXP Employee
0 Kudos