Where do I put my new dts?

Hi,

I followed https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.2/cc8mmini/yocto_t_install-dey
but after
repo init -u https://github.com/digi-embedded/dey-manifest.git -b refs/tags/3.2-r3.1
I don’t find any dts files in the sources/ diorectory. I’m working with a ccimx6ulstarter and have an upgraded dts file. Where do I copy it to make sure it gets built along with bitbake core-image-base?

1 Like

build new workspace project first with default device tree, then modify it in tmp folder, aka:
vi ~/workspace/ccimx8x-sbc-pro/tmp/work-shared/ccimx8x-sbc-pro/kernel-source/arch/arm64/boot/dts/digi/ccimx8qxp-sbc-pro-wb.dts

Replace ccimx8x with the correct platform you are using
something like arch/arm/boot/dts/imx6ul-ccimx6ulstarter-id129.dts

1 Like

Thank you for this Leonid, I will try it out. But I’m still wondering where the original dts in this directory is sourced from as the tmp/ dir just gets created during the bitbake operation.

original dts get pulled from the GitHub:
https://github.com/digi-embedded/linux/tree/v5.4/dey-3.2/maint/arch/arm/boot/dts

https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.2/cc6ul/bsp_r_device-tree-files_6ul
Also in your original email you mention documentation for cc8m mini, but saying you are using cc6ul:
https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.2/cc8mmini/yocto_t_install-dey

Yes, in fact the link to ccimx8x-sbc-pro was wrong, I’m using ccimx6ulstarter.
So, as suggested, I copied the modified dts and modified the original imx6ul-ccimx6ulstarter-id129.dts. I then went back and executed bitbake core-image-base again but it seemed like it didn’t pick up the change.
So, to confirm I renamed tmp/deploy/ to tmp/deploy~/ and also renamed sstate-cache/ to sstate-cache~/ but re-invocation of bitbake core-image-base still seemed to re-use some of the cached files from the previous build. How do I get the new dts in the tmp/ compiled now?

Thanks!

>So, as suggested, I copied the modified dts and modified the original imx6ul-ccimx6ulstarter-id129.dts. I then went back and executed bitbake core-image-base again but it seemed like it didn’t pick up the change.

Yes, this is not enough. after modifying the device tree, go back to the workspace folder and do:
bitbake -c compile -f linux-dey
bitbake -C compile virtual/kernel
bitbake dey-image-qt