Device Tree compilation error

Hello,

We have developed a carrier board, we used your dts and dtsi files as exemples to create our own device tree. When we try to compile, we have a strange error, on a file we did not touched.

make ARCH=arm CROSS-COMPILE=arm-poky-linux-gnueabi- imx6dl-myboard.dtb
DTC     arch/arm/boot/dts/imx6dl-myboard.dtb
Error: arch/arm/boot/dts/skeleton.dtsi:7.1-2 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [arch/arm/boot/dts/imx6dl-myboard.dtb] Erreur 1
make: *** [imx6dl-myboard.dtb] Erreur 2

My files are :

  • imx6dl-colibri.dtsi, a copy of imxqdl-colibri.dtsi, with some modifications (IO pins)
  • imx6dl-myboard.dts, a copy of imx6dl-colibri-cam-eval-v3.dts, with some modifications(names, okay or disabled functions)

Regards,

Pierre-Olivier Huard

Found the problem, I erased /dts-v1/; in the beginning of the dts file.