Compiling Device Tree for QT To Boot i.MX7D

What is the recommended way to get and compile the device tree for i.MX7D for usage with the Boot2QT Stack?

I am aware of

Do I have to use the dts sources from the Boot2Qt Yocto project (I tried this but could not successful run make dtbs)?

Do I need to recompile the kernel for applying the new device tree?

During development I would recommend to checkout the kernel tree and compile just the device tree , as documented in the Build U-Boot and Linux Kernel from Source Code article. You do not have to compile the whole kernel, when you use make imx7d-colibri-eval-v3.dtb it will only compile the device tree, which will be very quick. Then copy that device on the Boot2Qt SD-card, overwriting the existing one. This allows to do multiple iterations quickly.

To integrate the changes into the OpenEmbedded Boot2Qt you will need to add a patch file and a bbappend, similar as we have done in our low power demo: meta-toradex-lpd

That did work as expected. Thanks for this very fast help!