After installation of L4T, device tree is in ‘hardware’ directory. Installed the device tree compiler in board, then try to compile the device tree tegra186-quill-p3310-1000-c03-00-base.dts file and got the error as
tegra186-quill-p3310-1000-c03-00-base.dts:16.1-2 Syntax error
FATAL ERROR:“Unable to parse input tree”.
What is the reason for this.
Did you use “Linux_for_Tegra/sources/hardware/nvidia/platform/t18x/quill/kernel-dts/tegra186-quill-p3310-1000-c03-00-base.dts”? This file has comments and structure for including in C source code, so it isn’t purely device tree…this is included with the dtbs target of a kernel compile (during compile the C parts get processed and converted to purely device tree).
Note that one thing this file has is an include directive for another dts file…so this is only a subset of the final file.