how to compile and flash device tree on Tx2 4G

hello,
I follow the NVIDIA Tegra Linux Driver Package Development Guide 32.2 Release to develop the camera device tree on TX2 4G module.
I can not find the line "#include tegra194-camera-plugin-manager.dtsi"and the line “#include tegra194-p2822-camera-modules.dtsi” in the section Using the Main Platform Device Tree File.But i find them in the file <tegra194-p2888-0001-p2822-0000.dts>,i can not ascertain it is ok if i remove the two lines and replace with my #include statement in it.
How should i specify the DTSI file in the main platform device tree file.

Hi,

tegra194 is xavier but not TX2 (tegra186). Please clarify if any mistake in your question.

I realized that I was mistaken. I want to know how to program the device tree file separately on the TX2 4G module.
When I modified the device tree file, copy the compiled tegra186-quill-p3489-0888-a00-00-base.dtb to the Linux_for_Tegra/kernel/dtb directory, and then pass the command: sudo ./flash -r -k kernel -dtb jetson-tx2-4G mmcblk0p1 burned into the TX2 4G module, but I found that it didn’t work, I don’t know what went wrong.

#include <t18x-common-platforms/tegra186-quill-common-p3489-1000-a00.dtsi>
#include <t18x-common-platforms/tegra186-quill-power-tree-p3489-1000-a00-00.dtsi>
//#include <t18x-common-platforms/tegra186-quill-camera-modules.dtsi>
#include <t18x-common-modules/tegra186-display-e3320-1000-a00.dtsi>

/* comms dtsi file should be included after gpio dtsi file */
#include <t18x-common-plugin-manager/tegra186-quill-p3489-1000-a00-plugin-manager.dtsi>
#include <t18x-common-modules/tegra186-super-module-e2614-p2597-1000-a00.dtsi>
#include <t18x-common-plugin-manager/tegra186-quill-display-plugin-manager.dtsi>
#include <t18x-common-prod/tegra186-priv-quill-p3489-1000-a00-prod.dtsi>
//#include <t18x-common-plugin-manager/tegra186-quill-camera-plugin-manager.dtsi>

I commented out two lines in tegra186-quill-p3489-1000-a00-00-base.dts, but I can still see the video0 node under /dev.

Hi,

Please be careful of the file name

I commented out two lines in tegra186-quill-p3489-1000-a00-00-base.dts, but I can still see the video0 node under /dev.

When I modified the device tree file, copy the compiled tegra186-quill-p3489-0888-a00-00-base.dtb

Sounds that you modify the wrong dts file here.