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
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/
Please use devtool in yocto to modify source code.
https://wiki.koansoftware.com/index.php/Using_devtool_to_modify_recipes_in_Yocto